Forums

Resolved
0 votes
Hi,

Has anyone successfully installed FFmpeg on a ClearOS server? All FFmpeg packages in the ClearOS repos seems broken.
Friday, July 04 2014, 08:21 PM
Share this post:
Responses (9)
  • Accepted Answer

    Saturday, July 05 2014, 08:34 PM - #Permalink
    Resolved
    0 votes

    rpm -q ffmpeg
    ffmpeg-2.0.2-61.el6.x86_64

    [root@voyager ~]# rpm -qf /usr/lib64/librtmp.so.0
    librtmp0-2.3-1.el6.x86_64


    It's working now.

    I did a yum install ffmpeg but not all modules were installed. I was missing librtmp and libmp3lame. I had to install it separately. FFmpeg is installed from the clearos-contribs repo. I have made no changes to the repos so just everything is on default.

    Really awesome that the clears-contribs repo has FFmpeg. I request for a regular update when a new versions of FFmpeg comes available. FFmpeg latest version is 2.2.4.
    The reply is currently minimized Show
  • Accepted Answer

    Saturday, July 05 2014, 07:46 PM - #Permalink
    Resolved
    0 votes
    Hmm I have ffmpeg from clearos-contribs and all dependancies pulled in OK? The contribs version is pulled from clearos-epel with additiona libraries from atrpms (which provides the most complete media stack). This was looked at when plexmedia (and minidlna) first arrived into the ClearOS build system
    [root@leonardo deploy]# rpm -q ffmpeg
    ffmpeg-2.0.2-61.el6.x86_64
    [root@leonardo deploy]# rpm -qf /usr/lib64/librtmp.so.0
    librtmp0-2.3-1.el6.x86_64

    Which version do you have? (your configuration list seems much shorted than mine) and which repos do you have enabled?
    The reply is currently minimized Show
  • Accepted Answer

    Saturday, July 05 2014, 07:48 AM - #Permalink
    Resolved
    0 votes
    I'm doing some testing with FFmpeg. I'm encoding some blu-rays. Do you have some suggestion about the encode settings?


    ffmpeg -i input -c:v libx264 -preset slow -tune film -profile:v high -level 4.1 -crf 18 -c:a copy -c:s copy -t 300 output


    at the moment i'm using this...
    The reply is currently minimized Show
  • Accepted Answer

    Friday, July 04 2014, 09:33 PM - #Permalink
    Resolved
    0 votes
    installed libmp3lame.so.0


    [root@voyager /]# ffmpeg
    ffmpeg version 2.0.2 Copyright (c) 2000-2013 the FFmpeg developers
    built on Oct 27 2013 11:01:22 with gcc 4.4.6 (GCC) 20120305 (Red Hat 4.4.6-4)
    configuration: --prefix=/usr --libdir=/usr/lib64 --shlibdir=/usr/lib64 --mandir=/usr/share/man --enable-shared --enable-runtime-cpudetect --enable-gpl --enable-version3 --enable-postproc --enable-avfilter --enable-pthreads --enable-x11grab --enable-vdpau --disable-avisynth --enable-frei0r --enable-libopencv --enable-libdc1394 --enable-libgsm --enable-libmp3lame --enable-libnut --enable-libopencore-amrnb --enable-libopencore-amrwb --enable-libopenjpeg --enable-librtmp --enable-libspeex --enable-libtheora --enable-libvorbis --enable-libvpx --enable-libx264 --enable-libxavs --enable-libxvid --extra-cflags='-O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector --param=ssp-buffer-size=4 -m64 -mtune=generic -fPIC' --disable-stripping
    libavutil 52. 38.100 / 52. 38.100
    libavcodec 55. 18.102 / 55. 18.102
    libavformat 55. 12.100 / 55. 12.100
    libavdevice 55. 3.100 / 55. 3.100
    libavfilter 3. 79.101 / 3. 79.101
    libswscale 2. 3.100 / 2. 3.100
    libswresample 0. 17.102 / 0. 17.102
    libpostproc 52. 3.100 / 52. 3.100
    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'


    seems to work now!
    The reply is currently minimized Show
  • Accepted Answer

    Friday, July 04 2014, 09:31 PM - #Permalink
    Resolved
    0 votes
    installed librtmp0-2.3-1.el6.x86_64.


    [root@voyager /]# ffmpeg
    ffmpeg: error while loading shared libraries: libmp3lame.so.0: cannot open shared object file: No such file or directory


    now is libmp3lame.so.0 missing...
    The reply is currently minimized Show
  • Accepted Answer

    Friday, July 04 2014, 09:26 PM - #Permalink
    Resolved
    0 votes

    [root@voyager /]# rpm -qf /usr/lib64/librtmp.so.0
    error: file /usr/lib64/librtmp.so.0: No such file or directory

    [root@voyager /]# rpm -qf /usr/lib/plexmediaserver/librtmp.so.0
    plexmediaserver-0.9.9.11.501-fd87a84.x86_64

    root@voyager /]# locate librtmp.so.0
    /usr/lib/plexmediaserver/librtmp.so.0


    i have no librtmp.so.0 in /usr/lib64/ only in /usr/lib/plexmediaserver/
    The reply is currently minimized Show
  • Accepted Answer

    Friday, July 04 2014, 09:17 PM - #Permalink
    Resolved
    0 votes
    Confusing:
    [root@server ~]# rpm -qf /usr/lib64/librtmp.so.0
    librtmp0-2.3-1.el6.x86_64

    [root@server ~]# rpm -qf /usr/lib/plexmediaserver/librtmp.so.0
    plexmediaserver-0.9.9.7.429-f80a8d6.x86_64
    I wonder which one it is looking for? librtmp0-2.3-1.el6.x86_64 is also in clearos-contribs. If that is the right one I wonder why it is not a dependency of ffmpeg?
    The reply is currently minimized Show
  • Accepted Answer

    Friday, July 04 2014, 08:51 PM - #Permalink
    Resolved
    0 votes
    That one gives me a error...


    [root@voyager yum.repos.d]# ffmpeg
    ffmpeg: error while loading shared libraries: librtmp.so.0: cannot open shared object file: No such file or directory


    any idea how to solve this?
    The reply is currently minimized Show
  • Accepted Answer

    Friday, July 04 2014, 08:39 PM - #Permalink
    Resolved
    0 votes
    I'm running 2.0.2 from clearos-contribs.
    The reply is currently minimized Show
Your Reply