[FFmpeg-user] tinterlace broken - SAR & DAR wrong

pdr0 pdr0 at shaw.ca
Mon Jan 4 22:52:09 EET 2021


Mark Filipak (ffmpeg) wrote
>  
>> 
>> You can't interleave images with different dimensions
>> 
>> Aout has separated fields, to 720x240 , but Bout is 720x480
> 
> [Bout] is 720x240: I'm using 'mode=send_field' in 'bwdif=mode=send_field',
> and the following 
> 'decimate' doesn't change that. The problem is that 'tinterleave' is
> marking the output as "SAR = 
> 16:9" instead of "8:9" (which is what it should be and should never be
> changed).

No, [Bout] is 720x480

bwdif in send_field mode means double rate deinterlacing. 720x480 59.94
fields per second interlaced input becomes 720x480 59.94 progressive images

Test it out yourself on the the Bout branch
ffmpeg -i "INPUT.VOB" -filter_complex "separatefields, shuffleframes=0 1 2 4
3 6 5 7 8 9,
select=eq(mod(n\,10)\,2)+eq(mod(n\,10)\,3)+eq(mod(n\,10)\,6)+eq(mod(n\,10)\,7),
tinterlace, setsar=sar=8/9, bwdif=mode=send_field:deint=all,
decimate=cycle=2" -an -c:v libx264 -crf 18 -t 00:00:10 bout.mkv -y



--
Sent from: http://www.ffmpeg-archive.org/


More information about the ffmpeg-user mailing list