Hi Xperts,<br><br><br>My objective isto play any h.264 video files through vlc on Linux. I<br> compiled vlc code for linux platform. And when i tried to play<br> with my compiled code , i am getting<br> "<br> [00000224] mp4 demuxer debug: adding track[Id 0x1] video (enable) language<br>
ehs<br> [00000224] main demuxer debug: using demux2 module "mp4"<br> [00000224] mp4 demuxer warning: DEMUX_GET_FPS unimplemented !!<br> [00000220] main input debug: looking for a subtitle file in<br> /home/sagar/Test_vects/h_264/<br>
[00000225] main decoder debug: looking for decoder module: 17 candidates<br> [00000225] main decoder debug: using decoder module "faad"<br> [00000225] main decoder debug: thread 1139333984 (decoder) created at<br>
priority 0 (input/decoder.c:159)<br> [00000226] main decoder debug: looking for decoder module: 17 candidates<br> Killed<br> "<br><br>And when i ran the same using gdb, and did bt ( back trace ) ...the message are below <br>
"#0 0x003c94d0 in hl_decode_mb_simple (h=0x178) at h264.c:3400<br>#1 0x003ca014 in decode_slice (h=0x178) at h264.c:3801<br>#2 0x003cba9c in decode_nal_units (h=0x43edb020, buf=0x7877f8 "",<br> buf_size=630) at h264.c:8213<br>
#3 0x003cca18 in decode_frame (avctx=0x7750d0, data=0x76e280,<br> data_size=0x447154f4, buf=0x7877f8 "", buf_size=630) at h264.c:8358<br>#4 0x00255c24 in avcodec_decode_video (avctx=0x7750d0, picture=0x76e280,<br>
got_picture_ptr=0x447154f4, buf=0x7877f8 "", buf_size=128) at utils.c:897<br>#5 0x001e0440 in DecodeVideo__ffmpeg ()<br>#6 0x00088d50 in DecoderDecode ()<br>#7 0x00000000 in ?? ()<br>#8 0x00000000 in ?? ()<br>
warning: Previous frame identical to this frame (corrupt stack?)<br>"<br><br><br> Q: Is the decoder not configured / available ?<br> And i configured vlc with these settings ..<br><br>- Ignored:<br> "<br>
./configure --host=i686-pc-linux-gnu --target=i386 ---build=i386-linux<br> --disable-HAL --disable-growl --disable-notify --disable-dvdnav<br> --disable-smb --disable-libcdio --disable-libcddb --disable-cdda<br> --disable-vcd --disable-screen --disable-a52 --disable-dts<br>
--disable-libmpeg2 --disable-vorbis --disable-x11 --disable-xvideo<br> --disable-xinerama --disable-wxwidgets --disable-skins2 --disable-mad<br> --disable-plugins --disable-gnutls --enable-httpd --enable-xosd<br> --disable-hal --disable-vlm --disable-dvbpsi --disable-ogg --disable-mkv<br>
--disable-mod --disable-mpc --enable-x264 --disable-cmml --disable-xvideo<br> --disable-glx --disable-opengl --disable-freetype --disable-fribidi<br> --disable-libxml2 --disable-hd1000v --disable-waveout --disable-macosx-audio<br>
--disable-hd1000a --disable-macosx --disable-qnx --disable-daap<br> --disable-bonjour --disable-speex --disable-gnomevfs --disable-sdl<br> --enable-faad --enable-ffmpeg --enable-faac --disable-id3 --enable-debug<br>
--enable-trace --enable-trace --enable-libx264<br><br> "<br> Q: Is there anything i am missing with respect of decoding H.264 support ?<br><br> And when i do,<br> a) ./vlc -l | grep 264<br><br> h264 H264 video demuxer<br>
packetizer_h264 H.264 video packetizer<br> Q: Well it has atleast h.264 decoder / demuxer in. What<br> about the decoder ?<br><br> b) ./vlc -l | decoder<br><br> ffmpeg FFmpeg audio/video decoder/encoder<br>
((MS)MPEG4,SVQ1,H263,WMV,WMA)<br> faad AAC audio decoder (using libfaad2)<br> dummy Dummy decoder function<br> cvdsub CVD subtitle decoder<br> svcdsub Philips OGT (SVCD subtitle) decoder<br>
spudec DVD subtitles decoder<br> subsdec Text subtitles decoder<br> dvbsub DVB subtitles decoder<br> mpeg_audio MPEG audio layer I/II/III decoder<br> lpcm Linear PCM audio decoder<br>
cinepak Cinepak video decoder<br> rawvideo Pseudo raw video decoder<br> araw Raw/Log Audio decoder<br> adpcm ADPCM audio decoder<br> fake Fake video decoder<br>
dolby_surround_decoder Simple decoder for Dolby Surround<br> encoded streams<br> png PNG video decoder<br><br><br> Q: There is no sign of H.264 decoder. Am i missing something ?<br>
<br> Therefore kindly let me know.. how do i configure vlc for h.264 decoder<br> settings. Do i have to enable these setting in my ffmpeg too ?<br> And just guide me on how can i enable / play h.264 video playback support on<br>
linux.<br><br> Thank you in advance...<br><br><br> Warm Regards,<br> Sagar<br><br><br><br><br>