Find the answer to your Linux question:
Results 1 to 4 of 4
Been messing with this for a few days now... but anyways... FFMPEG installed via SVN. CentOS 5.6. Seeing DEPRECATED messages after: cd /usr/src svn checkout -r r26402 svn://svn.ffmpeg.org/ffmpeg/trunk ffmpeg cd ...
  1. #1
    Just Joined!
    Join Date
    Jun 2006
    Posts
    2

    CentOS and FFMPEG question

    Been messing with this for a few days now... but anyways... FFMPEG installed via SVN. CentOS 5.6.

    Seeing DEPRECATED messages after:

    cd /usr/src
    svn checkout -r r26402 svn://svn.ffmpeg.org/ffmpeg/trunk ffmpeg
    cd ffmpeg

    ./configure --prefix=/usr/local --enable-pthreads --enable-pic --enable-gpl --enable-version3 --enable-libmp3lame --enable-nonfree --enable-libopencore-amrnb --enable-libopencore-amrwb --enable-libvorbis --disable-mmx --enable-shared --enable-libxvid --enable-libx264 --enable-libfaac

    and even more messages after:

    make

    Either way.. I see FFMPEG in PHPinfo. But certain conversions are not working...

    More concerned with "Why?" deprecated packages are compiled ?? I could be wrong.. but why not do this correctly ??? (Not that I know what correct would be) but why Deprecated ??

    Anyone know ??

    Some errors I see ---

    CC ffplay.o
    ffplay.c: In function âdo_exitâ:
    ffplay.c:1342: warning: zero-length printf format string
    ffplay.c: In function âinput_request_frameâ:
    ffplay.c:1735: warning: passing argument 3 of âav_image_copyâ from incompatible pointer type
    ffplay.c: In function âmainâ:
    ffplay.c:3160: warning: assignment discards qualifiers from pointer target type
    ffplay.c: In function âvideo_threadâ:
    ffplay.c:1802: warning: âposâ may be used uninitialized in this function
    ffplay.c:1797: warning: âpts_intâ may be used uninitialized in this function
    LD ffplay_g

    and after this:

    # ffmpeg
    FFmpeg version SVN-r26402, Copyright (c) 2000-2011 the FFmpeg developers
    built on May 3 2011 22:18:32 with gcc 4.1.2 20080704 (Red Hat 4.1.2-50)
    configuration: --prefix=/usr/local --enable-pthreads --enable-pic --enable-gpl --enable-version3 --enable-libmp3lame --enable-nonfree --enable-libopencore-amrnb --enable-libopencore-amrwb --enable-libvorbis --disable-mmx --enable-shared --enable-libxvid --enable-libx264 --enable-libfaac
    WARNING: library configuration mismatch
    avutil 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
    avcore 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
    avcodec 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
    avformat 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
    avdevice 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
    avfilter 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
    swscale 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
    libavutil 50.36. 0 / 50.36. 0
    libavcore 0.16. 1 / 0.16. 1
    libavcodec 52.108. 0 / 52.108. 0
    libavformat 52.93. 0 / 52.93. 0
    libavdevice 52. 2. 3 / 52. 2. 3
    libavfilter 1.74. 0 / 1.74. 0
    libswscale 0.12. 0 / 0.12. 0
    Hyper fast Audio and Video encoder
    usage: ffmpeg [options] [[infile options] -i infile]... {[outfile options] outfile}...

    Use -h to get full help or, even better, run 'man ffmpeg'

    Am concerned with the "WARNING: library configuration mismatch". I realize in some instances this is NOT a problem.. but what if and when is it ?? Why not correct this and how ??

    Any ideas on how to clear this up will leave me with a few hairs on my head left.. along with great appreciation.

    Thanks to all !!

  2. #2
    Linux Guru Rubberman's Avatar
    Join Date
    Apr 2009
    Location
    I can be found either 40 miles west of Chicago, or in a galaxy far, far away.
    Posts
    8,974
    Why not install with the yum package manager? I usually try to use the pre-built versions that way, though sometimes I've built ffmpeg manually in order to get some optional capabilities. When you do that, you have to pay attention to the options you specify to the configure script.

    As for the "library configuration mismatch" warning, it is likely that one of the installed libraries that ffmpeg is using is out of date compared to the ffmpeg source code. As to which, a quick glance at your output doesn't say much, so I don't know.
    Sometimes, real fast is almost as good as real time.
    Just remember, Semper Gumbi - always be flexible!

  3. #3
    Just Joined!
    Join Date
    Jun 2006
    Posts
    2
    Was hoping someone has run accross this and had a quick fix... whoever doesnt want it the easy way...

    Thought about just rolling back FFMPEG to the next revision or something.

    Just wasnt wanting to truely need to do that...

  4. #4
    Linux Guru Rubberman's Avatar
    Join Date
    Apr 2009
    Location
    I can be found either 40 miles west of Chicago, or in a galaxy far, far away.
    Posts
    8,974
    As mentioned, I have built ffmpeg manually on a number of systems, and sometimes it is not easy to do. I've had to make sure that the prefix was not set to /usr (default is /usr/local which may be ok), and then I had to build the appropriate set of support libraries w/ development options that were not in sync with my operating system, installing them in /usr/local, and then add configuration options to ffmpeg to get library and headers from /usr/local/lib and /usr/local/include, and then modify my LD_LIBRARY_PATH environment, before I was able to get ffmpeg to build/link/run. Not an exercise for the faint-of-heart...

    This is why I prefer to get ffmpeg from the standard system repositories. Much less fuss, and even if it isn't the latest and greatest, it will work.
    Sometimes, real fast is almost as good as real time.
    Just remember, Semper Gumbi - always be flexible!

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
...