[FFmpeg-user] best way to transform SD to HD w/ pillarbox and yadif

Marton Balint cus at passwd.hu
Thu Jul 18 21:24:36 EEST 2019

On Thu, 18 Jul 2019, Benjamin Turkus via ffmpeg-user wrote:

> Hi All,
> I was hoping for some advice regarding the best way to sequence video
> filters when transcoding SD video to HD, de-interlacing, scaling, padding
> (pillar-box), etc. I know the order of filters is critical, but I haven't
> been able to determine if one way of doing this is better than another.

I think the general advice is that you should deinterlace first and then 
scale progressively.


> Assuming 720x486 NTSC video, this is the best I came up with, though I am
> generally unsure about when to deinterlace when forcing interlaced-aware
> scaling. Any advice about filters, or anything else that comes up
> incidentally, would be greatly appreciated. Just looking for the best
> looking video here, and open to any ideas.
> ffmpeg -i  mySD.mkv -c:v libx264 -pix_fmt yuv420p -b:v 8000000 -v:f
> "colormatrix=bt601:bt709, scale=1440:1080:interl=1:flags=lanczos,
> pad=1920:1080:240:0, yadif" -c:a aac -b:a 320000 -ar 48000 myHD.mp4
> Thanks!
> -- 
> Benjamin Turkus
> Assistant Manager, Audio and Moving Image Preservation
> Digital Collections Services
> The New York Public Library
> 40 Lincoln Center Plaza, New York, NY 10023
> 212.870.1609 | x21609
> nypl.org
> _______________________________________________
> ffmpeg-user mailing list
> ffmpeg-user at ffmpeg.org
> https://ffmpeg.org/mailman/listinfo/ffmpeg-user
> To unsubscribe, visit link above, or email
> ffmpeg-user-request at ffmpeg.org with subject "unsubscribe".

More information about the ffmpeg-user mailing list