[FFmpeg-user] Mixed telecined non-telecined media to constant frame rate.

Carl Eugen Hoyos cehoyos at ag.or.at
Tue Jan 21 13:23:40 CET 2014


Nicholas Robbins <nickrobbins <at> yahoo.com> writes:

> $ ffmpeg -i short.mkv -c copy -c:v libx264 -preset veryfast 
> -crf 17 -vf pullup -r 60 out.mkv 

Does -vsync cfr make a difference?
(Sorry, I am away from my workstation atm.)

You may want to use -vcodec mpeg4 for testing...

>   configuration:

Unrelated:

> --cc=x86_64-pc-linux-gnu-gcc
> --cxx=x86_64-pc-linux-gnu-g++ 
> --ar=x86_64-pc-linux-gnu-ar

Are these really necessary?
That may indicate a bug imo.

> --prefix=/usr

> --mandir=/usr/share/man

(I wonder if this isn't the default but I may be wrong.)

> --optflags='-O2 -pipe -march=native -fomit-frame-pointer' 
> --extra-cflags='-O2 -pipe -march=native -fomit-frame-pointer'
> --extra-cxxflags='-O2 -pipe -march=native -fomit-frame-pointer' 

As said elsewhere there are exactly two possibilities:
Either this makes sense, then it should be made default for all 
users, or it does not make sense, then please remove it.
(To the best of my knowledge, it does not make sense.)

> --enable-postproc 
> --enable-avfilter 
> --enable-bzlib
> --enable-zlib
> --enable-iconv 
> --enable-network 
> --disable-openssl
> --disable-gnutls
> --enable-iconv 
> --enable-network 
> --disable-openssl
> --disable-libvo-aacenc 
> --disable-libvo-amrwbenc
> --disable-libaacplus
> --disable-libtheora
> --disable-libtwolame 
> --disable-libwavpack
> --disable-libcdio
> --disable-libiec61883 
> --disable-libdc1394 
> --disable-libcaca 
> --disable-openal
> --disable-libv4l2 
> --disable-libpulse 
> --disable-x11grab 
> --disable-libflite 
> --disable-frei0r
> --disable-fontconfig 
> --disable-ladspa 
> --disable-libass 
> --disable-libfreetype
> --disable-libsoxr 
> --enable-pthreads 
> --disable-libopencore-amrwb 
> --disable-libopencore-amrnb
> --disable-libfdk-aac 
> --disable-libopenjpeg 
> --disable-libbluray 
> --disable-libcelt
> --disable-libgme 
> --disable-libgsm 
> --disable-libmodplug 
> --disable-libopus 
> --disable-libquvi
> --disable-librtmp 
> --disable-libssh 
> --disable-libschroedinger 
> --disable-libspeex
> --disable-libvorbis 
> --disable-libvpx 
> --disable-libzvbi

These are all default values and shold be removed imo.

> --enable-pic

I may miss something but I believe you should not mess 
with this option.

> --enable-hardcoded-tables

Really?

> --disable-armv5te 
> --disable-armv6
> --disable-armv6t2 
> --disable-neon 
> --disable-vfp 
> --disable-mips32r2 
> --disable-mipsdspr1 
> --disable-mipsdspr2
> --disable-mipsfpu 
> --disable-altivec 
> --disable-vis

These look *very* strange to me...

> --disable-runtime-cpudetect

... I wonder if this is a good idea...

> --disable-stripping
> --disable-debug

.. and these finally convince me you should use 
something like
--enable-gpl --enable-libx264 --enable-nonfree --enable-libfaac
--enable-shared
(maybe --cpu=host)

Carl Eugen



More information about the ffmpeg-user mailing list