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

William Caulfield william.caulfield at contentbridge.tv
Thu Jul 18 23:17:40 EEST 2019


I hope I'm getting your intention right here. I had to do this a while back
for some PAL files. Split the fields, scale, pad, then interlace.

-filter_complex
"yadif=1:0,scale=1440:1080,pad=1920:1080:240:0:black,interlace,setdar=16/9"

I think old-timers called this Bob & Weave(?)

On Thu, Jul 18, 2019 at 11:24 AM Marton Balint <cus at passwd.hu> wrote:

>
> 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.
>
> Regards,
> Marton
>
> >
> > 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".
> _______________________________________________
> 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".



-- 

*William Caulfield *| *ContentBridge Systems*
Product Manager, Digital Media & Systems | www.contentbridge.tv
4712 Admiralty Way #533 | Marina Del Rey, CA 90292
*T* 310.405.6178 | *C* 310.405.6178 x7704 | *E*
william.caulfield at contentbridge.tv <jason.peterson at contentbridge.tv>

A GoDigital Media Group Company

*2014 Winner** - Digital Innovation Award - Entertainment Merchants
Association*
*2016 Winner** - Stratus Award "Cloud Computing" - Business Intelligence
Group*

You are important to us. World class customer service is our goal. If you
do not hear back from me in a timely manner it is likely that I'm
unavailable. In such an event please contact info at contentbridge.tv
*and* call 310.405.6178 and
enter option 2 for help and support.


More information about the ffmpeg-user mailing list