h264 problem while streaming
Posted: 24 Oct 2008 14:44
Hi all;
I compile vlc with below commands;
when i wirte below command
./vlc v4l:// :v4l-vdev="/dev/video0" --sout='#transcode{vcodec=h264,vb=1024,width=320,height=240}:rtp{dst=192.168.0.220,port=6000}'
what might be the problem .. how can i add s16l support to vlc ?
I compile vlc with below commands;
Code: Select all
../configure --prefix=/usr --enable-snapshot --enable-debug --enable-dbus-control --enable-musicbrainz --enable-shared-libvlc --enable-mozilla --enable-lirc --enable-ffmpeg --with-ffmpeg-mp3lame --with-ffmpeg-faac --enable-x264 --enable-shout --enable-taglib --enable-v4l --enable-dvb --enable-realrtsp --disable-xvmc --enable-svg --enable-dvdread --enable-dc1394 --enable-dv --enable-theora --enable-faad --enable-twolame --enable-real --enable-flac --enable-tremor --enable-skins2 --enable-qt4 --enable-ncurses --enable-aa --enable-caca --enable-esd --disable-portaudio --enable-jack --enable-xosd --enable-galaktos --enable-goom --enable-ggi --disable-cddax --disable-vcdx --disable-quicktime --enable-lua --disable-swscale --enable-live555 --enable-dvbpsi
./vlc v4l:// :v4l-vdev="/dev/video0" --sout='#transcode{vcodec=h264,vb=1024,width=320,height=240}:rtp{dst=192.168.0.220,port=6000}'
Code: Select all
[00000600] stream_out_transcode stream out debug: creating video transcoding from fcc=`RV24' to fcc=`h264'
[00000641] main decoder debug: looking for decoder module: 28 candidates
[00000641] main decoder debug: using decoder module "rawvideo"
[00000641] main decoder debug: TIMER module_Need() : 3.932 ms - Total 3.932 ms / 1 intvls (Avg 3.932 ms)
[00000642] main encoder debug: looking for encoder module: 8 candidates
[00000642] x264 encoder debug: version x264 0.65.X
[00000598] main input debug: control type=1
[00000599] main stream output debug: adding a new sout input (sout_input:0x821b850)
x264 [info]: using cpu capabilities: MMX2 SSE2Fast SSSE3 Cache64
[00000642] main encoder debug: using encoder module "x264"
[00000642] main encoder debug: TIMER module_Need() : 108.789 ms - Total 108.789 ms / 1 intvls (Avg 108.789 ms)
[00000642] main encoder debug: removing module "x264"
[00000600] stream_out_transcode stream out debug: not transcoding a stream (fcc=`s16l')
[00000603] stream_out_rtp stream out debug: maximum RTP packet size: 1400 bytes
[00000603] main stream out debug: net: connecting to [192.168.0.220]:50000
[00000603] main stream out debug: net: connecting to [192.168.0.220]:50001 from [192.168.0.170]:56489
[00000603] stream_out_rtp stream out error: cannot add this stream (unsupported codec:s16l)
Segmentation fault