Mosaic - I can't get a smooth picture

Discussion about configuration and usage of VLM (a stream scheduler) within VLC.
soisses
Blank Cone
Blank Cone
Posts: 14
Joined: 29 Sep 2009 17:17

Mosaic - I can't get a smooth picture

Postby soisses » 22 Apr 2012 11:25

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

Sébastien Escudier
Big Cone-huna
Big Cone-huna
Posts: 853
Joined: 06 Nov 2008 08:38
Operating System: linux

Re: Mosaic - I can't get a smooth picture

Postby Sébastien Escudier » 24 Apr 2012 10:52

and, are the axis smooth if you watch them once at a time, without the mosaic ?

soisses
Blank Cone
Blank Cone
Posts: 14
Joined: 29 Sep 2009 17:17

Re: Mosaic - I can't get a smooth picture

Postby soisses » 25 Apr 2012 09:34

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.

???

soisses
Blank Cone
Blank Cone
Posts: 14
Joined: 29 Sep 2009 17:17

Re: Mosaic - I can't get a smooth picture

Postby soisses » 22 Jul 2012 10:27

Still I have no solution for my problem.

Is there anyone who uses a 2x2 mosaic with VLC > 2 with no problems?

virgism
New Cone
New Cone
Posts: 2
Joined: 21 Nov 2012 17:23

Re: Mosaic - I can't get a smooth picture

Postby virgism » 21 Nov 2012 17:56

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)

soisses
Blank Cone
Blank Cone
Posts: 14
Joined: 29 Sep 2009 17:17

Re: Mosaic - I can't get a smooth picture

Postby soisses » 12 Dec 2012 10:00

I found a solution for this problem:

Instead of using

Code: Select all

setup test option image-fps=25
you have to use

Code: Select all

setup test option image-fps=25/1
Now it works perfect! Don't know why, but....

Jean-Baptiste Kempf
Site Administrator
Site Administrator
Posts: 37523
Joined: 22 Jul 2005 15:29
VLC version: 4.0.0-git
Operating System: Linux, Windows, Mac
Location: Cone, France
Contact:

Re: Mosaic - I can't get a smooth picture

Postby Jean-Baptiste Kempf » 13 Dec 2012 00:22

This is weird, indeed.
Jean-Baptiste Kempf
http://www.jbkempf.com/ - http://www.jbkempf.com/blog/category/Videolan
VLC media player developer, VideoLAN President and Sites administrator
If you want an answer to your question, just be specific and precise. Don't use Private Messages.

soisses
Blank Cone
Blank Cone
Posts: 14
Joined: 29 Sep 2009 17:17

Re: Mosaic - I can't get a smooth picture

Postby soisses » 13 Dec 2012 15:54

Accidently I found this hint in preferences:

Image

Perhaps the documentation must be adjusted.

nishant1234
New Cone
New Cone
Posts: 9
Joined: 06 Dec 2012 06:25

Re: Mosaic - I can't get a smooth picture

Postby nishant1234 » 31 Dec 2012 12:07

what will be the maximum frame rate

virgism
New Cone
New Cone
Posts: 2
Joined: 21 Nov 2012 17:23

Re: Mosaic - I can't get a smooth picture

Postby virgism » 13 Mar 2013 17:41

I found a solution for this problem:

Instead of using

Code: Select all

setup test option image-fps=25
you have to use

Code: Select all

setup test option image-fps=25/1
Now it works perfect! Don't know why, but....
This fixed my isssue too. Thank you.


Return to “VLM”

Who is online

Users browsing this forum: No registered users and 5 guests