#2719(undetermined:new): SAR and DAR the same for anamorphic? Incorrect?
#2719: SAR and DAR the same for anamorphic? Incorrect? -------------------------------------+------------------------------------- Reporter: flamingspew | Type: defect Status: new | Priority: normal Component: | Version: undetermined | unspecified Keywords: | Blocked By: Blocking: | Reproduced by developer: 0 Analyzed by developer: 0 | -------------------------------------+------------------------------------- Summary of the bug: SAR and DAR are incorrect How to reproduce: Please see question on stack overflow: http://stackoverflow.com/questions/17353387/how-to-detect-anamorphic- video-with-ffprobe {{{ -print_format json -show_format -show_streams {originalFilePath} ffprobe version N-54233-g86190af built on Jun 27 2013 }}} "Output{ \"streams\": [ { \"index\": 0, \"codec_name\": \"h264\", \"codec_long_name\": \"H.264/AVC/MPEG-4AVC/MPEG-4part10\", \"profile\": \"Main\", \"codec_type\": \"video\", \"codec_time_base\": \"1/5994\", \"codec_tag_string\": \"avc1\", \"codec_tag\": \"0x31637661\", \"width\": 1280, \"height\": 720, \"has_b_frames\": 0, \"sample_aspect_ratio\": \"0: 1\", \"display_aspect_ratio\": \"0: 1\", \"pix_fmt\": \"yuv420p\", \"level\": 31, \"r_frame_rate\": \"2997/100\", \"avg_frame_rate\": \"2997/100\", \"time_base\": \"1/2997\", \"start_pts\": 0, \"start_time\": \"0.000000\", \"duration_ts\": 204100, \"duration\": \"68.101435\", \"bit_rate\": \"3894381\", \"nb_frames\": \"2041\", \"disposition\": { \"default\": 0, \"dub\": 0, \"original\": 0, \"comment\": 0, \"lyrics\": 0, \"karaoke\": 0, \"forced\": 0, \"hearing_impaired\": 0, \"visual_impaired\": 0, \"clean_effects\": 0, \"attached_pic\": 0 }, \"tags\": { \"creation_time\": \"2013-05-0318: 33: 37\", \"language\": \"eng\", \"handler_name\": \"AppleAliasDataHandler\" } }, { \"index\": 1, \"codec_name\": \"aac\", \"codec_long_name\": \"AAC(AdvancedAudioCoding)\", \"codec_type\": \"audio\", \"codec_time_base\": \"1/44100\", \"codec_tag_string\": \"mp4a\", \"codec_tag\": \"0x6134706d\", \"sample_fmt\": \"fltp\", \"sample_rate\": \"44100\", \"channels\": 2, \"bits_per_sample\": 0, \"r_frame_rate\": \"0/0\", \"avg_frame_rate\": \"0/0\", \"time_base\": \"1/44100\", \"start_pts\": 0, \"start_time\": \"0.000000\", \"duration_ts\": 3003392, \"duration\": \"68.104127\", \"bit_rate\": \"125304\", \"nb_frames\": \"2933\", \"disposition\": { \"default\": 0, \"dub\": 0, \"original\": 0, \"comment\": 0, \"lyrics\": 0, \"karaoke\": 0, \"forced\": 0, \"hearing_impaired\": 0, \"visual_impaired\": 0, \"clean_effects\": 0, \"attached_pic\": 0 }, \"tags\": { \"creation_time\": \"2013-05-0318: 33: 37\", \"language\": \"eng\", \"handler_name\": \"AppleAliasDataHandler\" } } ], \"format\": { \"filename\": \"\\\\\\\\dell690\\\\vsf\\\\_asset_intake\\\\v2\\\\ed69c939-4fe1-40dd-a045-db72ed2e0009\\\\original\\\\USTC_Overview2.mov\", \"nb_streams\": 2, \"format_name\": \"mov, mp4, m4a, 3gp, 3g2, mj2\", \"format_long_name\": \"QuickTime/MOV\", \"start_time\": \"0.000000\", \"duration\": \"68.100000\", \"size\": \"34267583\", \"bit_rate\": \"4025560\", \"tags\": { \"major_brand\": \"qt\", \"minor_version\": \"537199360\", \"compatible_brands\": \"qt\", \"creation_time\": \"2013-05-0318: 33: 37\" } } }" -- Ticket URL: <https://ffmpeg.org/trac/ffmpeg/ticket/2719> FFmpeg <http://ffmpeg.org> FFmpeg issue tracker
#2719: SAR and DAR the same for anamorphic? Incorrect? -------------------------------------+------------------------------------- Reporter: flamingspew | Owner: Type: defect | Status: new Priority: normal | Component: Version: unspecified | undetermined Keywords: | Resolution: Blocking: | Blocked By: Analyzed by developer: 0 | Reproduced by developer: 0 -------------------------------------+------------------------------------- Comment (by flamingspew): Here is a link to a test video that seems anamorphic. http://foreverscape.com/anamorphic_test.mov -- Ticket URL: <https://ffmpeg.org/trac/ffmpeg/ticket/2719#comment:1> FFmpeg <http://ffmpeg.org> FFmpeg issue tracker
#2719: SAR and DAR the same for anamorphic? Incorrect? -------------------------------------+------------------------------------- Reporter: flamingspew | Owner: Type: defect | Status: new Priority: normal | Component: Version: unspecified | undetermined Keywords: | Resolution: Blocking: | Blocked By: Analyzed by developer: 0 | Reproduced by developer: 0 -------------------------------------+------------------------------------- Comment (by cehoyos): Why do you think that what ffprobe shows is incorrect? -- Ticket URL: <https://ffmpeg.org/trac/ffmpeg/ticket/2719#comment:2> FFmpeg <http://ffmpeg.org> FFmpeg issue tracker
#2719: SAR and DAR the same for anamorphic? Incorrect? -------------------------------------+------------------------------------- Reporter: flamingspew | Owner: Type: defect | Status: new Priority: normal | Component: Version: unspecified | undetermined Keywords: | Resolution: Blocking: | Blocked By: Analyzed by developer: 0 | Reproduced by developer: 0 -------------------------------------+------------------------------------- Description changed by cehoyos: Old description:
Summary of the bug: SAR and DAR are incorrect How to reproduce: Please see question on stack overflow: http://stackoverflow.com/questions/17353387/how-to-detect-anamorphic- video-with-ffprobe
{{{ -print_format json -show_format -show_streams {originalFilePath} ffprobe version N-54233-g86190af built on Jun 27 2013 }}}
"Output{ \"streams\": [ { \"index\": 0, \"codec_name\": \"h264\", \"codec_long_name\": \"H.264/AVC/MPEG-4AVC/MPEG-4part10\", \"profile\": \"Main\", \"codec_type\": \"video\", \"codec_time_base\": \"1/5994\", \"codec_tag_string\": \"avc1\", \"codec_tag\": \"0x31637661\", \"width\": 1280, \"height\": 720, \"has_b_frames\": 0, \"sample_aspect_ratio\": \"0: 1\", \"display_aspect_ratio\": \"0: 1\", \"pix_fmt\": \"yuv420p\", \"level\": 31, \"r_frame_rate\": \"2997/100\", \"avg_frame_rate\": \"2997/100\", \"time_base\": \"1/2997\", \"start_pts\": 0, \"start_time\": \"0.000000\", \"duration_ts\": 204100, \"duration\": \"68.101435\", \"bit_rate\": \"3894381\", \"nb_frames\": \"2041\", \"disposition\": { \"default\": 0, \"dub\": 0, \"original\": 0, \"comment\": 0, \"lyrics\": 0, \"karaoke\": 0, \"forced\": 0, \"hearing_impaired\": 0, \"visual_impaired\": 0, \"clean_effects\": 0, \"attached_pic\": 0 }, \"tags\": { \"creation_time\": \"2013-05-0318: 33: 37\", \"language\": \"eng\", \"handler_name\": \"AppleAliasDataHandler\" } }, { \"index\": 1, \"codec_name\": \"aac\", \"codec_long_name\": \"AAC(AdvancedAudioCoding)\", \"codec_type\": \"audio\", \"codec_time_base\": \"1/44100\", \"codec_tag_string\": \"mp4a\", \"codec_tag\": \"0x6134706d\", \"sample_fmt\": \"fltp\", \"sample_rate\": \"44100\", \"channels\": 2, \"bits_per_sample\": 0, \"r_frame_rate\": \"0/0\", \"avg_frame_rate\": \"0/0\", \"time_base\": \"1/44100\", \"start_pts\": 0, \"start_time\": \"0.000000\", \"duration_ts\": 3003392, \"duration\": \"68.104127\", \"bit_rate\": \"125304\", \"nb_frames\": \"2933\", \"disposition\": { \"default\": 0, \"dub\": 0, \"original\": 0, \"comment\": 0, \"lyrics\": 0, \"karaoke\": 0, \"forced\": 0, \"hearing_impaired\": 0, \"visual_impaired\": 0, \"clean_effects\": 0, \"attached_pic\": 0 }, \"tags\": { \"creation_time\": \"2013-05-0318: 33: 37\", \"language\": \"eng\", \"handler_name\": \"AppleAliasDataHandler\" } } ], \"format\": { \"filename\": \"\\\\\\\\dell690\\\\vsf\\\\_asset_intake\\\\v2\\\\ed69c939-4fe1-40dd-a045-db72ed2e0009\\\\original\\\\USTC_Overview2.mov\", \"nb_streams\": 2, \"format_name\": \"mov, mp4, m4a, 3gp, 3g2, mj2\", \"format_long_name\": \"QuickTime/MOV\", \"start_time\": \"0.000000\", \"duration\": \"68.100000\", \"size\": \"34267583\", \"bit_rate\": \"4025560\", \"tags\": { \"major_brand\": \"qt\", \"minor_version\": \"537199360\", \"compatible_brands\": \"qt\", \"creation_time\": \"2013-05-0318: 33: 37\" } } }"
New description: Summary of the bug: SAR and DAR are incorrect How to reproduce: Please see question on stack overflow: http://stackoverflow.com/questions/17353387/how-to-detect-anamorphic- video-with-ffprobe {{{ -print_format json -show_format -show_streams {originalFilePath} ffprobe version N-54233-g86190af built on Jun 27 2013 }}} {{{ "Output{ \"streams\": [ { \"index\": 0, \"codec_name\": \"h264\", \"codec_long_name\": \"H.264/AVC/MPEG-4AVC/MPEG-4part10\", \"profile\": \"Main\", \"codec_type\": \"video\", \"codec_time_base\": \"1/5994\", \"codec_tag_string\": \"avc1\", \"codec_tag\": \"0x31637661\", \"width\": 1280, \"height\": 720, \"has_b_frames\": 0, \"sample_aspect_ratio\": \"0: 1\", \"display_aspect_ratio\": \"0: 1\", \"pix_fmt\": \"yuv420p\", \"level\": 31, \"r_frame_rate\": \"2997/100\", \"avg_frame_rate\": \"2997/100\", \"time_base\": \"1/2997\", \"start_pts\": 0, \"start_time\": \"0.000000\", \"duration_ts\": 204100, \"duration\": \"68.101435\", \"bit_rate\": \"3894381\", \"nb_frames\": \"2041\", \"disposition\": { \"default\": 0, \"dub\": 0, \"original\": 0, \"comment\": 0, \"lyrics\": 0, \"karaoke\": 0, \"forced\": 0, \"hearing_impaired\": 0, \"visual_impaired\": 0, \"clean_effects\": 0, \"attached_pic\": 0 }, \"tags\": { \"creation_time\": \"2013-05-0318: 33: 37\", \"language\": \"eng\", \"handler_name\": \"AppleAliasDataHandler\" } }, { \"index\": 1, \"codec_name\": \"aac\", \"codec_long_name\": \"AAC(AdvancedAudioCoding)\", \"codec_type\": \"audio\", \"codec_time_base\": \"1/44100\", \"codec_tag_string\": \"mp4a\", \"codec_tag\": \"0x6134706d\", \"sample_fmt\": \"fltp\", \"sample_rate\": \"44100\", \"channels\": 2, \"bits_per_sample\": 0, \"r_frame_rate\": \"0/0\", \"avg_frame_rate\": \"0/0\", \"time_base\": \"1/44100\", \"start_pts\": 0, \"start_time\": \"0.000000\", \"duration_ts\": 3003392, \"duration\": \"68.104127\", \"bit_rate\": \"125304\", \"nb_frames\": \"2933\", \"disposition\": { \"default\": 0, \"dub\": 0, \"original\": 0, \"comment\": 0, \"lyrics\": 0, \"karaoke\": 0, \"forced\": 0, \"hearing_impaired\": 0, \"visual_impaired\": 0, \"clean_effects\": 0, \"attached_pic\": 0 }, \"tags\": { \"creation_time\": \"2013-05-0318: 33: 37\", \"language\": \"eng\", \"handler_name\": \"AppleAliasDataHandler\" } } ], \"format\": { \"filename\": \"\\\\\\\\dell690\\\\vsf\\\\_asset_intake\\\\v2\\\\ed69c939-4fe1-40dd-a045-db72ed2e0009\\\\original\\\\USTC_Overview2.mov\", \"nb_streams\": 2, \"format_name\": \"mov, mp4, m4a, 3gp, 3g2, mj2\", \"format_long_name\": \"QuickTime/MOV\", \"start_time\": \"0.000000\", \"duration\": \"68.100000\", \"size\": \"34267583\", \"bit_rate\": \"4025560\", \"tags\": { \"major_brand\": \"qt\", \"minor_version\": \"537199360\", \"compatible_brands\": \"qt\", \"creation_time\": \"2013-05-0318: 33: 37\" } } }" }}} -- -- Ticket URL: <https://ffmpeg.org/trac/ffmpeg/ticket/2719#comment:3> FFmpeg <http://ffmpeg.org> FFmpeg issue tracker
#2719: SAR and DAR the same for anamorphic? Incorrect? -------------------------------------+------------------------------------- Reporter: flamingspew | Owner: Type: defect | Status: new Priority: normal | Component: Version: unspecified | undetermined Keywords: | Resolution: Blocking: | Blocked By: Analyzed by developer: 0 | Reproduced by developer: 0 -------------------------------------+------------------------------------- Comment (by flamingspew): Shouldn't it say 1:1 for square? Also, when I converted with normal scale params, it was stretched-- So i tried this to fix it: {{{ -vf scale=1280:-1 -vcodec libtheora -qscale:v }}} and it made the aspect work. That bit of CLI command I found when trying to fix anamorphic ratios. Is this video not really anamorphic? -- Ticket URL: <https://ffmpeg.org/trac/ffmpeg/ticket/2719#comment:4> FFmpeg <http://ffmpeg.org> FFmpeg issue tracker
#2719: SAR and DAR the same for anamorphic? Incorrect? -------------------------------------+------------------------------------- Reporter: flamingspew | Owner: Type: defect | Status: new Priority: normal | Component: Version: unspecified | undetermined Keywords: | Resolution: Blocking: | Blocked By: Analyzed by developer: 0 | Reproduced by developer: 0 -------------------------------------+------------------------------------- Comment (by flamingspew): Updated my comment to provide correct code that 'fixed' anamorphic problems. -- Ticket URL: <https://ffmpeg.org/trac/ffmpeg/ticket/2719#comment:5> FFmpeg <http://ffmpeg.org> FFmpeg issue tracker
#2719: SAR and DAR the same for anamorphic? Incorrect? -------------------------------------+------------------------------------- Reporter: flamingspew | Owner: Type: defect | Status: new Priority: normal | Component: Version: unspecified | undetermined Keywords: | Resolution: Blocking: | Blocked By: Analyzed by developer: 0 | Reproduced by developer: 0 -------------------------------------+------------------------------------- Comment (by cehoyos): Replying to [comment:4 flamingspew]:
Shouldn't it say 1:1 for square?
Afaict, the file does not contain any aspect information (but this may of course be wrong, that is why I asked you why you think what ffprobe shows is wrong).
Also, when I converted with normal scale params, it was stretched
Please provide your failing command line together with the complete, uncut console output.
Also, the sample_aspect_ratio and the display_aspect_ratio are the same here, but I suspect they are really not for this video.
The are the same because both are not set. -- Ticket URL: <https://ffmpeg.org/trac/ffmpeg/ticket/2719#comment:6> FFmpeg <http://ffmpeg.org> FFmpeg issue tracker
#2719: SAR and DAR the same for anamorphic? Incorrect? -------------------------------------+------------------------------------- Reporter: flamingspew | Owner: Type: defect | Status: new Priority: normal | Component: Version: unspecified | undetermined Keywords: | Resolution: Blocking: | Blocked By: Analyzed by developer: 0 | Reproduced by developer: 0 -------------------------------------+------------------------------------- Comment (by flamingspew): To get info: -print_format json -show_format -show_streams {originalPath} To Convert and Fix for Aspect Problem: convertParams = " --input \"" + sourceFilePath + "\" --ipod-atom --width 1280 --custom-anamorphic --display-width 1280 --keep-display-aspect --modulus 8 --crop 0:0:0:0 --optimize --encoder x264 --aencode faac --ab 128 --mixdown stereo --rate 29.97 --cfr --vb " + keyPair.Value + " --output " + path; -- Ticket URL: <https://ffmpeg.org/trac/ffmpeg/ticket/2719#comment:7> FFmpeg <http://ffmpeg.org> FFmpeg issue tracker
#2719: SAR and DAR the same for anamorphic? Incorrect? -------------------------------------+------------------------------------- Reporter: flamingspew | Owner: Type: defect | Status: new Priority: normal | Component: Version: unspecified | undetermined Keywords: | Resolution: Blocking: | Blocked By: Analyzed by developer: 0 | Reproduced by developer: 0 -------------------------------------+------------------------------------- Comment (by cehoyos): If conversion with FFmpeg leads to a file with incorrect aspect please provide the (exact) command line that produces the incorrect output for you together with the complete, uncut console output. -- Ticket URL: <https://ffmpeg.org/trac/ffmpeg/ticket/2719#comment:8> FFmpeg <http://ffmpeg.org> FFmpeg issue tracker
#2719: SAR and DAR the same for anamorphic? Incorrect? -------------------------------------+------------------------------------- Reporter: flamingspew | Owner: Type: defect | Status: new Priority: minor | Component: Version: unspecified | undetermined Keywords: | Resolution: Blocking: | Blocked By: Analyzed by developer: 0 | Reproduced by developer: 0 -------------------------------------+------------------------------------- Changes (by flamingspew): * priority: normal => minor Comment: Thanks for bearing with me. Oh man, just looked through 3 repositories and 20 different versions-- can't find the original offending CLI command. I'm downgrading to minor until I can reproduce. I guess then 0:1 means not set, definitively then, correct? If that is so, I will close unless I can reproduce. -- Ticket URL: <https://ffmpeg.org/trac/ffmpeg/ticket/2719#comment:9> FFmpeg <http://ffmpeg.org> FFmpeg issue tracker
participants (1)
-
FFmpeg