configure ffmpeg

Hi lads,
my frustration started when i decided to make 3gpwiz work on my suse 10.3. 3gpwiz is small program to convert video into 3gp format using ffmpeg. But long story short:
to make 3gpwiz work need to enable faac and some other library.
To do so: ./configure ffmpeg from svn.But then i stuck when --enable-libfaac does’n work because of it can’t be found. But it is there somewhere.I used to install everything using yast and 1-click install.And so faac and ffmpeg.
But normal way installed ffmpeg doesn’t have faac support.
My question would be is there a way to configure ffmpeg after yast install and enable all possible encodecs support, not only facc, but xvid, mp3lame, libvorbis,and the rest you could get with ./configure --enable-blablabla.
The way i could go-install everything from source- but that mean the whole multimedia support-cause everything is dependencies of each other.no way!
3gpwiz small prog, but has dependancy of Web Page Creation- Why the hell i should install extra 20 mb?bit radicilious, but… it’s linux…
So, how i do enable encoders support in ffmpeg after ffmpeg.rpm installation?

I’m beginning to think you have not heard of the Packman repository, nor how to setup your software package manager to automatically sort dependencies. …

First, I recommend you brush up on some openSUSE Linux basic concepts:
Concepts - openSUSE

Then I recommend you set up your openSUSE software package manager with 4 repositories (repos) and only 4 repos. Specifically, I recommend OSS, Non-OSS, Update and Packman. Just those 4. No others. None. Once you learn how to sort dependencies on your own, and sort the problems that can happen with multiple conflicting repos, you can consider adding more. Until then, only OSS, Non-Oss, Update and Packman. You can find guidance for doing that here: Repositories - openSUSE-Community Select on the 10.3 link and then add those 4 repos. In particular do NOT add videolan as apps / codecs from that site often conflict with Packman media players.

Once they are added, go to YaST > Software > Software Management, and change the filter to “search” and select and install the repos that you wish to install.

To learn what sort of applications are available from Packman, look here:
PackMan :: Startseite
Note the search tab in Packman works great:
PackMan :: Suche nach Paketen

thanks oldcpu, but thats not the question i’m asking. Sorry if hard to understant me.but i try this way:

linux:~> ffmpeg -formats
FFmpeg version SVN-r16455, Copyright (c) 2000-2009 Fabrice Bellard, et al.
configuration:
libavutil 49.12. 0 / 49.12. 0
libavcodec 52.10. 0 / 52.10. 0
libavformat 52.23. 1 / 52.23. 1
libavdevice 52. 1. 0 / 52. 1. 0
built on Jan 6 2009 20:20:13, gcc: 4.2.1 (SUSE Linux)
File formats:
E 3g2 3GP2 format
E 3gp 3GP format

Codecs:
D V 4xm 4X Movie
D V D 8bps QuickTime 8BPS video
D A 8svx_exp 8SVX exponential
D A 8svx_fib 8SVX fibonacci
D A aac Advanced Audio Coding

D A mp3 MP3 (MPEG audio layer 3)

@linux:~>

My primary concern is enable aac and mp3 encoding.I have Faac and Mp3lame libraries installed from Packman.Ffmpeg reinstalled yesterday, latest from Packman.

" In particular do NOT add videolan as apps / codecs from that site often conflict with Packman media players."
Would yast allow me to install conflicting packages without warning?

Yes. The granularity in that sort of codec conflict is far (and I mean very very very far) beyond the means of yast to warn about.

You are correct. I do not understand your question.

You were complaining about dependency problems when trying to compile, and now you are giving me different information on Packman rpm installations.

Yes, when i had problems compiling, i gave up.
At the moment i have installed ffmpeg, mp3lame, faac from packman.But i cannot encode in mp3, or aac using ffmpeg.
Here is command line:
"
@linux:~> ffmpeg -i “/home/kes/Video/m_large.mpg” -f avi -s 176x144 -aspect 4:3 -acodec mp3 -ab 32k “/home/kes/Desktop//8.3gp”
FFmpeg version SVN-r16455, Copyright (c) 2000-2009 Fabrice Bellard, et al.
configuration:
libavutil 49.12. 0 / 49.12. 0
libavcodec 52.10. 0 / 52.10. 0
libavformat 52.23. 1 / 52.23. 1
libavdevice 52. 1. 0 / 52. 1. 0
built on Jan 6 2009 20:20:13, gcc: 4.2.1 (SUSE Linux)
Input #0, mpeg, from ‘/home/kestutis/Video/mwhfbrandisophiatom_large.mpg’:
Duration: 00:29:35.11, start: 0.313367, bitrate: 1124 kb/s
Stream #0.0[0x1e0]: Video: mpeg1video, yuv420p, 320x240 [PAR 200:219 DAR 800:657], 1000 kb/s, 29.97 tb(r)
Stream #0.1[0x1c0]: Audio: mp2, 48000 Hz, stereo, s16, 112 kb/s
Unknown encoder ‘mp3’."

