Go Back   HowtoForge Forums | HowtoForge - Linux Howtos and Tutorials > Linux Forums > Installation/Configuration

Do you like HowtoForge? Please consider supporting us by becoming a subscriber.
Thread Tools Display Modes
Old 11th September 2006, 18:06
Martin1982 Martin1982 is offline
Junior Member
Join Date: Feb 2006
Posts: 17
Thanks: 0
Thanked 1 Time in 1 Post
Default FFMPEG on CentOS with mp3lame - still no mp3

After installing and configuring mp3lame, FAAC, FAAD2, libogg, libvorbis, and some other codec packages I end up with the following error:
 # /usr/bin/ffmpeg -i /home/admin/public_html/videoportal/original_videos/20060911100412War3-Movie-Trailer.avi -acodec mp3 /home/admin/public_html/videoportal/compressed_videos/20060911102853demovideo_peijenburgt1.flv
FFmpeg version SVN-r5829, Copyright (c) 2000-2004 Fabrice Bellard
  configuration:  --prefix=/usr --enable-mp3lame --enable-a52 --enable-dts --enable-libogg --enable-vorbis --enable-faad --enable-gpl --enable-memalign-hack --enable-pp --enable-pthreads --enable-gprof --enable-faadbin --enable-shared --disable-mmx --enable-xvid --enable-a52bin --enable-faac
  libavutil version: 49.0.0
  libavcodec version: 51.14.0
  libavformat version: 50.5.0
  built on Sep 11 2006 12:23:46, gcc: 3.4.6 20060404 (Red Hat 3.4.6-3)

Seems that stream 0 comes from film source: 30000.00 (30000/1) -> 24.00 (24/1)
Input #0, avi, from '/home/admin/public_html/videoportal/original_videos/20060911100412War3-Movie-Trailer.avi':
  Duration: 00:00:29.9, start: 0.000000, bitrate: 1040 kb/s
  Stream #0.0: Video: mpeg4, yuv420p, 800x340, 24.00 fps(r)
  Stream #0.1: Audio: mp3, 44100 Hz, stereo, 128 kb/s
File '/home/admin/public_html/videoportal/compressed_videos/20060911102853demovideo_peijenburgt1.flv' already exists. Overwrite ? [y/N] y
Output #0, flv, to '/home/admin/public_html/videoportal/compressed_videos/20060911102853demovideo_peijenburgt1.flv':
  Stream #0.0: Video: flv, yuv420p, 800x340, q=2-31, 200 kb/s, 24.00 fps(c)
  Stream #0.1: Audio: 0x0000, 44100 Hz, stereo, 64 kb/s
Stream mapping:
  Stream #0.0 -> #0.0
  Stream #0.1 -> #0.1
Unsupported codec for output stream #0.1

While I installed MP3Lame with:
 ./configure --prefix=/usr --enable-shared

Can anyone tell me what I am doing wrong, since mp3lame is compiled, installed as a shared component and compiled with FFMPEG shouldn't FFMPEG be able to encode the MP3 along with the FLV movie?
http://www.dikketoeters.nl - Powered By ISPConfig
http://www.dreamworxmedia.com - Powered By ISPConfig
Reply With Quote
Sponsored Links
Old 11th September 2006, 22:02
edge edge is offline
Join Date: Dec 2005
Location: The Netherlands
Posts: 2,044
Thanks: 269
Thanked 154 Times in 133 Posts

Looks like you are missing some codecs.

I've had a hard time getting ffmpeg to work with all the movies people upload to my video portal (a youtube clone)

After adding the "w32codecs" I got it to work fine!

Maybe give it a try? On Debian all I needed was an apt-get install w32codecs

Last edited by edge; 11th September 2006 at 22:05.
Reply With Quote


Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
Stuck on Centos Yum update fgaughan Installation/Configuration 6 20th September 2013 15:40
Updating to CentOS 4.4 fjalke Installation/Configuration 5 23rd September 2006 15:19
send and receve mail on centos 4.3 tesquenure Installation/Configuration 11 25th April 2006 22:15
Notes for CentOS 4.1 install felipegeek Installation/Configuration 6 19th December 2005 11:21
Key moments for CentOS 4.2 ? fofan Installation/Configuration 1 21st November 2005 23:56

All times are GMT +2. The time now is 02:26.

Powered by vBulletin® Version 3.8.7
Copyright ©2000 - 2014, vBulletin Solutions, Inc.