Page 1 of 1
Mosaic - I can't get a smooth picture
Posted: 22 Apr 2012 11:25
by soisses
Hi,
I used VLC 1.11 to display four Axis-Webcams in one mosaic pictures without any problem.
After upgrading to VLC 2.0 I changed a little bit the code, because the fake input was not longer supported. Finally, I got the mosaic with the four axis webcams, but the picture is not smooth. It seems that there are many frames dropped. The CPU usage is about 40%.
Here is my code:
Code: Select all
new channel1 broadcast enabled
setup channel1 input rtsp://192.168.2.100/axis-media/media.amp?codec=h264
setup channel1 option network-caching=600
setup channel1 output #mosaic-bridge{id=1,width=480,height=360}
new channel2 broadcast enabled
setup channel2 input rtsp://192.168.2.101/axis-media/media.amp?codec=h264
setup channel2 option network-caching=600
setup channel2 output #mosaic-bridge{id=2,width=480,height=360}
new channel3 broadcast enabled
setup channe3 input rtsp://192.168.2.102/axis-media/media.amp?codec=h264
setup channel3 option network-caching=600
setup channel3 output #mosaic-bridge{id=3,width=480,height=360}
new channel4 broadcast enabled
setup channel4 input rtsp://192.168.2.103/axis-media/media.amp?codec=h264
setup channel4 option network-caching=600
setup channel4 output #mosaic-bridge{id=4,width=480,height=360}
new test broadcast enabled
setup test input "file:///background.jpg"
setup test option image-duration=-1
setup test option image-fps=0
setup test output #transcode{sfilter=mosaic,vcodec=mp4v,vb=8500,fps=25}:display
control channel1 play
control channel2 play
control channel3 play
control channel4 play
control test play
I start VLC with
Code: Select all
SET PATH=%PATH%;%programfiles%\videolan\vlc\;%programfiles(x86)%\videolan\vlc\
vlc --mosaic-width=960 --mosaic-height=720 --mosaic-delay=1 --vlm-conf=%1
Any help is greatly appreciated.
Manfred
Re: Mosaic - I can't get a smooth picture
Posted: 24 Apr 2012 10:52
by Sébastien Escudier
and, are the axis smooth if you watch them once at a time, without the mosaic ?
Re: Mosaic - I can't get a smooth picture
Posted: 25 Apr 2012 09:34
by soisses
yes, no problem when i open the video streams in vlc player.
in mosaic there are the following debug messages (repeated)
Code: Select all
main warning: original picture size is undefined
mosaic debug: too late picture for 1 (211704)
mosaic debug: too late picture for 3 (175471)
mosaic debug: too late picture for 4 (210164)
mosaic debug: too late picture for 2 (198448)
next i saved the video streams to disc and created a mosaic from the files - the same result.
at last i tried another video from my digicam - also the same result.
???
Re: Mosaic - I can't get a smooth picture
Posted: 22 Jul 2012 10:27
by soisses
Still I have no solution for my problem.
Is there anyone who uses a 2x2 mosaic with VLC > 2 with no problems?
Re: Mosaic - I can't get a smooth picture
Posted: 21 Nov 2012 17:56
by virgism
I have same problem - can't get smooth picture, debug message (input udp, output HLS):
Code: Select all
[0x185ef68] main mux warning: late buffer for mux input (279804) [181/27674]
[0x18a8798] main subpicture warning: original picture size is undefined
[0x185ef68] main mux warning: late buffer for mux input (336845)
[0x18a8798] main subpicture warning: original picture size is undefined
[0x185ef68] main mux warning: late buffer for mux input (375007)
[0x18a8798] main subpicture warning: original picture size is undefined
[0x185ef68] main mux warning: late buffer for mux input (443316)
[0x18a8798] main subpicture warning: original picture size is undefined
[0x185ef68] main mux warning: late buffer for mux input (457252)
[0x18a8798] main subpicture warning: original picture size is undefined
[0x185ef68] main mux warning: late buffer for mux input (444913)
[0x18a8798] main subpicture warning: original picture size is undefined
[0x185ef68] main mux warning: late buffer for mux input (424237)
[0x18a8798] main subpicture warning: original picture size is undefined
[0x185ef68] main mux warning: late buffer for mux input (404860)
[0x18a8798] main subpicture warning: original picture size is undefined
[0x185ef68] main mux warning: late buffer for mux input (383959)
[0x18a8798] main subpicture warning: original picture size is undefined
[0x185ef68] main mux warning: late buffer for mux input (386447)
[0x1cfa868] mosaic filter debug: too late picture for 1 (1509)
[0x1cfa868] mosaic filter debug: too late picture for 3 (21528)
[0x18a8798] main subpicture warning: original picture size is undefined
[0x185ef68] main mux warning: late buffer for mux input (362164)
[0x1cfa868] mosaic filter debug: too late picture for 1 (1509)
[0x18a8798] main subpicture warning: original picture size is undefined
[0x185ef68] main mux warning: late buffer for mux input (361919)
[0x1cfa868] mosaic filter debug: too late picture for 1 (41509)
[0x18a8798] main subpicture warning: original picture size is undefined
[0x185ef68] main mux warning: late buffer for mux input (373842)
[0x1cfa868] mosaic filter debug: too late picture for 1 (1509)
[0x18a8798] main subpicture warning: original picture size is undefined
[0x185ef68] main mux warning: late buffer for mux input (342681)
[0x1cfa868] mosaic filter debug: too late picture for 1 (41509)
[0x1cfa868] mosaic filter debug: too late picture for 3 (21528)
[0x18a8798] main subpicture warning: original picture size is undefined
[0x185ef68] main mux warning: late buffer for mux input (311310)
[0x18a8798] main subpicture warning: original picture size is undefined
[0x185ef68] main mux warning: late buffer for mux input (362217)
[0x18a8798] main subpicture warning: original picture size is undefined
[0x185ef68] main mux warning: late buffer for mux input (398106)
[0x18a8798] main subpicture warning: original picture size is undefined
[0x185ef68] main mux warning: late buffer for mux input (377570)
[0x18a8798] main subpicture warning: original picture size is undefined
[0x185ef68] main mux warning: late buffer for mux input (374457)
[0x18a8798] main subpicture warning: original picture size is undefined
[0x185ef68] main mux warning: late buffer for mux input (402198)
[0x1cfa868] mosaic filter debug: too late picture for 0 (9450)
[0x18a8798] main subpicture warning: original picture size is undefined
With --network-caching=2000 error "late buffer for mux input" disappear, but picture not smooth ( not full picture, only differrent inputs)
Re: Mosaic - I can't get a smooth picture
Posted: 12 Dec 2012 10:00
by soisses
I found a solution for this problem:
Instead of using
you have to use
Now it works perfect! Don't know why, but....
Re: Mosaic - I can't get a smooth picture
Posted: 13 Dec 2012 00:22
by Jean-Baptiste Kempf
This is weird, indeed.
Re: Mosaic - I can't get a smooth picture
Posted: 13 Dec 2012 15:54
by soisses
Accidently I found this hint in preferences:
Perhaps the documentation must be adjusted.
Re: Mosaic - I can't get a smooth picture
Posted: 31 Dec 2012 12:07
by nishant1234
what will be the maximum frame rate
Re: Mosaic - I can't get a smooth picture
Posted: 13 Mar 2013 17:41
by virgism
I found a solution for this problem:
Instead of using
you have to use
Now it works perfect! Don't know why, but....
This fixed my isssue too. Thank you.