Make ffmpeg use mp3lame.
I go to bed :slight_smile:

I do not directly use ffmpeg nor mencoder to encode, but rather I use a more top level application that may, or may not, call them. I like to use tovid or avidemux.

… but if one is very familiar with an encoder such as ffmpeg, then it is possible.

But are you certain you have only Packman apps installed, and not a mix of Packman videolan?

Did you try checking out this troubleshooting guide to help check what you have installed: Check your multimedia problem in ten steps - openSUSE Forums

The “ffmpeg -formats” output is clear…
mp3 audio encoder: libmp3lame
aac audio encoder: libfaac

There is no “mp3” audio encoder.

Thanks for the link- gonna check this soon.

@linux:~> ffmpeg -i “/home/kes/Video/movie.mpg” -f avi -s 176x144 -aspect 4:3 -acodec libmp3lame -ab 32k “/home/kes/Desktop//8.3gp”
FFmpeg version SVN-r16455, Copyright (c) 2000-2009 Fabrice Bellard, et al.
configuration:
libavutil 49.12. 0 / 49.12. 0
libavcodec 52.10. 0 / 52.10. 0
libavformat 52.23. 1 / 52.23. 1
libavdevice 52. 1. 0 / 52. 1. 0
built on Jan 6 2009 20:20:13, gcc: 4.2.1 (SUSE Linux)
Input #0, mpeg, from ‘/home/kes/Video/movie.mpg’:
Duration: 00:29:35.11, start: 0.313367, bitrate: 1124 kb/s
Stream #0.0[0x1e0]: Video: mpeg1video, yuv420p, 320x240 [PAR 200:219 DAR 800:657], 1000 kb/s, 29.97 tb(r)
Stream #0.1[0x1c0]: Audio: mp2, 48000 Hz, stereo, s16, 112 kb/s
Unknown encoder ‘libmp3lame’

I think ffmpeg -formats output should be red like this:
DEA g726 G.726 ADPCM
D- stands for ‘decode’
E for ‘encode’
A for ‘audio codec’
g726 -how to tell ffpeg what codec to use.
So at the current state ffmpeg able just to decode the format, but i need to encode as well.
I gonna contact someone who makes particular rpm package, see what he says.
Thanks lads for the help

If VideoLAN repo isn’t using wrong version number, there is no r16455 version available…

LC_ALL=C zypper se -s -t package --match-exact ffmpeg

Loading repository data…
Reading installed packages…

S | Name | Type | Version | Arch | Repository
–±-------±--------±--------------------------------±-------±----------
i | ffmpeg | package | 0.4.9.16438svn-20090105.pm.1938 | x86_64 | Packman
v | ffmpeg | package | 0.4.9.16438svn-20090105.pm.1938 | i686 | Packman
v | ffmpeg | package | 0.4.9.15594svn-20081010.pm.2143 | i686 | Packman
v | ffmpeg | package | 0.4.9.16438svn-20090105.pm.1938 | i586 | Packman
v | ffmpeg | package | 0.4.9.16043-1.1 | x86_64 | VideoLan
v | ffmpeg | package | 0.4.9.16043-1.1 | i586 | VideoLan

But in any case the Packman version has mp3 and aac compresion available, I double checked it.

is my arms growing from behind? rotfl!
Please give me ffmpeg command to convert anything (video or audio) into mp3.
Can’t believe… :\

I’m sure such an expresion makes sense in english… but you don’t know how rare it sound to me xD

Your command is correct… well, is correct about audio encoding. I don’t think you want to use “-f avi” and then name the output file “.3gp”.

Follow oldcpu advice. I suspect that either “rpm -V ffmpeg” will return an error or “which ffmpeg” will return something different than “/usr/bin/ffmpeg”.

Bingo!
linux:~> ffmpeg -formats
FFmpeg version SVN-r16438, Copyright (c) 2000-2009 Fabrice Bellard, et al.
configuration: --shlibdir=/usr/lib --prefix=/usr --mandir=/usr/share/man --libdir=/usr/lib --enable-shared --enable-libmp3lame --enable-libvorbis --enable-libtheora --enable-libfaad --enable-libfaac --enable-libxvid --enable-swscale --enable-postproc --enable-gpl --enable-vhook --enable-x11grab --enable-libschroedinger --enable-libdirac --enable-libgsm --enable-libx264 --enable-libamr-nb --enable-libamr-wb --enable-libdc1394 --enable-nonfree --enable-pthreads

And just one little advice for future generations : after option -acodec goes ‘libmp3lame’ not mp3, ‘libfaac’ not aac, and so on- as enabled just above after run of ffmpeg -formats.
Thanks to you good man, ‘which ffmpeg’ helped me. There was leftover from source instalation, ffmpeg siting in home folder. Even i did ‘make uninstall’ and so on… but still some files left and cause big hasle. I’m just learning Linux (good lesson over these days), and English too. rotfl!
Even it makes sense, that expression is so rare in any part of the world, except my house lol!
Sorted. Case is closed.