Opened 7 years ago
Closed 4 years ago
#7277 closed defect (fixed)
Unexpected mov aspect because of movie display matrix
Reported by: | Ian Kennedy | Owned by: | |
---|---|---|---|
Priority: | important | Component: | avformat |
Version: | git-master | Keywords: | mov aspect regression |
Cc: | Blocked By: | ||
Blocking: | Reproduced by developer: | yes | |
Analyzed by developer: | yes |
Description (last modified by )
The media in question pixel aspect is 1:1 and DAR is 16:9. It is super vanilla.
VLC and MediaInfo detect the aspect ratio correctly.
Report log:
Command line:
ffprobe.exe BogusAspect.mov -report ffprobe version 4.0 Copyright (c) 2007-2018 the FFmpeg developers built with gcc 7.3.0 (GCC) configuration: --enable-gpl --enable-version3 --enable-sdl2 --enable-bzlib --enable-fontconfig --enable-gnutls --enable-iconv --enable-libass --enable-libbluray --enable-libfreetype --enable-libmp3lame --enable-libopencore-amrnb --enable-libopencore-amrwb --enable-libopenjpeg --enable-libopus --enable-libshine --enable-libsnappy --enable-libsoxr --enable-libtheora --enable-libtwolame --enable-libvpx --enable-libwavpack --enable-libwebp --enable-libx264 --enable-libx265 --enable-libxml2 --enable-libzimg --enable-lzma --enable-zlib --enable-gmp --enable-libvidstab --enable-libvorbis --enable-libvo-amrwbenc --enable-libmysofa --enable-libspeex --enable-libxvid --enable-libaom --enable-libmfx --enable-amf --enable-ffnvcodec --enable-cuvid --enable-d3d11va --enable-nvenc --enable-nvdec --enable-dxva2 --enable-avisynth libavutil 56. 14.100 / 56. 14.100 libavcodec 58. 18.100 / 58. 18.100 libavformat 58. 12.100 / 58. 12.100 libavdevice 58. 3.100 / 58. 3.100 libavfilter 7. 16.100 / 7. 16.100 libswscale 5. 1.100 / 5. 1.100 libswresample 3. 1.100 / 3. 1.100 libpostproc 55. 1.100 / 55. 1.100 [NULL @ 0000025f49eceac0] Opening 'BogusAspect.mov' for reading [file @ 0000025f49ecf380] Setting default whitelist 'file,crypto' [mov,mp4,m4a,3gp,3g2,mj2 @ 0000025f49eceac0] Format mov,mp4,m4a,3gp,3g2,mj2 probed with size=2048 and score=100 [mov,mp4,m4a,3gp,3g2,mj2 @ 0000025f49eceac0] ISO: File Type Major Brand: qt [mov,mp4,m4a,3gp,3g2,mj2 @ 0000025f49eceac0] Unknown dref type 0x73696c61 size 12 [mov,mp4,m4a,3gp,3g2,mj2 @ 0000025f49eceac0] sample aspect ratio already set to 13039:15595, ignoring 'pasp' atom (1:1) [mov,mp4,m4a,3gp,3g2,mj2 @ 0000025f49eceac0] sample aspect ratio already set to 13039:15595, ignoring 'pasp' atom (1:1) [mov,mp4,m4a,3gp,3g2,mj2 @ 0000025f49eceac0] sample aspect ratio already set to 13039:15595, ignoring 'pasp' atom (1:1) [mov,mp4,m4a,3gp,3g2,mj2 @ 0000025f49eceac0] Processing st: 0, edit list 0 - media time: 0, duration: 61758000 [mov,mp4,m4a,3gp,3g2,mj2 @ 0000025f49eceac0] Unknown dref type 0x73696c61 size 12 [mov,mp4,m4a,3gp,3g2,mj2 @ 0000025f49eceac0] Processing st: 1, edit list 0 - media time: 0, duration: 123639516 [mov,mp4,m4a,3gp,3g2,mj2 @ 0000025f49eceac0] Unknown dref type 0x73696c61 size 12 [mov,mp4,m4a,3gp,3g2,mj2 @ 0000025f49eceac0] Processing st: 2, edit list 0 - media time: 0, duration: 123639516 [mov,mp4,m4a,3gp,3g2,mj2 @ 0000025f49eceac0] Unknown dref type 0x73696c61 size 12 [mov,mp4,m4a,3gp,3g2,mj2 @ 0000025f49eceac0] Processing st: 3, edit list 0 - media time: 0, duration: 123639516 [mov,mp4,m4a,3gp,3g2,mj2 @ 0000025f49eceac0] Unknown dref type 0x73696c61 size 12 [mov,mp4,m4a,3gp,3g2,mj2 @ 0000025f49eceac0] Processing st: 4, edit list 0 - media time: 0, duration: 123639516 [mov,mp4,m4a,3gp,3g2,mj2 @ 0000025f49eceac0] Unknown dref type 0x73696c61 size 12 [mov,mp4,m4a,3gp,3g2,mj2 @ 0000025f49eceac0] Processing st: 5, edit list 0 - media time: 0, duration: 123639516 [mov,mp4,m4a,3gp,3g2,mj2 @ 0000025f49eceac0] Unknown dref type 0x73696c61 size 12 [mov,mp4,m4a,3gp,3g2,mj2 @ 0000025f49eceac0] Processing st: 6, edit list 0 - media time: 0, duration: 123639516 [mov,mp4,m4a,3gp,3g2,mj2 @ 0000025f49eceac0] Unknown dref type 0x73696c61 size 12 [mov,mp4,m4a,3gp,3g2,mj2 @ 0000025f49eceac0] Processing st: 7, edit list 0 - media time: 0, duration: 123639516 [mov,mp4,m4a,3gp,3g2,mj2 @ 0000025f49eceac0] Unknown dref type 0x73696c61 size 12 [mov,mp4,m4a,3gp,3g2,mj2 @ 0000025f49eceac0] Processing st: 8, edit list 0 - media time: 0, duration: 123639516 [mov,mp4,m4a,3gp,3g2,mj2 @ 0000025f49eceac0] Unknown dref type 0x73696c61 size 12 [mov,mp4,m4a,3gp,3g2,mj2 @ 0000025f49eceac0] Processing st: 9, edit list 0 - media time: 0, duration: 61758000 [mov,mp4,m4a,3gp,3g2,mj2 @ 0000025f49eceac0] Before avformat_find_stream_info() pos: 59671826860 bytes read:878841 seeks:7 nb_streams:10 [mov,mp4,m4a,3gp,3g2,mj2 @ 0000025f49eceac0] All info found [mov,mp4,m4a,3gp,3g2,mj2 @ 0000025f49eceac0] After avformat_find_stream_info() pos: 1177232 bytes read:2058489 seeks:8 frames:377 Input #0, mov,mp4,m4a,3gp,3g2,mj2, from 'BogusAspect.mov': Metadata: major_brand : qt minor_version : 537199360 compatible_brands: qt creation_time : 2018-06-20T22:34:19.000000Z com.apple.finalcutstudio.media.uuid: 9670529C-3E93-41DC-A758-14DC19F2B770 com.apple.quicktime.player.movie.audio.gain: 1.000000 com.apple.quicktime.player.movie.audio.treble: 0.000000 com.apple.quicktime.player.movie.audio.bass: 0.000000 com.apple.quicktime.player.movie.audio.balance: 0.000000 com.apple.quicktime.player.movie.audio.pitchshift: 0.000000 com.apple.quicktime.player.movie.audio.mute: com.apple.quicktime.player.movie.visual.brightness: 0.000000 com.apple.quicktime.player.movie.visual.color: 1.000000 com.apple.quicktime.player.movie.visual.tint: 0.000000 com.apple.quicktime.player.movie.visual.contrast: 1.000000 com.apple.quicktime.player.version: 7.6.6 (7.6.6) com.apple.quicktime.version: 7.7.3 (2890.9) 0x7738000 (Mac OS X, 10.10.5, 14F1605) Duration: 00:42:55.83, start: 0.000000, bitrate: 185328 kb/s Stream #0:0(eng), 1, 1/23976: Video: prores (apch / 0x68637061), yuv422p10le(bt709, progressive), 1920x1080, 176063 kb/s, SAR 13039:15595 DAR 208624:140355, 23.98 fps, 23.98 tbr, 23976 tbn, 23976 tbc (default) Metadata: rotate : 0 creation_time : 2018-06-20T22:34:19.000000Z handler_name : Apple Alias Data Handler encoder : Apple ProRes 422 HQ timecode : 00:59:59:00 Side data: displaymatrix: rotation of -0.00 degrees Stream #0:1(eng), 47, 1/48000: Audio: pcm_s24le (in24 / 0x34326E69), 48000 Hz, 1 channels (FL), s32 (24 bit), 1152 kb/s (default) Metadata: rotate : 0 creation_time : 2018-06-20T22:34:19.000000Z handler_name : Apple Alias Data Handler Stream #0:2(eng), 47, 1/48000: Audio: pcm_s24le (in24 / 0x34326E69), 48000 Hz, 1 channels (FR), s32 (24 bit), 1152 kb/s (default) Metadata: rotate : 0 creation_time : 2018-06-20T22:34:19.000000Z handler_name : Apple Alias Data Handler Stream #0:3(eng), 47, 1/48000: Audio: pcm_s24le (in24 / 0x34326E69), 48000 Hz, mono, s32 (24 bit), 1152 kb/s (default) Metadata: rotate : 0 creation_time : 2018-06-20T22:34:19.000000Z handler_name : Apple Alias Data Handler Stream #0:4(eng), 47, 1/48000: Audio: pcm_s24le (in24 / 0x34326E69), 48000 Hz, 1 channels (LFE), s32 (24 bit), 1152 kb/s (default) Metadata: rotate : 0 creation_time : 2018-06-20T22:34:19.000000Z handler_name : Apple Alias Data Handler Stream #0:5(eng), 47, 1/48000: Audio: pcm_s24le (in24 / 0x34326E69), 48000 Hz, 1 channels (BL), s32 (24 bit), 1152 kb/s (default) Metadata: rotate : 0 creation_time : 2018-06-20T22:34:19.000000Z handler_name : Apple Alias Data Handler Stream #0:6(eng), 47, 1/48000: Audio: pcm_s24le (in24 / 0x34326E69), 48000 Hz, 1 channels (BR), s32 (24 bit), 1152 kb/s (default) Metadata: rotate : 0 creation_time : 2018-06-20T22:34:19.000000Z handler_name : Apple Alias Data Handler Stream #0:7(eng), 47, 1/48000: Audio: pcm_s24le (in24 / 0x34326E69), 48000 Hz, 1 channels (DL), s32 (24 bit), 1152 kb/s (default) Metadata: rotate : 0 creation_time : 2018-06-20T22:34:19.000000Z handler_name : Apple Alias Data Handler Stream #0:8(eng), 47, 1/48000: Audio: pcm_s24le (in24 / 0x34326E69), 48000 Hz, 1 channels (DR), s32 (24 bit), 1152 kb/s (default) Metadata: rotate : 0 creation_time : 2018-06-20T22:34:19.000000Z handler_name : Apple Alias Data Handler Stream #0:9(eng), 0, 1/23976: Data: none (tmcd / 0x64636D74), SAR 13039:15595 DAR 0:0 (default) Metadata: rotate : 0 creation_time : 2018-06-20T22:56:32.000000Z handler_name : Apple Alias Data Handler timecode : 00:59:59:00 Unsupported codec with id 0 for input stream 9 [AVIOContext @ 0000025f49ed7e40] Statistics: 2058489 bytes read, 8 seeks
Attachments (1)
Change History (15)
comment:1 by , 7 years ago
comment:3 by , 7 years ago
Resolution: | → needs_more_info |
---|---|
Status: | new → closed |
This ticket looks important (could be a regression) but a fix seems impossible without a sample.
comment:4 by , 7 years ago
Description: | modified (diff) |
---|
comment:5 by , 7 years ago
Resolution: | needs_more_info |
---|---|
Status: | closed → reopened |
https://www.dropbox.com/s/mhml5ycoe1ukj3d/WeirdAspect.zip?dl=0
Here is the first and last 500MB of the file in question. If that is not enough, I will provide the entire thing. Sorry for the delay.
comment:7 by , 7 years ago
Ok, I will upload. I was hoping the first and last bit would be enough to dig out the atoms for analysis.
I'm pushing it to my dropbox. It will take a while.
comment:8 by , 7 years ago
Why don’t you tell us the exact file size?
Note that this would save both of us a lot of time.
by , 7 years ago
Attachment: | strange_aspect_cut.mov added |
---|
comment:9 by , 7 years ago
Keywords: | mov aspect regression added |
---|---|
Priority: | normal → important |
Reproduced by developer: | set |
Status: | reopened → open |
Version: | unspecified → git-master |
I was able to guess the size;-)
Looks like a regression since 7010ebdf1ff7514fa505ff166fb60ce762a46b8b
comment:10 by , 7 years ago
Summary: | FFPROBE/MPEG reports incorrect aspect ratio from MOV files → Unexpected mov aspect because of movie display matrix |
---|
For future tickets: Please always test current FFmpeg git head and do not report issues against ffprobe
(or ffplay
) if they are reproducible with ffmpeg
.
follow-up: 12 comment:11 by , 7 years ago
Sorry about the size misunderstanding. FWIW (I see you guessed it) it's: 59,671,826,876 bytes
Let me know if you need the full file.
comment:12 by , 7 years ago
Replying to ianken:
Sorry about the size misunderstanding. FWIW (I see you guessed it) it's: 59,671,826,876 bytes
Let me know if you need the full file.
Thank you for not uploading the full file;-)
It was a very good idea to provide the beginning and the end of the file, while the file-names of the parts allowed to guess the size, it is still a good idea to confirm it.
comment:14 by , 4 years ago
Analyzed by developer: | set |
---|---|
Resolution: | → fixed |
Status: | open → closed |
This got fixed in 918273aa3eb721323ec2de37a39ad8ce9f4dcfb7.
Please provide a sample.