Page 1 of 1

Configure with mp3 support

Posted: 07 Nov 2007 09:29
by jchambers
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.

Re: Configure with mp3 support

Posted: 07 Nov 2007 18:37
by Jean-Baptiste Kempf
For mp3 encoder support this is ok.
But you may need to use --with-ffmpeg-tree=

Re: Configure with mp3 support

Posted: 07 Nov 2007 19:54
by jchambers
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.

Re: Configure with mp3 support

Posted: 07 Nov 2007 20:54
by Jean-Baptiste Kempf
well, yes, you might need to compile it.

Re: Configure with mp3 support

Posted: 09 Nov 2007 10:02
by jchambers
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