LinuxQuestions.org
Latest LQ Deal: Linux Power User Bundle
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices


Reply
  Search this Thread
Old 03-28-2007, 05:55 PM   #1
mkhan919
Member
 
Registered: Jan 2007
Location: Valbonne, France
Distribution: Mandriva 2008 (Free)
Posts: 135

Rep: Reputation: 15
ffmpeg problem


hi,
i am using mandriva free 2007. I am trying to convert a avi file into a flv but the converted file does not have any sound.


I have lame installed (LAME 32bits version 3.97).

Cant figure out what the problem is. As it says in the output the problem is with the audio codec, but i have lame installed. Is there something else i need to do???


Thanx for your help.

here is the output that i get:


# ffmpeg -i The.Dresden.Files.S01E05.WS.DSR.XviD-ORENJi.avi -ar 22050 -acodec mp3 -ab 64 -f flv -s 480x320 video.flv
FFmpeg version SVN-r6122, Copyright (c) 2000-2004 Fabrice Bellard
configuration: --prefix=/usr --enable-shared --libdir=/usr/lib --enable-a52 --enable-pp --enable-gpl --enable-pthreads --enable-mp3lame --enable-faad --enable-faac --enable-x264 --enable-xvid --enable-amr_nb
libavutil version: 49.0.0
libavcodec version: 51.11.0
libavformat version: 50.5.0
built on Sep 13 2006 06:33:34, gcc: 4.1.1 20060724 (prerelease) (4.1.1-3mdk)
Input #0, avi, from 'The.Dresden.Files.S01E05.WS.DSR.XviD-ORENJi.avi':
Duration: 00:41:54.9, start: 0.000000, bitrate: 1163 kb/s
Stream #0.0: Video: mpeg4, yuv420p, 608x336, 23.98 fps(r)
Stream #0.1: Audio: mp3, 48000 Hz, stereo, 128 kb/s
File 'video.flv' already exists. Overwrite ? [y/N] y
Output #0, flv, to 'video.flv':
Stream #0.0: Video: flv, yuv420p, 480x320, q=2-31, 200 kb/s, 23.98 fps(c)
Stream #0.1: Audio: 0x0000, 22050 Hz, stereo, 64 kb/s
Stream mapping:
Stream #0.0 -> #0.0
Stream #0.1 -> #0.1
[flv @ 0xb7e49288]removing common factors from framerate
Unsupported codec for output stream #0.1
 
Old 03-28-2007, 11:35 PM   #2
macemoneta
Senior Member
 
Registered: Jan 2005
Location: Manalapan, NJ
Distribution: Fedora x86 and x86_64, Debian PPC and ARM, Android
Posts: 4,593
Blog Entries: 2

Rep: Reputation: 332Reputation: 332Reputation: 332Reputation: 332
It's working here (Fedora Core 6)... Do you have lame-libs installed? You should have '/usr/lib/libmp3lame.so.0'.
 
Old 03-29-2007, 03:05 AM   #3
mkhan919
Member
 
Registered: Jan 2007
Location: Valbonne, France
Distribution: Mandriva 2008 (Free)
Posts: 135

Original Poster
Rep: Reputation: 15
Yups... i seem to have those libraries.

libmp3lame.so.0@
libmp3lame.so.0.0.0*
 
Old 03-29-2007, 10:47 AM   #4
macemoneta
Senior Member
 
Registered: Jan 2005
Location: Manalapan, NJ
Distribution: Fedora x86 and x86_64, Debian PPC and ARM, Android
Posts: 4,593
Blog Entries: 2

Rep: Reputation: 332Reputation: 332Reputation: 332Reputation: 332
The only thing I can think of is that ffmpeg was built incorrectly. My copy reports:

Code:
FFmpeg version SVN-r7813, Copyright (c) 2000-2006 Fabrice Bellard, et al.
  configuration:  --prefix=/usr --incdir=/usr/include/ffmpeg --libdir=/usr/lib -
-shlibdir=/usr/lib --mandir=/usr/share/man --arch=x86_32 --extra-cflags=-O2 -g -
pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector --param=ssp-bu
ffer-size=4 -m32 -march=i386 -mtune=generic -fasynchronous-unwind-tables --enable-mp3lame --enable-libogg --enable-libtheora --enable-vorbis --enable-faad --enable-faac --enable-libgsm --enable-xvid --enable-x264 --enable-a52 --enable-a52bin --enable-dts --enable-pp --disable-static --enable-shared --enable-gpl --disable-debug --disable-opts --disable-strip 
  libavutil version: 49.3.0
  libavcodec version: 51.30.0
  libavformat version: 51.8.0
I noticed that yours doesn't report the '--shlibdir' option; I don't know if that will cause a problem. Is that the most up to date version available?
 
Old 03-29-2007, 12:19 PM   #5
mkhan919
Member
 
Registered: Jan 2007
Location: Valbonne, France
Distribution: Mandriva 2008 (Free)
Posts: 135

Original Poster
Rep: Reputation: 15
No. your libraries all seem to be newer versions than mine. May be thats causing the problems. But from mandriva repositories, these are the latest ones that are available. I think i might need to do a recompile......
however, i had tried recompiling it (before installing using urpmi), but there seems to be tons of dependencies. Everytime i try to install some library, it says it needs something else....lol

Last edited by mkhan919; 03-29-2007 at 12:23 PM.
 
Old 09-24-2008, 04:03 PM   #6
darkone66669
Member
 
Registered: Mar 2004
Distribution: Fedora 10
Posts: 85

Rep: Reputation: 15
ok I might know

When you do a recompile of ffmpeg do a ./configure -h or -help I'm not sure which but I think you need to specify to the configure script that you want lame enabled with --enable-libmp3lame also you probably will need them for libfaac, libfaad, and libxvid as well if you want those included that is or if you even have them.
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

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 Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
compile problem of ffmpeg fw12 Linux - Software 6 08-29-2009 08:46 AM
ffmpeg xvid problem locazor Linux - Software 2 10-13-2008 04:25 AM
acidrip, mencoder, ffmpeg problem puppet Linux - Software 2 12-24-2006 10:06 AM
Problem with ffmpeg.. BDiddy Linux - Software 0 10-18-2005 03:38 PM
Curious problem with ffmpeg EwanG Linux - Software 0 05-07-2004 08:30 AM


All times are GMT -5. The time now is 03:08 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration