2

此 VLM 配置适用于 VLC 1.1,但在播放器运行马赛克一个多小时后,我遇到了其他内存泄漏问题。我已经安装了 VLC 1.2,但它无法在马赛克中显示任何流(请参阅下面的错误)。单个流工作正常,我正在使用 MMSH 流式传输 WMV 文件。据我了解 fake:// 访问方法已在 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
4

1 回答 1

1

您是否已经尝试过 VLC 2.0?

VLC 的 wiki 应该更新,为您提供 VLC 2 的工作示例:http ://wiki.videolan.org/Mosaic

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

(1)您已经替换了 fake:// - 以持续显示您的图像添加:

    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}

希望这对您有所帮助并为您指明正确的方向。

于 2012-05-09T15:01:33.597 回答