I use vlc to transcoding a live stream. I use the follow command to
start vlc:
cvlc http://xxx.xxx.xxx.xxx/live --sout
"#transcode{vcodec=h264,vb=2048,scale=0.5,acodec=mpga,ab=128,channels=2}:duplicate{dst=std{access=http,mux=ts,dst=:9000}}"

It works fine(VLC version: vlc-0.9.9a-5.el5.rf.i386), but when I upgrade
VLC to the new one (Version:vlc-0.9.9a-7.el5.rf), I get errors:

[00000510] avcodec encoder error: cannot open encoder
[00000435] stream_out_transcode stream out error: cannot find video
encoder (module:any fourcc:h264)
[00000435] stream_out_transcode stream out error: cannot create video
chain
[00000508] main packetizer error: cannot create packetizer output (mpgv)

So I use the follow command to start again:
cvlc http://xxx.xxx.xxx.xxx/live -v 2 --sout
"#transcode{vcodec=h264,vb=2048,scale=0.5,acodec=mpga,ab=128,channels=2}:duplicate{dst=std{access=http,mux=ts,dst=:9000}}"

so I get more error infomation:

[00000510] avcodec encoder warning: broken ffmpeg default settings
detected
(libx...@0x8374270)
[00000510] avcodec encoder warning: use an encoding preset (e.g. -vpre
medium)
(libx...@0x8374270)
[00000510] avcodec encoder warning: preset usage: -vpre <speed> -vpre
<profile>
(libx...@0x8374270)
[00000510] avcodec encoder warning: speed presets are listed in x264
--help
(libx...@0x8374270)
[00000510] avcodec encoder warning: profile is optional; x264 defaults to
high
(libx...@0x8374270)
[00000510] avcodec encoder error: cannot open encoder
[00000435] stream_out_transcode stream out error: cannot find video
encoder (module:any fourcc:h264)
[00000435] stream_out_transcode stream out error: cannot create video
chain
[00000508] main packetizer error: cannot create packetizer output (mpgv)

I use Google to find the solution, but i failed.

Is there any bugs on VLC or ffmpeg or x264?

-- 
Zhankao WEN (温占考)
QQ: 616621
TEL:  +86-13604079557
MSN: [email protected]
Email: [email protected]
_______________________________________________
users mailing list
[email protected]
http://lists.rpmforge.net/mailman/listinfo/users

Reply via email to