Page 1 of 1

Compile VLC 1.0.5 with amr support

Posted: 05 Feb 2010 17:18
by chrisnofneur
Hi

I need to play 3gp files with amr audio with VLC.

I first compiled ffmpeg with amr codec :

Code: Select all

libopencore_amrnb
and

Code: Select all

libopencore_amrwb
I can convert 3gp/amr files with ffmpeg to mp4/mp3

Now, I want to compile VLC 1.0.5 with amr support but when I do a

Code: Select all

./configure --help
I don't find any option to enable the libamrwb or libamrnb

I tried to compile anyway with the options found on this page : http://wiki.videolan.org/UnixCompile but when I run my freshly compiled vlc and open an amr/3gpp file I get the following error :
No suitable decoder module:
VLC does not support the audio or video format "samr". Unfortunately there is no way for you to fix this.
I think that vlc is not using my custom ffmpeg (which is the default one on my system.

I am using Ubuntu Karmic Koala

I'm stuck.
Any idea ?

Thanks
Christophe

Re: Compile VLC 1.0.5 with amr support

Posted: 10 Feb 2010 08:21
by andrew46
Hi Christophe,

You may pick up a few pointers with statically linking libavcodec + amr to your vlc compile here:

Howto: Build the development version of vlc under Ubuntu
http://ubuntuforums.org/showthread.php?t=1398119

This is written for Karmic Koala btw.....

Andrew

Re: Compile VLC 1.0.5 with amr support

Posted: 10 Feb 2010 16:10
by stefano.asioli
Hi,

I'm trying to do exactly the same thing with another codec, which is currently supported by our custom version of ffmpeg.
I'm having the same problem. I believe that you, Christophe, linked your libraries to libavcodec and libavformat, which is what I did.

However, in my case, when compiling vlc and running

Code: Select all

./vlc -l
avcodec and avformat are not listed. Do you also have
the same problem? It looks like these custom plugins are not recognised by vlc, which is correctly compiled.

Anyway, I will also try to build the development version of vlc.

Any other ideas?

Thanks and regards,

Stefano

Re: Compile VLC 1.0.5 with amr support

Posted: 04 Jan 2011 07:24
by henrymark
Does anyone build vlc 1.0.5 with AMR by compile ffmpeg and vlc1.0.5 successfully?

I try build on cygwin, but vlc always tell me he can't recogonize amr declared in header file.