Compile VLC 1.0.5 with amr support

*nix specific usage questions
chrisnofneur
New Cone
New Cone
Posts: 2
Joined: 05 Jan 2010 17:44

Compile VLC 1.0.5 with amr support

Postby chrisnofneur » 05 Feb 2010 17:18

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

andrew46
Blank Cone
Blank Cone
Posts: 60
Joined: 01 Jun 2009 11:36
Operating System: Linux

Re: Compile VLC 1.0.5 with amr support

Postby andrew46 » 10 Feb 2010 08:21

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

stefano.asioli
New Cone
New Cone
Posts: 4
Joined: 30 Nov 2009 16:09

Re: Compile VLC 1.0.5 with amr support

Postby stefano.asioli » 10 Feb 2010 16:10

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

henrymark
Blank Cone
Blank Cone
Posts: 46
Joined: 11 Aug 2009 09:55

Re: Compile VLC 1.0.5 with amr support

Postby henrymark » 04 Jan 2011 07:24

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.


Return to “VLC media player for Linux and friends Troubleshooting”

Who is online

Users browsing this forum: No registered users and 9 guests