2011-12-21 148 views
2

这个VLM Config适用于VLC 1.1,但在播放器运行马赛克超过一个小时后出现内存泄漏问题。 我已经安装了VLC 1.2,但它无法显示马赛克中的任何流(请参阅下面的错误)。个人流正常工作,我正在使用MMSH流WMV文件。 从我理解的假://访问方法已被弃用在VLC 1.2中。是否有任何其他更改会阻止这种镶嵌在VLC 1.2中工作?VLC 1.2马赛克流式传输

new bg broadcast enabled 
setup bg output #bridge-in{offset=10}:display 

#VLC 1.2 
setup bg input "http://img696.imageshack.us/img696/4131/rainbowbackgroundq.png" 

#OR- VLC 1.1 
setup bg input 'fake://' option 'fake-file=http://img696.imageshack.us/img696/4131/rainbowbackgroundq.png' option 'fake-width=800' option 'fake-height=600' 


setup bg option sub-filter=mosaic 
setup bg option mosaic-alpha=255 
setup bg option mosaic-height=600 
setup bg option mosaic-width=800 
setup bg option mosaic-align=5 
setup bg option mosaic-xoffset=0 
setup bg option mosaic-yoffset=0 
setup bg option mosaic-vborder=5 
setup bg option mosaic-hborder=5 
setup bg option mosaic-position=1 
setup bg option mosaic-rows=1 
setup bg option mosaic-cols=2 
setup bg option no-mouse-events 
setup bg option no-keyboard-events 
setup bg option no-audio 
setup bg option mosaic-order=v1,v2 
setup bg option no-mosaic-keep-picture 
setup bg option no-mosaic-keep-aspect-ratio 

new v1 broadcast enabled 
setup v1 input "mmsh://mediaserver2.otn.ca/mediasite/b2974e0a-24c3-43e4-9833-e3c9937197e0.wmv" 
setup v1 option input-repeat=-1 
setup v1 output #mosaic-bridge{id=v1,width=395,height=600} 
new v2 broadcast enabled 
setup v2 input "mmsh://mediaserver2.otn.ca/mediasite/070871fa-5b30-4e17-b83b-57b149044532.wmv" 
setup v2 option input-repeat=-1 
setup v2 output #mosaic-bridge{id=v2,width=395,height=600} 


control bg play 
control v1 play 
control v2 play 

VLC1.2错误

[0xf80ec8] dummy interface: using the dummy interface module... 
[0xf4bb68] [Media: v1] access_mms access error: cannot read data 2 
[0xf7b578] [Media: v2] access_mms access error: cannot read data 2 
[0xfd72f8] [Media: v2] main decoder error: cannot create packetizer output (WMA2) 
[0xf72ed8] [Media: v1] main input error: ES_OUT_SET_(GROUP_)PCR is called too late (pts_delay increased to 1000 ms) 
[0xf72ed8] [Media: v1] main input error: ES_OUT_RESET_PCR called 

回答

1

你试过VLC 2.0了吗?

通过VLC维基应予以更新,给你VLC 2个工作实例:http://wiki.videolan.org/Mosaic

关于你的马赛克设置更改 - 用VLC 2,这将包括以下

(1)你已经取代假:// - 不断地显示你的图像添加:

setup bg option image-duration=-1 

(2)镶嵌选项需要在命令行中去,如:

vlc -I telnet --mosaic-alpha=255 --mosaic-height=600 --mosaic-align=5 --mosaic-xoffset=0 [...] --vlm-conf /path/to/your/mosaic/config/file 

(3)转码BG广播和使用子滤波器有:

setup bg output #transcode{sfilter=mosaic,vcodec=h264,venc=x264{profile=baseline,level=30,aud},vb=768,width=800,height=600,scale=1}:standard{access=udp,mux=ts,dst=239.0.0.1:1234} 

希望这有助于和点你在正确的方向。