[FFmpeg-devel] [PATCH]Only set tff in x264 encoder for interlaced frames
Alexander Strasser
eclipse7 at gmx.net
Sat Mar 16 21:01:02 CET 2013
Michael Niedermayer wrote:
> On Fri, Mar 15, 2013 at 12:26:32AM +0100, Carl Eugen Hoyos wrote:
> > On Friday 15 March 2013 12:21:10 am Carl Eugen Hoyos wrote:
> > > Hi!
> > >
> > > FFmpeg currently (re-)sets x264's tff parameter for every frame, this
> > > breaks lossless encoding.
> > > Attached patch fixes lossless encoding for many progressive samples, like
> > > ticket #2165.
> >
> > New patch attached that fixes the issue if interlaced encoding was not
> > selected, afaict the b_tff parameter only makes sense for interlaced
> > encoding.
> >
> > Please comment, Carl Eugen
>
> > libx264.c | 2 +-
> > 1 file changed, 1 insertion(+), 1 deletion(-)
> > b35a128443e69026740595e1e225127f3c50f855 patchx264tff2.diff
>
> LGTM
Pushed.
Alexander
More information about the ffmpeg-devel
mailing list