[FFmpeg-user] Need help generating field based Program Stream

kumar vikram vikramforu at gmail.com
Tue Jan 24 14:15:16 EET 2017

Hi Bouke,
Thanks for your prompt response.

For me the idea is to get field based interlaced streams to test some of my
implementation. Maintaining frame rate is not an issue with me.

I tried with tinterlace too but not to my luck.

ffmpeg.exe -y -i INPUT -c:v mpeg2video -flags +ildct+ilme -vf
scale=interl=1,tinterlace=interlacex2 -b:a 256k -aspect 16:9 OUTPUT

Can you please suggest if I have missed any option?


On Tue, Jan 24, 2017 at 5:04 PM, Bouke (VideoToolShed) <
bouke at videotoolshed.com> wrote:

> ----- Original Message ----- From: "kumar vikram" <vikramforu at gmail.com>
> Hello All,
>> I am having a Program stream which has progressive sequence. I want to
>> convert this stream to Field based PS files.
>> I have used the following command
>> ffmpeg.exe -y -i INPUT -c:v mpeg2video -flags +ildct+ilme -vf yadif=1 -top
>> 1 -b:a 256k -aspect 16:9 OUTPUT
>> But this is creating Frame based interlaced stream.
>> Looks like I have missed some options. Can you please help me fix this
>> problem?
> Hi Vikram,
> What do you expect? If the source is progressive, an interlaced output
> will have two fields taken at the same time, thus still look progressive.
> If the framerate does not change, besides doing this for being compatible
> with streams that must be interlaced, there is no reason to do so.
> If you do want to change the framerate (eg from 50p to 25i, or add
> pulldown), there is logic. Have a look at the Tinterlace filter.
> hth,
> Bouke
>> Regards,
>> Vikram
> ---
> This email has been checked for viruses by Avast antivirus software.
> https://www.avast.com/antivirus
> _______________________________________________
> ffmpeg-user mailing list
> ffmpeg-user at ffmpeg.org
> http://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