Saturday, January 27, 2007

vlc and ffmpeg on fedora core 5

1) What I tried first was http://www.videolan.org/vlc/download-fedora.html
--> didn't work on fedora core 5

2) Then I did:
rpm -ivh http://rpm.livna.org/livna-release-5.rpm
instead

3) If you are not interested in the vlc player, go to (7)
yum install xvidcore
yum install xvidcore-devel
yum install x264
yum install vlc

when you run vlc, if there is a permission problem, you have to have
System -> Administration -> Security Level and Firewall -> SELinux Tab
set to "Permissive" and not "Enforced"

4) When I played something like schaufel.mpeg, I got:
VLC media player 0.8.4a Janus
vlc: pcm_plug.c:384: snd_pcm_plug_change_channels: Assertion `snd_pcm_format_linear(slv->format)'
failed

5) goto VLC settings -> preferences -> audio -> o/p modules -> advanced
and change the Audio Output Module to Linux OSS Output
Another thing you can do is: vlc schaufel.mpeg --no-audio

6) related topics: Alsa, oss linux audio devices. So now, I am OK to use vlc

7) About ffmpeg, first I need svn version control to get the sources
yum install subversion

8) Compile ffmpeg
svn checkout svn://svn.mplayerhq.hu/ffmpeg/trunk
./configure
./make

Then, you can do something like:
ffmpeg -i videos/schaufel.mpeg -f mp3 toto.mp3

No comments: