Configure with mp3 support

For questions and discussion that is NOT (I repeat NOT) specific to a certain Operating System.
jchambers
Blank Cone
Blank Cone
Posts: 42
Joined: 11 May 2006 03:28
VLC version: 0.8.x 0.9.x
Operating System: Windows / Linux
Location: California, USA

Configure with mp3 support

Postby jchambers » 07 Nov 2007 09:29

What do I need to add to get mp3 (encoding) support?

Code: Select all

./configure \ --enable-shared \ --enable-shared-pp \ --enable-pp \ --enable-gpl \ --enable-old-dbus \ --enable-release \ --enable-x264 \ --enable-ffmpeg \ --with-ffmpeg-x264 \ --with-ffmpeg-a52 \ --with-ffmpeg-mp3lame \ --enable-a52 \ --enable-libdvdpsi \ --enable-dvdread \ --disable-x11 \ --disable-mad \ --disable-libmpeg2 \ --disable-glx \ --disable-hd1000v
Do I have to --enable-qt4 or can I disable it?

Is there a list somewhere I can read about this?

Thank you.
none for now

Jean-Baptiste Kempf
Site Administrator
Site Administrator
Posts: 37523
Joined: 22 Jul 2005 15:29
VLC version: 4.0.0-git
Operating System: Linux, Windows, Mac
Location: Cone, France
Contact:

Re: Configure with mp3 support

Postby Jean-Baptiste Kempf » 07 Nov 2007 18:37

For mp3 encoder support this is ok.
But you may need to use --with-ffmpeg-tree=
Jean-Baptiste Kempf
http://www.jbkempf.com/ - http://www.jbkempf.com/blog/category/Videolan
VLC media player developer, VideoLAN President and Sites administrator
If you want an answer to your question, just be specific and precise. Don't use Private Messages.

jchambers
Blank Cone
Blank Cone
Posts: 42
Joined: 11 May 2006 03:28
VLC version: 0.8.x 0.9.x
Operating System: Windows / Linux
Location: California, USA

Re: Configure with mp3 support

Postby jchambers » 07 Nov 2007 19:54

Thank you for the reply.

I added the tree and am attempting to recomplie.

--with-ffmpeg-tree=/usr/include/ffmpeg
and
--with-ffmpeg-tree=/usr/lib


I added a symbolic link for the first error but they continue.

/usr/include/ffmpeg/libavcodec -> /usr/lib//


Error:
checking for libavcodec.a in /usr/include/ffmpeg... no
configure: error: cannot find libpostproc.a in /usr/include/ffmpeg/libavcodec/libpostproc/. Make sure you configured ffmpeg with --enable-pp


They do exist:
/usr/share/doc/libpostproc-dev
/usr/share/doc/libpostproc1d
/usr/lib/libpostproc.so.1d.51.1.0
/usr/lib/libpostproc.a
/usr/lib/libpostproc.so.1d
/usr/lib/pkgconfig/libpostproc.pc
/usr/lib/libpostproc.so



Ah.... this leads me to believe I must complie ffmpeg myself, is that correct?



Edit:
I forgot to mention that I can convert video to flv/mp3 using the current installed version of ffmpeg.
none for now

Jean-Baptiste Kempf
Site Administrator
Site Administrator
Posts: 37523
Joined: 22 Jul 2005 15:29
VLC version: 4.0.0-git
Operating System: Linux, Windows, Mac
Location: Cone, France
Contact:

Re: Configure with mp3 support

Postby Jean-Baptiste Kempf » 07 Nov 2007 20:54

well, yes, you might need to compile it.
Jean-Baptiste Kempf
http://www.jbkempf.com/ - http://www.jbkempf.com/blog/category/Videolan
VLC media player developer, VideoLAN President and Sites administrator
If you want an answer to your question, just be specific and precise. Don't use Private Messages.

jchambers
Blank Cone
Blank Cone
Posts: 42
Joined: 11 May 2006 03:28
VLC version: 0.8.x 0.9.x
Operating System: Windows / Linux
Location: California, USA

Re: Configure with mp3 support

Postby jchambers » 09 Nov 2007 10:02

Thanks j-b, it took me a bit to understand the -tree= in ./configure

I have mp3 working now, and yes I did have to compile ffmpeg myself.

I still have more vlc questions but will start a new thread... :D
none for now


Return to “General VLC media player Troubleshooting”

Who is online

Users browsing this forum: No registered users and 27 guests