[vlc-devel] Help: Regarding H.264 decoding in vlc on linux

Ragas sag info2use4me at gmail.com
Thu Jun 12 14:55:38 CEST 2008

 Hi Xperts,

My objective isto play any h.264 video files through vlc on Linux. I
compiled vlc code for linux platform. And when i tried to play
with my compiled code , i am getting
[00000224] mp4 demuxer debug: adding track[Id 0x1] video (enable) language
[00000224] main demuxer debug: using demux2 module "mp4"
[00000224] mp4 demuxer warning: DEMUX_GET_FPS unimplemented !!
[00000220] main input debug: looking for a subtitle file in
[00000225] main decoder debug: looking for decoder module: 17 candidates
[00000225] main decoder debug: using decoder module "faad"
[00000225] main decoder debug: thread 1139333984 (decoder) created at
priority 0 (input/decoder.c:159)
[00000226] main decoder debug: looking for decoder module: 17 candidates

And when i ran the same using gdb, and did bt ( back trace ) ...the message
are below
"#0 0x003c94d0 in hl_decode_mb_simple (h=0x178) at h264.c:3400
#1 0x003ca014 in decode_slice (h=0x178) at h264.c:3801
#2 0x003cba9c in decode_nal_units (h=0x43edb020, buf=0x7877f8 "",
buf_size=630) at h264.c:8213
#3 0x003cca18 in decode_frame (avctx=0x7750d0, data=0x76e280,
data_size=0x447154f4, buf=0x7877f8 "", buf_size=630) at h264.c:8358
#4 0x00255c24 in avcodec_decode_video (avctx=0x7750d0, picture=0x76e280,
got_picture_ptr=0x447154f4, buf=0x7877f8 "", buf_size=128) at utils.c:897
#5 0x001e0440 in DecodeVideo__ffmpeg ()
#6 0x00088d50 in DecoderDecode ()
#7 0x00000000 in ?? ()
#8 0x00000000 in ?? ()
warning: Previous frame identical to this frame (corrupt stack?)

Q: Is the decoder not configured / available ?
And i configured vlc with these settings ..

- Ignored:
./configure --host=i686-pc-linux-gnu --target=i386 ---build=i386-linux
--disable-HAL --disable-growl --disable-notify --disable-dvdnav
--disable-smb --disable-libcdio --disable-libcddb --disable-cdda
--disable-vcd --disable-screen --disable-a52 --disable-dts
--disable-libmpeg2 --disable-vorbis --disable-x11 --disable-xvideo
--disable-xinerama --disable-wxwidgets --disable-skins2 --disable-mad
--disable-plugins --disable-gnutls --enable-httpd --enable-xosd
--disable-hal --disable-vlm --disable-dvbpsi --disable-ogg --disable-mkv
--disable-mod --disable-mpc --enable-x264 --disable-cmml --disable-xvideo
--disable-glx --disable-opengl --disable-freetype --disable-fribidi
--disable-libxml2 --disable-hd1000v --disable-waveout --disable-macosx-audio
--disable-hd1000a --disable-macosx --disable-qnx --disable-daap
--disable-bonjour --disable-speex --disable-gnomevfs --disable-sdl
--enable-faad --enable-ffmpeg --enable-faac --disable-id3 --enable-debug
--enable-trace --enable-trace --enable-libx264

Q: Is there anything i am missing with respect of decoding H.264 support ?

And when i do,
a) ./vlc -l | grep 264

h264 H264 video demuxer
packetizer_h264 H.264 video packetizer
Q: Well it has atleast h.264 decoder / demuxer in. What
about the decoder ?

b) ./vlc -l | decoder

ffmpeg FFmpeg audio/video decoder/encoder
faad AAC audio decoder (using libfaad2)
dummy Dummy decoder function
cvdsub CVD subtitle decoder
svcdsub Philips OGT (SVCD subtitle) decoder
spudec DVD subtitles decoder
subsdec Text subtitles decoder
dvbsub DVB subtitles decoder
mpeg_audio MPEG audio layer I/II/III decoder
lpcm Linear PCM audio decoder
cinepak Cinepak video decoder
rawvideo Pseudo raw video decoder
araw Raw/Log Audio decoder
adpcm ADPCM audio decoder
fake Fake video decoder
dolby_surround_decoder Simple decoder for Dolby Surround
encoded streams
png PNG video decoder

Q: There is no sign of H.264 decoder. Am i missing something ?

Therefore kindly let me know.. how do i configure vlc for h.264 decoder
settings. Do i have to enable these setting in my ffmpeg too ?
And just guide me on how can i enable / play h.264 video playback support on

Thank you in advance...

Warm Regards,
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mailman.videolan.org/pipermail/vlc-devel/attachments/20080612/dc938be5/attachment.html>

More information about the vlc-devel mailing list