x264 on debian : cannot find video encoder (module:x264 four
Posted: 01 Jan 2012 12:20
Hi All,
I have installed vlc, ffmpeg, x264 etc on a amd64 debian squeeze install.
When I run the cmd line
the streeam starts to parse but then an error
[0x204d410] stream_out_transcode stream out error: cannot find video encoder (module:x264 fourcc:libx)
if I change the cmd to
it starts to process then [0xca06f0] stream_out_transcode stream out error: cannot find video encoder (module:x264 fourcc:h264)
so I tried using ffmpeg (after uncrippling)
it works but looks crap.
Seems to show all the required stuff is installed.
so the Q. is how do I have cvlc understand x264 and h264 codecs are installed and to use them?
the cmd works great on win7 x64.
do I need to change the vcodec=h264 to something else ie xxxx=h264?
thx
Art
I have installed vlc, ffmpeg, x264 etc on a amd64 debian squeeze install.
When I run the cmd line
Code: Select all
cvlc -I rc -vvv "rtsp://192.168.20.40/channel1" --sout "#transcode{venc=x264{keyint=5,subme=5, ref=5, bframes=16, b-adapt=1, bpyramid=none, me=hex, deblock=0:0, weightp=0, lookahead=5,fps=30, vb=1500},vcodec=libx264, width=1280, height=720, acodec=aac, ab=96, threads=8}:rtp{sdp=rtsp://0.0.0.0:5545/switch.sdp,sap,name="test",ttl=127}"
[0x204d410] stream_out_transcode stream out error: cannot find video encoder (module:x264 fourcc:libx)
if I change the cmd to
Code: Select all
cvlc -I rc -vvv "rtsp://192.168.20.40/channel1" --sout "#transcode{venc=x264{keyint=5,subme=5, ref=5, bframes=16, b-adapt=1, bpyramid=none, me=hex, deblock=0:0, weightp=0, lookahead=5,fps=30, vb=1500},vcodec=h264, width=1280, height=720, acodec=aac, ab=96, threads=8}:rtp{sdp=rtsp://0.0.0.0:5545/switch.sdp,sap,name="test",ttl=127}"
so I tried using ffmpeg (after uncrippling)
Code: Select all
cvlc -I rc -vvv "rtsp://192.168.20.40/channel1" --sout "#transcode{venc=ffmpeg{keyint=5,subme=5, ref=5, bframes=16, b-adapt=1, bpyramid=none, me=hex, deblock=0:0, weightp=0, lookahead=5,fps=30, vb=1500},vcodec=h264, width=1280, height=720, acodec=aac, ab=96, threads=8}:rtp{sdp=rtsp://0.0.0.0:5545/switch.sdp,sap,name="test",ttl=127}"
Code: Select all
dpkg -l | grep 264
ii libx264-118 3:0.118.2085+git8a62835-0.1+1 x264 video coding library
ii libx264-dev 3:0.118.2085+git8a62835-0.1+1 development files for libx264
ii x264 3:0.118.2085+git8a62835-0.1+1 video encoder for the H.264/MPEG-4 AVC standard
vlc -l | grep -i h264
VLC media player 1.1.3 The Luggage (revision exported)
packetizer_h264 H.264 video packetizer
h264 H264 video demuxer
Seems to show all the required stuff is installed.
so the Q. is how do I have cvlc understand x264 and h264 codecs are installed and to use them?
the cmd works great on win7 x64.
do I need to change the vcodec=h264 to something else ie xxxx=h264?
thx
Art