[FFmpeg-user] Recoding H.264/4.2.2 to H.264/4.2.0

Mike Brown brown at mrvideo.vidiot.com
Wed Jun 7 17:10:30 EEST 2017


On Wed, Jun 07, 2017 at 03:00:12PM +0100, Andy Furniss wrote:
> Mike Brown wrote:
>> On Wed, Jun 07, 2017 at 12:03:33PM +0200, Moritz Barsnick wrote:
>>> On Tue, Jun 06, 2017 at 21:54:41 -0500, Mike Brown wrote:
>>>> If given an H.264/4.2.2 elementary stream, can ffmpeg recode it to
>>>> H.264/4.2.0.  If so, what would the command line be?
>>>
>>> $ ffmpeg -i myelementarystream_422.h264 -c:v libx264 [ other x264/encoding options ] -pix_fmt yuv420p outfile.h264
>>
>> Thanks, I appreciate the response.
>
> OK as long as it's progressive, interlaced would need different, maybe 
> (untested/from memory)
>
> -vf scale=interl=1,format=yuv240p
>
> plus specific interlace encode options to libx264.

It is interlaced and I need to keep it that way (2:3 pulldown video).

Is there a list of all the libx264 options online?

MB
-- 
e-mail: vidiot at vidiot.com | vidiot at vidiot.net            /~\ The ASCII
        6082066843 at email.uscc.net (140 char limit)       \ / Ribbon Campaign
Visit - URL: http://vidiot.com/                           X  Against
             http://vidiot.net/                          / \ HTML Email
"You're Sherlock Holmes, wear the damn hat!" - Watson to Sherlock
Sherlock - The Abominable Bride - 1/01/16


More information about the ffmpeg-user mailing list