Page 1 of 1

Debian / ffmpeg / h.264 ?

Posted: 18 Sep 2007 03:27
by jchambers
Hello all, yet another question...

Debain 2.6.21-2-amd64

Trying to get h264 working.

Code: Select all

VLC media player 0.8.6d Janus [00000294] dummy interface: using the dummy interface module... [00000306] main private: creating httpd [00000317] ffmpeg encoder error: cannot find encoder h264 [00000298] stream_out_transcode private error: cannot find encoder ((null)) [00000298] stream_out_transcode private error: cannot create video chain [00000314] main packetizer error: cannot create packetizer output (mpgv)

Code: Select all

# vlc --list|grep ffmpeg VLC media player 0.8.6d Janus starting VLC root wrapper... using UID 0 (root) *************************************** * Running VLC as root is discouraged. * *************************************** It is potentially dangerous, and might not even work properly. ffmpeg FFmpeg audio/video decoder/encoder ((MS)MPEG4,SVQ1,H263,WMV,WMA) ffmpeg FFmpeg chroma conversion ffmpeg FFmpeg audio/video encoder ffmpeg FFmpeg demuxer ffmpeg FFmpeg muxer ffmpeg FFmpeg video filter ffmpeg FFmpeg crop padd filter ffmpeg FFmpeg deinterlace video filter

Code: Select all

# dpkg -l | grep ffmpeg ii ffmpeg 0.cvs20070307-6 multimedia player, server and encoder ii gstreamer0.10-ffmpeg 0.10.2-3 FFmpeg plugin for GStreamer ii libavcodec1d 0.cvs20070307-6 ffmpeg codec library ii libavformat1d 0.cvs20070307-6 ffmpeg file format library ii libavutil1d 0.cvs20070307-6 ffmpeg utility library ii libpostproc1d 0.cvs20070307-6 ffmpeg video postprocessing library ii libswscale1d 0.cvs20070307-6 ffmpeg video scaling library
x264: ( x264-snapshot-20070917-2245 )

Code: Select all

# ./configure --enable-shared ./version.sh: line 2: svnversion: command not found Platform: X86_64 System: LINUX avis input: no mp4 output: no pthread: yes gtk: no debug: no gprof: no PIC: yes shared: yes visualize: no

I'm not sure how to get this working correctly?
Any help is appreciated.

Re: Debian / ffmpeg / h.264 ?

Posted: 18 Sep 2007 11:37
by jchambers
Update -


x264:

Code: Select all

# dpkg -l | grep x264 ii libx264-54 0.svn20070309-5~sid.863 x264 video coding library ii libx264-dev 0.svn20070309-5~sid.863 development files for libx264 ii x264 0.svn20070309-5~sid.863 video encoder for the H.264/MPEG-4 AVC stand
ffmpeg:

Code: Select all

# ./configure --enable-x11grab --enable-liba52 --enable-liba52bin --enable-libx264 --enable-gpl --enable-pp --enable-shared --disable-static install prefix /usr/local source path /home/encoder/downloads/ffmpeg-checkout-2007-09-18 C compiler gcc make make .align is power-of-two no ARCH x86_64 (generic) big-endian no MMX enabled yes CMOV enabled no CMOV is fast no EBX available yes EBP available yes gprof enabled no debug symbols yes strip symbols yes optimize yes static no shared yes postprocessing support yes software scaler enabled no video hooking yes Imlib2 support yes FreeType support yes network support yes IPv6 support yes threading support no SDL support yes Sun medialib support no AVISynth enabled no liba52 support yes liba52 dlopened yes libamr-nb support no libamr-wb support no libdc1394 support no libfaac enabled no libfaad enabled no libfaad dlopened no libgsm enabled no libmp3lame enabled no libnut enabled no libogg enabled no libtheora enabled no libvorbis enabled no x264 enabled yes XviD enabled no zlib enabled yes License: GPL Creating config.mak and config.h...
Still getting the same error, but I think I am getting closer.
I will try again in the morning.

Should I be using cvs or svn?
I do not know the difference.

Re: Debian / ffmpeg / h.264 ?

Posted: 18 Sep 2007 14:20
by Jean-Baptiste Kempf
Debian has decided that H264 encoder might be a problem according to Software patents and therefore have removed it from their repository...

Re: Debian / ffmpeg / h.264 ?

Posted: 18 Sep 2007 16:43
by jchambers
So what would be a good Linux distro for h264 and 64 bit?

Thank you for the reply.

Re: Debian / ffmpeg / h.264 ?

Posted: 18 Sep 2007 16:59
by Jean-Baptiste Kempf
Debian ? and build your own VLC?

Re: Debian / ffmpeg / h.264 ?

Posted: 18 Sep 2007 20:02
by dimstar
Depending on your needs, there are several packages maintained directly by the VLC project...

of course I would now make publicity for openSUSE ;) Why: because it's different

Re: Debian / ffmpeg / h.264 ?

Posted: 19 Sep 2007 08:56
by jchambers
I was currious about openSuSE, is free or do I have to buy it? (looks like there are a lot of packages for it)

Though I am not giving up just yet. :wink:

ffmpeg-checkout-2007-09-18

Code: Select all

# ./configure --enable-gpl --enable-pp --enable-pthreads --enable-liba52 --enable-libgsm --enable-libmp3lame --enable-libogg --enable-libtheora --enable-libvorbis --enable-libx264 --enable-libxvid --enable-shared --disable-debug install prefix /usr/local source path /home/encoder/downloads/ffmpeg-checkout-2007-09-18 C compiler gcc make make .align is power-of-two no ARCH x86_64 (generic) big-endian no MMX enabled yes CMOV enabled no CMOV is fast no EBX available yes EBP available yes gprof enabled no debug symbols no strip symbols yes optimize yes static yes shared yes postprocessing support yes software scaler enabled no video hooking yes Imlib2 support yes FreeType support yes network support yes IPv6 support yes threading support pthreads SDL support yes Sun medialib support no AVISynth enabled no liba52 support yes liba52 dlopened no libamr-nb support no libamr-wb support no libdc1394 support no libfaac enabled no libfaad enabled no libfaad dlopened no libgsm enabled yes libmp3lame enabled yes libnut enabled no libogg enabled yes libtheora enabled yes libvorbis enabled yes x264 enabled yes XviD enabled yes zlib enabled yes License: GPL Creating config.mak and config.h...
Looks like it should be there, yes?

Do I need to reinstall vlc each time a make an ffmpeg change or change in general?

Thanks for all the replies!