[FFmpeg-user] flag YUV input as interlaced

bouke bouke at editb.nl
Thu May 12 15:11:36 CEST 2011


----- Original Message ----- 
From: "Mark Himsley" <mark at mdsh.com>
To: "FFmpeg user questions and RTFMs" <ffmpeg-user at ffmpeg.org>
Sent: Thursday, May 12, 2011 2:13 PM
Subject: [FFmpeg-user] flag YUV input as interlaced


> Imagine I am using FFmpeg to read a raw YUV file. How do I flag that input 
> file as interlaced so that interlaced aware filters process the stream 
> correctly?
>
> For instance:
>  I have an SD PAL sized yvyu422 file that I know is top-field-first
>  I want to output that as PAL DV 25, which is bottom-field-first
>
> I expect to use a command like like this:
>
> ffmpeg -f rawvideo -r 25 -s 720x576 -pix_fmt yuyv422 -i input.yvyu422 -vf 
> fieldorder=bff -vcodec dvvideo -pix_fmt yuv420p -y output.mov

Normally you put the known input specs before the input file, as in your 
example.
So did you test
 ffmpeg -f rawvideo -r 25 -s 720x576 -pix_fmt yuyv422  -vf 
eldorder=tff   -i input.yvyu422 -vf fieldorder=bff -vcodec dvvideo -pix_fmt 
yuv420p -y output.mov

?
Bouke

> But, since the input file is not flagged as interlaced the fieldorder 
> filter cannot do it's job.
>
> Thanks.
>
> -- 
> Mark
> _______________________________________________
> ffmpeg-user mailing list
> ffmpeg-user at ffmpeg.org
> http://ffmpeg.org/mailman/listinfo/ffmpeg-user 




More information about the ffmpeg-user mailing list