View Issue Details
|ID||Project||Category||View Status||Date Submitted||Last Update|
|0000438||file||General||public||2023-04-03 12:00||2023-05-21 17:13|
|Platform||M1 Macbook Pro||OS||MacOS||OS Version||13.3 (22E252)|
|Fixed in Version||HEAD|
|Summary||0000438: Some Apple QuickTime videos not recognised by file 5.44|
|Description||Using the MacOS Image Capture utility, specifically Image Capture Version 8.0 (1106), importing 'live' photos and regular movies from an iPhone 14 Pro using iOS 16 results in QuickTime .MOV files.|
About 75% of these videos are recognised as 'video/quicktime' when using 'file --mime-type video.mov'. These videos contain atoms 'ftyp', 'wide', 'mdat' and 'moov' in that order.
However, about 25% of the video files don't have the 'ftyp' atom, they just have 'wide', 'mdat' and 'moov', in that order. In these cases 'file --mime-type video.mov' identifies the video files as 'application/octet-stream'. Using exiftool, it can be seen that the 'MIME type' tag in these files is indeed 'video/quicktime'.
.MOV files from earlier versions of iOS don't seem to have this issue, presumably a change in iOS is responsible for the different .MOV file content.
|Steps To Reproduce||Use Image Capture to import a few dozen 'live' photos and videos from an iPhone running iOS 16.|
Use the command 'file --mime-type *.MOV' in the directory where the files are stored and observe the output on the command-line.
(Unfortunately all my .MOV files with this content are larger than 2,048KiB so I can't upload one to demonstrate.)
|Additional Information||There is already a test for the 'wide' atom in source file ./magic/Magdir/animation 1.87, at line 21. Uncommenting lines 21 and 22 in that file, and using file's -m command-line option to use the modified magic file(s), file recognises the video files as 'video/quicktime'.|
|2023-04-03 12:00||Touchstone64||New Issue|
|2023-04-03 12:00||Touchstone64||Tag Attached: QuickTime|
|2023-05-21 17:13||christos||Assigned To||=> christos|
|2023-05-21 17:13||christos||Status||new => assigned|
|2023-05-21 17:13||christos||Status||assigned => resolved|
|2023-05-21 17:13||christos||Resolution||open => fixed|
|2023-05-21 17:13||christos||Fixed in Version||=> HEAD|
|2023-05-21 17:13||christos||Note Added: 0003935|