![]() |

|
|||||||
![]() |
|
|
Thread Tools | Search this Thread | Display Modes |
|
#1
|
|||
|
|||
|
I was wondering how i should add the amr codec. I have compiled mplayer with amr support, but it still doesn't work. Can someone tell me what am I doing wrong? The ./configure output says that both amr's are enabled.
I added the codec by not putting amr_wb and amr_nb in de /usr/local/lib/codecs, because I couldn't find the good files. I added amr by putting some files downloaded from www.3gpp.com and putting them in de libavcodec dir of mplayer and then compiling mplayer. When i try to make some videos it doesn't work. |
|
#2
|
|||
|
|||
|
It has been my experience that only this code from 3gpp actually works.
http://www.3gpp.org/ftp/Specs/archiv.../26104-510.zip http://www.3gpp.org/ftp/Specs/archiv.../26204-510.zip Once you've pulled those down you need to unzip the top level to get to the actual code. mkdir working cd working unzip -q 26104-510.zip unzip -q 26204-510.zip Now add into MPlayer cd MPlayer mkdir libavcodec/amr_float mkdir libavcodec/amrwb_float cd libavcodec/amr_float unzip -q /working/26104-510_ANSI_C_source_code.zip cd libavcodev/amrwb_float unzip -q /working/26204-510_ANSI-C_source_code.zip When you compile mplayer it should figure out that AMR is now enabled and add it in. kashani |
|
#3
|
|||
|
|||
|
Well I downloaded 3 packs and installed them as you told me. I did this before, then I am going to compile MPlayer. After that I reinstalled flixengine, but I still have no sound with my uploaded 3gp movie. Is there a way that I can check if the codecs are installed properly and to see if flixengine uses the MPlayer?
|
|
#4
|
|||
|
|||
|
It's not three packs it's two. If you attempt to add all three it will not work, yet another thing that isn't in any of the docs. When you compile you should see the following int he configure part.
Checking for AMR narrowband ... yes Checking for AMR narrowband, fixed point ... no Checking for AMR wideband ... yes then should report this at the end. Enabled optional drivers: Input: ftp network tv vcd Codecs: qtx x264 xvid libdv amr_wb amr_nb libavcodec dshow/dmo win32 faad2(internal) faac musepack libmpeg2 liba52 mp3lib tremor(internal) libmad gif Remember that Flix installs its own mencoder and you'll need change paths or move things around in order for your new mencoder to be used. kashani |
|
#5
|
|||
|
|||
|
Also you do not need to reinstall Flix. All changes to mplayer/mencoder are completely independent of the actual flixd proccesses and code.
kashani |
|
#6
|
|||
|
|||
|
I think that the problem is lying in the paths to mencoder. In the documentation I couldn't find anything how to change these. Do I need to install mencoder in a specific directory, so that flix can find mencoder there or do I need to set specific paths in a config file of flix? And if so, what paths and where can I find them?
|
|
#7
|
|||
|
|||
|
Because I couldn't find any config files for the flixengine where to change the path to the mencoder I decided to reinstall flixd and then I changed the "Binary path of mencoder" in the flix install to /usr/local/bin (default path of mencoder). After the install I could convert the videos, but not the 3gp movies. However, now I thought I can recompile mencoder with the amr support. The mencoder was now installed, but now the flixengine doesnt work anymore. What went wrong? Can someone tell me?
I think that I need to know how/where to change the path to mencoder, which the flixengine uses. |
|
#8
|
|||
|
|||
|
Are you adding the On2 patches to the mplayer src dir when you build your custom mencoder. If you are not, it won't work.
I suggest reinistalling flix to make sure things work. Then building your custom mencoder. then mv mencoder mencoder-flix-original then cp mencoder /whatever/flixd/puts/it/ kashani |
|
#9
|
|||
|
|||
|
I downloaded from the following:
http://www.on2.com/gpl/mplayer/ and then added the amr codecs and compiled it. Then i let flixd point to the installed directory. Now I copied the downloaded code from on 2 in the mplayer dir and then compiled it.. let's see what it does. |
|
#10
|
|||
|
|||
|
It is still not working..
I download: http://www.on2.com/gpl/mplayer/2006-...glinux.tar.bz2 unzip it and copy it to the original source of mplayer. Is that what you mean by adding the on2 patches? Or can I download these patches somewhere else? Then I added the amr codecs and some others and then compiled the whole thing. After that I copied /usr/local/bin/mencoder to /usr/local/libexec/on2/flixengine. |
![]() |
| Thread Tools | Search this Thread |
| Display Modes | |
|
|