Tuesday, 1 October 2013

Mosaic and using VLC with axis cameras

Mosaic and using VLC with axis cameras

this is my code for the mosaic
new channel1 broadcast enabled
setup channel1 input
rtsp://root:pass@192.168.1.76/axis-media/media.amp?resolution=cif&codec=h264
setup channel1 option network-caching=600
setup channel1 output #mosaic-bridge{id=1,width=352,height=288}
new channel2 broadcast enabled
setup channel2 input
rtsp://root:pass@192.168.1.76/axis-media/media.amp?resolution=cif&codec=h264
setup channel2 option network-caching=600
setup channel2 output #mosaic-bridge{id=2,width=352,height=288}
new channel3 broadcast enabled
setup channel3 input
rtsp://root:pass@192.168.1.76/axis-media/media.amp?resolution=cif&codec=h264
setup channel3 option network-caching=600
setup channel3 output #mosaic-bridge{id=3,width=352,height=288}
new channel4 broadcast enabled
setup channel4 input
rtsp://root:pass@192.168.1.76/axis-media/media.amp?resolution=cif&codec=h264
setup channel4 option network-caching=600
setup channel4 output #mosaic-bridge{id=4,width=352,height=288}
new test broadcast enabled
setup test input "file://home/background.jpg"
setup test option image-duration=-1
setup test option image-fps=0
setup test output
#transcode{sfilter=mosaic,vcodec=mp4a,vb=8500,fps=25}:display
control channel1 play
control channel2 play
control channel3 play
control channel4 play
control test play
However when using the following vlc command in the terminal to run the
mosaic_config.conf
vlc --vlm-conf /etc/mosaic_config.conf
I get the following error
VLC media player 2.0.8 Twoflower (revision 2.0.8a-0-g68cf50b)
Fontconfig warning: FcPattern object size does not accept value "0"
[0x9c91188] main libvlc: Running vlc with the default interface. Use
'cvlc' to use vlc
without interface.
[0x9d244d8] [Media: test] main input error: open of
`file://home/background.jpg' failed
[0x9d244d8] [Media: test] main input error: Your input can't be opened
[0x9d244d8] [Media: test] main input error: VLC is unable to open the MRL
'file://home
/background.jpg'. Check the log for details.
"sni-qt/4246" WARN 21:35:23.637 void
StatusNotifierItemFactory::connectToSnw() Invalid
interface to SNW_SERVICE
[0xb5036a30] [Media: channel3] main decoder error: cannot create
packetizer output (mp4a)
[0xb4e02818] [Media: channel4] main decoder error: cannot create
packetizer output (mp4a)
[0x9cbb8b8] [Media: channel2] main decoder error: cannot create packetizer
output (mp4a)
[0xb500a6b8] [Media: channel1] main decoder error: cannot create
packetizer output (mp4a)
[0x9d1d228] [Media: channel3] main input error: ES_OUT_RESET_PCR called
[0x9d20bd8] [Media: channel4] main input error: ES_OUT_RESET_PCR called
[0x9d20bd8] [Media: channel4] main input error: ES_OUT_RESET_PCR called
[0x9d2a268] [Media: channel2] main input error: ES_OUT_RESET_PCR called
[0x9d1d228] [Media: channel3] main input error: ES_OUT_RESET_PCR called
[0x9d2a268] [Media: channel2] main input error: ES_OUT_RESET_PCR called
Anyone got anyway to resolve this or maybe i should be asking this in the
videolan forum

No comments:

Post a Comment