[FFmpeg-user] ffmpeg-2.1 + setsar + setdar question
David Favor
david at davidfavor.com
Thu Oct 31 18:08:48 CET 2013
Tom Evans wrote:
> On Thu, Oct 31, 2013 at 4:07 PM, David Favor <david at davidfavor.com> wrote:
>>>> David-Favor-iMac# ffmpeg -y -i broken.mp4 -c:a copy -c:v libx264 -crf 20
>>>> -preset:v veryfast -vf setsar=sar=0 -vf setdar=dar=0 -t 10 test.mp4
>>>
>>>> David-Favor-iMac# ffmpeg -y -i broken.mp4 -c:a copy -c:v libx264 -crf 20
>>>> -preset:v veryfast -vf setdar=dar=0 -vf setsar=sar=0 -t 10 test.mp4
>>
>> This produces DAR 360:203 instead of DAR 720:406
>>
>
> Am I being dense? What is the difference between 360/203 and 720/406?
-vf setsar=sar=0 -vf setdar=dar=0 -> should remove all SAR + DAR info + does not.
Switching the order of these two filters does strip SAR + DAR as expected.
-vf setdar=dar=0 -vf setsar=sar=0 -> does strip correctly.
I believe the docs should state that DAR (video stream info) should be stripped
before SAR (container info) can be stripped.
--
Love Living Well Doing What You Love?
http://DavidFavor.com/books can help!
More information about the ffmpeg-user
mailing list