Page 1 of 1

What mean this error? "late picture skipped"

Posted: 08 Feb 2010 17:52
by d3v1ous
Hello, im using VLC-nox to stream my webcam over the network. I was compiled VLC as follow:

./configure '--enable-v4l' '--enable-v4l2' '--disable-nls' '--disable-mozilla' '--disable-dbus' '--disable-dbus-control' '--disable-telepathy' '--disable-lua' '--disable-cdda' '--disable-vcd' '--disable-dvb' '-disable-libcddb' '-disable-x11' '--disable-glx' '--disable-opengl' '--disable-xvideo' '--disable-xvmc' '--disable-freetype' '--disable-fontconfig' '--disable-fb' '--disable-qt4' '--disable-skins2' '--disable-sdl' '--disable-sdl-image' '--disable-notify' '--disable-libgcrypt' '--disable-mad' '--enable-avcodec' '--enable-avformat' '--disable-swscale' '--disable-postproc' '--disable-a52' '--disable-remoteosd' '--disable-live555'

Im using Debian Lenny server (without X) and I had to compile VLC from source because from the repository vlc-nox come with no v4l2 support. I start streaming with this command line:

cvlc -vvv v4l2:// :vdev=/dev/video0:width=640:height=480 :input-slave=alsa://hw:0,0 :sout="#transcode{vcodec=mp4v,acodec=mpga,vb=3000,ab=256,ab=8}:duplicate{dst=std{access=http,mux=ts,dst=0.0.0.0:1234}}"

When the stream is started i can connect from client site and able to watch the video, but after moment (maybe 10 seconds) the stream stop immediately and i can't connect it again.

Whats happen on the server side, the daemon is working but debug massage say:

[0x8acb848] main mux warning: late buffer for mux input (122563)
[0x8acb848] main mux warning: late buffer for mux input (98594)
[0x8acb848] main mux warning: late buffer for mux input (74609)
[0x8acb848] main mux warning: late buffer for mux input (136538)
[0x8acb848] main mux warning: late buffer for mux input (112557)
[0x8acb848] main mux warning: late buffer for mux input (88572)
[0x8acb848] main mux warning: late buffer for mux input (64584)
[0x8acb848] main mux warning: late buffer for mux input (45882)
[0x8acb848] main mux warning: late buffer for mux input (21901)
[0x8abe5f0] stream_out_transcode stream out debug: late picture skipped (81041)
[0x8abe5f0] stream_out_transcode stream out debug: late picture skipped (112827)
[0x8abe5f0] stream_out_transcode stream out debug: late picture skipped (144866)
[0x8abe5f0] stream_out_transcode stream out debug: late picture skipped (208870)
[0x8abe5f0] stream_out_transcode stream out debug: late picture skipped (241037)
[0x8abe5f0] stream_out_transcode stream out debug: late picture skipped (17114)
[0x8abe5f0] stream_out_transcode stream out debug: late picture skipped (282277)
[0x8abe5f0] stream_out_transcode stream out debug: late picture skipped (8066)
[0x8abe5f0] stream_out_transcode stream out debug: late picture skipped (304856)
[0x8abe5f0] stream_out_transcode stream out debug: late picture skipped (49298)
[0x8abe5f0] stream_out_transcode stream out debug: late picture skipped (369234)
[0x8abe5f0] stream_out_transcode stream out debug: late picture skipped (49091)

So anyone know what is the problem, and how to fix it??

Re: What mean this error? "late picture skipped"

Posted: 08 Feb 2010 18:07
by Rémi Denis-Courmont
Video encoding takes too much time, and VLC fails to re-synchronize audio and video afterward. You need to increase caching.

Re: What mean this error? "late picture skipped"

Posted: 08 Feb 2010 18:45
by d3v1ous
Can you tell me how to do this? I tried playing with frame-rate and bit-rate but this not have sense.

Re: What mean this error? "late picture skipped"

Posted: 08 Feb 2010 22:28
by d3v1ous
I test with:

