Creative Communities of the World Forums

The peer to peer support community for media production professionals.

Activity Forums Compression Techniques Analog of flags2=+mixed_refs in last ffmpeg

  • Analog of flags2=+mixed_refs in last ffmpeg

    Posted by Alexander Semigrodskikh on July 9, 2012 at 1:32 pm

    Hello All!

    We use ffmpeg version 0.6.5 but have problems with sync of video and audio in iOS. We wanted to use a newer version of ffmpeg installed by ffmpeginstaller (FFMPEG Auto Installer) but the new version does not understand our old preset
    flags2=+mixed_refs

    How can we express this
    flags2=+mixed_refs
    in our new version? Our new version is shown below:

    # ffmpeg -version
    ffmpeg version N-42365-g36b2bd9-syslint
    built on Jul 9 2012 06:04:26 with gcc 4.1.2 20080704 (Red Hat 4.1.2-52)
    configuration: –prefix=/usr/local/cpffmpeg –enable-shared –enable-nonfree –enable-gpl –enable-pthreads –enable-libopencore-amrnb –enable-decoder=liba52 –enable-libopencore-amrwb –enable-libfaac –enable-libmp3lame –enable-libtheora –enable-libvorbis –enable-libx264 –enable-libxvid –extra-cflags=-I/usr/local/cpffmpeg/include/ –extra-ldflags=-L/usr/local/cpffmpeg/lib –enable-version3 –extra-version=syslint
    libavutil 51. 64.100 / 51. 64.100
    libavcodec 54. 33.100 / 54. 33.100
    libavformat 54. 15.102 / 54. 15.102
    libavdevice 54. 1.100 / 54. 1.100
    libavfilter 3. 1.100 / 3. 1.100
    libswscale 2. 1.100 / 2. 1.100
    libswresample 0. 15.100 / 0. 15.100
    libpostproc 52. 0.100 / 52. 0.100

    Thank you if you answer.

    Reuben Martin replied 14 years ago 2 Members · 1 Reply
  • 1 Reply
  • Reuben Martin

    July 9, 2012 at 7:37 pm

    ffmpeg no longer tries to map options to those available with libx64, which is confusing when the names are different and different options are available between versions.

    Use the “-x264opts” followed by key=value pairs, using “:” as a delimiter.

    Example (from the man page): ffmpeg -i foo.mpg -vcodec libx264 -x264opts keyint=123:min-keyint=20 -an out.mkv

    For a list of all x264 options: x264 --fullhelp

We use anonymous cookies to give you the best experience we can.
Our Privacy policy | GDPR Policy