how does unstripped version help in ffmpeg
i am using ubuntu 9.04.
I installed ffmpeg using 'apt-get ffmpeg'.
I was trying to convert an ogg file to mp3 then 'unsupported codec ' error occured.i found out that on installing libavcodec-unstripped-52 which replaced libavcodec52 the conversion was successful.
(Question)I want to know what advantage would I have if I installed unstripped libavdevice,libavfilter,libavformat,libpostproc,libswscale?
Also I was installing amrnb-18.104.22.168 from tarball after extracting it.I ran './configure' then error was
checking for patch... no
configure: error: You need patch utility to prepare sources.
(Question)What am i missing ?
Somewhere i saw suggestion to install autoconf so i ran 'apt-get install autoconf' & tried to install http://ftp.penguin.cz/pub/users/utx/....1.0.1.tar.bz2 but still same error. Actually I want to convert mp3 to amr where ffmpeg says unsupported codec?
I don't know about how an unstripped library would hinder ffmpeg though - my best guess would be it's trying to open shared object libraries at run-time...?
Ok.I installed linux-patch-aufs.
'./configure' then 'make','make install','make clean' gave no error for amrnb-22.214.171.124.tar.bz2 and amrwb-126.96.36.199.tar.bz2.
Now i installed ffmpeg-checkout-2009-03-03 with option
'./configure --enable-nonfree --enable-libx264 --enable-libamr-nb --enable-libamr-wb --enable-gpl' then 'make','make install','make clean'.Everything went well.
Now when I ran
ffmpeg -i catdog.mp3 catdog.amr
I got error
[libamr_nb @ 0x29f6010]Only 8000Hz sample rate supported
Error while opening codec for output stream #0.0 - maybe incorrect parameters such as bit_rate, rate, width or height
Does that mean I can't convert mp3 to amr?
Finally , here is solution for everyone who want to convert audio file to amr (playable on some mobile phones & takes much less space then mp3)
I have medibuntu-ffmpeg on ubuntu 8.04 so no hassle of compiling amr libraries from source ( though it is useful when repositories do not provide direct debian or rpm files with support for multiple codec) .
ffmpeg is a great utility.
If you find this useful than thank me by pressing thumbs up button.Thank You.
The interesting thing is
(1)totem 2.22.1 using gstreamer 0.10.18 cannot play it saying "The playback of this movie requires a Adaptive Multi Rate NarrowBand (AMR-NB) decoder plugin which is not installed." though I have gstreamer0.10-ffmpeg & gstreamer0.10-plugins-bad,ugly installed from official ubuntu repository.
(a)MPlayer 1.0rc2-4.2.3 which I got from official ubuntu repository says "Cannot find codec 'libamr_nb' in libavcodec..."
(b)Now after I subscribed to medibuntu repo & installed mplayer (autoremoved initial one) using
(3)ffplay works well.
|All times are GMT -5. The time now is 02:14 AM.|