Code: Select all

cvlc -vvv v4l2:// :vdev=/dev/video0:width=640:height=480 :input-slave=alsa://hw:0,0 --gnutls-cache-size=1000 :sout="#transcode{vcodec=mp4v,acodec=mpga,vb=3000,ab=256,ab=8}:duplicate{dst=std{access=http,mux=ts,dst=0.0.0.0:1234}}"
The result is the same:

Code: Select all

[0x874f8a8] stream_out_transcode stream out debug: late picture skipped (81048) [0x874f8a8] stream_out_transcode stream out debug: late picture skipped (113114) [0x874f8a8] stream_out_transcode stream out debug: late picture skipped (146283) [0x874f8a8] stream_out_transcode stream out debug: late picture skipped (177966) [0x874f8a8] stream_out_transcode stream out debug: late picture skipped (241183) [0x874f8a8] stream_out_transcode stream out debug: late picture skipped (16936) [0x874f8a8] stream_out_transcode stream out debug: late picture skipped (281767) [0x874f8a8] stream_out_transcode stream out debug: late picture skipped (8148) [0x874f8a8] stream_out_transcode stream out debug: late picture skipped (304956) [0x874f8a8] stream_out_transcode stream out debug: late picture skipped (49202) [0x874f8a8] stream_out_transcode stream out debug: late picture skipped (369328) [0x874f8a8] stream_out_transcode stream out debug: late picture skipped (50265) [0x874f8a8] stream_out_transcode stream out debug: late picture skipped (401096) [0x874f8a8] stream_out_transcode stream out debug: late picture skipped (81127) [0x874f8a8] stream_out_transcode stream out debug: late picture skipped (465157) [0x874f8a8] stream_out_transcode stream out debug: late picture skipped (80982) [0x874f8a8] stream_out_transcode stream out debug: late picture skipped (593111)

Re: What mean this error? "late picture skipped"

