trouble installing FFMPEG and the codecs
Hello,
I would like to ask some question, currently i am running RHEL 6.4 and i have trouble installing FFMPEG and it’s codecs library (or dependencies). So far Red Hat doesn't natively support these library right ?(CMIIW) ...
I have followed instructions here and there from google, Razuna and FFMPEG trac, but still have no luck.
Mostly fail (or maybe not perfect) on installing x264 or FFMPEG.
Fail information while installing ffmpeg and/or x264 including :
- yasm must be at least 1.2.0 (when yasm 1.1 was installed using yum)
- yasm not found (when yasm 1.2.0 was installed from source)
- libx264 not found (when x264 installed from source, because git link is down)
Is there any chance that exist a 99% fail-proof guide for installing FFMPEG, x264, Aacenc, libvpx, libtheora, libvorbis, libogg, yasm 1.2.0, aaand other dependencies? Or maybe can i request this to Red Hat subscription as part of the Red Hat Enhancement Advisories (RHEA) ?
Thank you.
Responses
Hey Stevanus,
I am certainly no expert when it comes to audio/video on Linux. I mostly just have a need to listen to MP3s and watch some DVDs. So, that said... I have grabbed some commands from the script I use to setup my host after I install the OS.
I utilize non-Red Hat repos for my workstation. EPEL and RPMFUSION have both been absolutely solid for me and not caused ANY issue (that I can recall). However, I recommend visiting both of their sites to review their own warnings and how they approach pacakge management to comply with the standards that should prevent issues.
# adding optional and supplementary REPO
rhn-channel -v -u redacted@domain.com -a -c rhel-x86_64-workstation-optional-6 -a -c rhel-x86_64-workstation-supplementary-6
# This version/release will change as time goes by
# EPEL
rpm -ivh http://download.fedoraproject.org/pub/epel/6/x86_64/epel-release-6-8.noarch.rpm
# RPMFUSION
rpm -Uvh http://download1.rpmfusion.org/free/el/updates/6/x86_64/rpmfusion-free-release-6-1.noarch.rpm http://download1.rpmfusion.org/nonfree/el/updates/6/x86_64/rpmfusion-nonfree-release-6-1.noarch.rpm
# Audio files (get it?? Audio... files...)
yum -y install id3lib mesa-demos mesa-libGL gstreamer-plugins-bad-free gstreamer-plugins-bad-free-extras gstreamer-plugins-base phonon-backend-gstreamer gstreamer*x86_64 lame lame-devel lame-mp3x lame-libs esound-devel esound-libs esound-tools libvorbis-devel alsa-plugins-* alsamixer*
I simply picked ffmpeg as an example
[root@cypher ~]# yum list | grep ffmpeg
This system is not registered to Red Hat Subscription Management. You can use subscription-manager to register.
ffmpeg-compat.x86_64 0.6.6-1.el6 @rpmfusion-free-updates
gstreamer-ffmpeg.x86_64 0.10.11-2.el6 @rpmfusion-free-updates
ffmpeg.x86_64 0.10.7-1.el6 rpmfusion-free-updates
ffmpeg-compat.i686 0.6.6-1.el6 rpmfusion-free-updates
ffmpeg-compat-devel.i686 0.6.6-1.el6 rpmfusion-free-updates
ffmpeg-compat-devel.x86_64 0.6.6-1.el6 rpmfusion-free-updates
ffmpeg-devel.i686 0.10.7-1.el6 rpmfusion-free-updates
ffmpeg-devel.x86_64 0.10.7-1.el6 rpmfusion-free-updates
ffmpeg-libs.i686 0.10.7-1.el6 rpmfusion-free-updates
ffmpeg-libs.x86_64 0.10.7-1.el6 rpmfusion-free-updates
gstreamer-ffmpeg.i686 0.10.11-2.el6 rpmfusion-free-updates
mythffmpeg.x86_64 0.26.0-9.el6 rpmfusion-free-updates
Welcome! Check out the Getting Started with Red Hat page for quick tours and guides for common tasks.
