Page 1 of 1

Compilation problem - x264

Posted: 11 Sep 2006 03:47
by Rhodes
Hi,

I compiled VLC , everything plays ok except h264.
The problem is that there's no image at all... i must have done something wrong during compilation but i have no idea what...

I use x264 as a static library.

VLC version 0.8.6-svn Janus
Compiler: gcc version 4.1.0 20060304 (Red Hat 4.1.0-3)


x264 0.50.558

this is my configure line for VLC:

./configure --enable-x264 --with-x264-tree=./x264 --enable-x11 --enable-xvideo --disable-gtk --enable-sdl --enable-ffmpeg --with-ffmpeg-mp3lame --with-ffmpeg-tree=./ffmpeg --with-ffmpeg-faac --with-ffmpeg-vorbis --with-ffmpeg-ogg --enable-mad --enable-dvbpsi --enable-a52 --enable-dts --enable-libmpeg2 --enable-dvdnav --enable-faad --enable-vorbis --enable-ogg --enable-theora --enable-faac --enable-mkv --enable-freetype --enable-fribidi --enable-speex --enable-flac --enable-caca --enable-skins --enable-skins2 --enable-alsa --disable-kde --disable-qt --enable-wxwidgets --enable-ncurses --enable-release --with-mad=/usr/lib --with-mad-tree=./libmad/libmad-0.15.1b

No video encoded with h264 plays... sound is ok .
With the binary VLC i downloaded it works fine.

I tried to compile ffmpeg with or without x264 it doesn't change anything... by the way does vlc use x264 from ffmpeg or separatly ?

I couldn't find informations to solve my problem and i'm running out of ideas... if someone can give some hints... i'm really interested to know what's going on ...

Thanks

Have you

Posted: 11 Sep 2006 07:11
by tqft
Have you been here and checked the mailing list, irc and linked forum?

http://developers.videolan.org/x264.html

Posted: 11 Sep 2006 08:51
by Jean-Baptiste Kempf
As you can see it in the previous link, x264 is an encoder.

Vlc uses ffmpeg for h264 decoding.
Can you give us the messages given by vlc --vvv ?

Posted: 13 Sep 2006 02:51
by Rhodes
Ok.... x264 is only an encoder :oops:

Merci pour ton aide Jean-Baptiste ;)

Playing a H.264 video using the verbose option of VLC points out the problem:

[00000345] ffmpeg decoder warning: cannot decode one frame (14 bytes)
[00000345] ffmpeg decoder warning: non existing PPS referenced
(h264@0x9310ff0)
[00000345] ffmpeg decoder warning: decode_slice_header error
(h264@0x9310ff0)


It's strange because H264 videos play normally using ffplay... ??

thanks again for the support.

Posted: 14 Sep 2006 02:31
by Rhodes
No one can help ?

Posted: 14 Sep 2006 10:17
by Jean-Baptiste Kempf
well, I don't :D Sorry.