Posted: 10 Feb 2010 13:09
by d3v1ous
:( nobody can help me?

Re: What mean this error? "late picture skipped"

Posted: 10 Feb 2010 20:45
by Rémi Denis-Courmont
I think the parameter is called --sout-mux-caching

Re: What mean this error? "late picture skipped"

Posted: 10 Feb 2010 21:13
by d3v1ous

Code: Select all

cvlc -vvv v4l2:// :vdev=/dev/video0:width=640:height=480 :input-slave=alsa://hw:0,0 :sout="#transcode{vcodec=mp4v,acodec=mpga,vb=3000,ab=256,ab=8}:duplicate{dst=std{access=http,mux=ts,dst=0.0.0.0:1234}}" --sout-mux-caching=10000
Nothing changed.

Code: Select all

[0x81f18a8] main mux warning: late buffer for mux input (141203) [0x81f18a8] main mux warning: late buffer for mux input (117272) [0x81f18a8] main mux warning: late buffer for mux input (93288) [0x81f18a8] main mux warning: late buffer for mux input (155252) [0x81f18a8] main mux warning: late buffer for mux input (131271) [0x81f18a8] main mux warning: late buffer for mux input (107287) [0x81f18a8] main mux warning: late buffer for mux input (83299) [0x81f18a8] main mux warning: late buffer for mux input (97114) [0x81f18a8] main mux warning: late buffer for mux input (73133) [0x81f18a8] main mux warning: late buffer for mux input (49146) [0x81f18a8] main mux warning: late buffer for mux input (25852) [0x81f18a8] main mux warning: late buffer for mux input (1870) [0x81ec4a0] access_alsa demux warning: ALSA read overrun (17344 > 16384) [0x81ec4a0] access_alsa demux warning: ALSA read overrun (19392 > 16384) [0x81ec4a0] access_alsa demux warning: ALSA read overrun (21408 > 16384) [0x81f18a8] main mux warning: late buffer for mux input (1900) [0x81e9438] stream_out_transcode stream out debug: late picture skipped (49833) [0x81e9438] stream_out_transcode stream out debug: late picture skipped (81827) [0x81e9438] stream_out_transcode stream out debug: late picture skipped (113183) [0x81e9438] stream_out_transcode stream out debug: late picture skipped (146646) [0x81e9438] stream_out_transcode stream out debug: late picture skipped (177737) [0x81e9438] stream_out_transcode stream out debug: late picture skipped (241313) [0x81e9438] stream_out_transcode stream out debug: late picture skipped (17647) [0x81e9438] stream_out_transcode stream out debug: late picture skipped (282247) [0x81e9438] stream_out_transcode stream out debug: late picture skipped (9427) [0x81e9438] stream_out_transcode stream out debug: late picture skipped (305858) [0x81e9438] stream_out_transcode stream out debug: late picture skipped (50752) [0x81e9438] stream_out_transcode stream out debug: late picture skipped (369280) [0x81e9438] stream_out_transcode stream out debug: late picture skipped (49682) [0x81e9438] stream_out_transcode stream out debug: late picture skipped (401631) [0x81e9438] stream_out_transcode stream out debug: late picture skipped (82232) [0x81e9438] stream_out_transcode stream out debug: late picture skipped (465690) [0x81e9438] stream_out_transcode stream out debug: late picture skipped (81760) [0x81e9438] stream_out_transcode stream out debug: late picture skipped (594130) [0x81e9438] stream_out_transcode stream out debug: late picture skipped (177248) [0x81e9438] stream_out_transcode stream out debug: late picture skipped (722095) [0x81e9438] stream_out_transcode stream out debug: late picture skipped (241568) [0x81e9438] stream_out_transcode stream out debug: late picture skipped (241921) [0x81e9438] stream_out_transcode stream out debug: late picture skipped (241293) [0x81e9438] stream_out_transcode stream out debug: late picture skipped (241363) [0x81e9438] stream_out_transcode stream out debug: late picture skipped (241319) [0x81e9438] stream_out_transcode stream out debug: late picture skipped (241263) [0x81e9438] stream_out_transcode stream out debug: late picture skipped (242677) [0x81e9438] stream_out_transcode stream out debug: late picture skipped (242656) [0x81e9438] stream_out_transcode stream out debug: late picture skipped (241189) [0x81e9438] stream_out_transcode stream out debug: late picture skipped (241262) [0x81e9438] stream_out_transcode stream out debug: late picture skipped (242865) [0x81e9438] stream_out_transcode stream out debug: late picture skipped (241837) [0x81e9438] stream_out_transcode stream out debug: late picture skipped (241278) [0x81e9438] stream_out_transcode stream out debug: late picture skipped (241242) [0x81e9438] stream_out_transcode stream out debug: late picture skipped (241240)

Re: What mean this error? "late picture skipped"

Posted: 21 Apr 2010 16:03
by omidex
i hve the same issue
cpu load is max 70%

Command line for multicast

Code: Select all

vlc -v v4l2:///dev/video1:fps=40:tuner-frequency=161250:width=640:height=480:adev=/dev/dsp1:tuner-audio-mode=3:audio-method=2:samplerate=32000 --sout '#transcode{vcodec=mp2v, acodec=mpga, vb=2176,ab=128,channels=2,venc=ffmpeg,aenc=ffmpeg,deinterlace}:std{access=udp, dst=239.1.1.2:1234}'
if i'm using MMSH everything work good

Code: Select all

vlc -v v4l2:///dev/video1:fps=40:tuner-frequency=161250:width=640:height=480:adev=/dev/dsp1:tuner-audio-mode=3:audio-method=2:samplerate=32000 --sout '#transcode{vcodec=mp2v, acodec=mpga, vb=2176,ab=128,channels=2,venc=ffmpeg,aenc=ffmpeg,deinterlace}:std{{mux=avi,access=mmsh,dst=:9000}'
why?

Re: What mean this error? "late picture skipped"

Posted: 22 Apr 2010 07:23
by d3v1ous
What is mmsh and how i can access my stream??