Why does Mosaic with VLC 2.0.x stop after 9 seconds?

Microsoft Windows specific usage questions
Forum rules
Please post only Windows specific questions in this forum category. If you don't know where to post, please read the different forums' rules. Thanks.
slimjim
New Cone
New Cone
Posts: 7
Joined: 23 Mar 2010 09:16

Why does Mosaic with VLC 2.0.x stop after 9 seconds?

Postby slimjim » 06 Aug 2012 17:52

I am trying to create a 2x2 mosaic with VLC 2.0.3 on W7 x64 using this code:

mosaic.conf

Code: Select all

new channel1 broadcast enabled setup channel1 input "f:\video\test1.mp4" setup channel1 output #duplicate{dst=mosaic-bridge{id=1,height=576,width=720},select=video,dst=bridge-out{id=1},select=audio} new channel2 broadcast enabled setup channel2 input "f:\video\test2.mp4" setup channel2 output #duplicate{dst=mosaic-bridge{id=2,height=576,width=720},select=video} new channel3 broadcast enabled setup channel3 input "f:\video\test3.mp4" setup channel3 output #duplicate{dst=mosaic-bridge{id=3,height=576,width=720},select=video} new channel4 broadcast enabled setup channel4 input "f:\video\test4.mp4" setup channel4 output #duplicate{dst=mosaic-bridge{id=4,height=576,width=720},select=video} new background broadcast enabled setup background input file:///background1440x1152.png setup background output #transcode{vcodec=h264,vb=0,scale=0,sfilter=mosaic}:bridge-in{offset=100}:duplicate{dst=file{dst=f:\video\test.mp4},dst=rtp{sdp=rtsp://:5544/rtsp}} control background play control channel1 play control channel2 play control channel3 play control channel4 play
mosaic.bat

Code: Select all

"vlc.exe" "--vlm-conf=./mosaic.conf" "--mosaic-width=1440" "--mosaic-height=1152" "--mosaic-keep-picture" "--mosaic-rows=2" "--mosaic-cols=2" "--mosaic-position=1" "--mosaic-order=1,2,3,4" "--ttl=12" "--udp-caching=800" --file-logging
The stream and the file both work for pretty exactly 9 seconds, then VLC crashes. The log file says

Code: Select all

main error: url still registered: /rtsp/trackID=1 stream_out_mosaic_bridge error: image conversion failed
I tried this with different inputs (RTSP streams, files) and on different hardware, the symptoms are the same.
With VLC 1.1.11 (code adapted for the versions < 2), the mosaic will not stop, but I get audio issues there ...

Any help or hints to helpful documentation is gladly appreciated.

sibeMamnue
Blank Cone
Blank Cone
Posts: 28
Joined: 30 Aug 2011 08:47

Re: Why does Mosaic with VLC 2.0.x stop after 9 seconds?

Postby sibeMamnue » 07 Aug 2012 22:59

this occurs because background is a picture and picture playing stops after 9 seconds. Try this option on background in config file and it will be fixed :)

setup background option image-duration=-1

also you have to set vb (video bitrate) a valid value for example 10000.
your scale also must be a valid value such as 1 or 2 , 1.5 and so on. This value specifies the resolution of output image as scaling factor to statndard resolution 640*480.

slimjim
New Cone
New Cone
Posts: 7
Joined: 23 Mar 2010 09:16

Re: Why does Mosaic with VLC 2.0.x stop after 9 seconds?

Postby slimjim » 14 Aug 2012 13:56

Thanks a lot, this was the information I was missing, solution works :-)


Return to “VLC media player for Windows Troubleshooting”

Who is online

Users browsing this forum: No registered users and 22 guests