VLC and RTSP (a imperfect marriage??? :) )

About encoding, codec settings, muxers and filter usage
r_ruivo
Blank Cone
Blank Cone
Posts: 13
Joined: 04 Nov 2008 13:18

VLC and RTSP (a imperfect marriage??? :) )

Postby r_ruivo » 04 Dec 2009 01:06

Hello,
Can anyone explain why I get this error when trying to run a transcode from a RTSP stream obtained from an IP camera?

vlc -vvv --color --noaudio rtsp://192.168.0.101/live2.sdp --sout '#duplicate{dst="transcode{vcodec=DIV3,vb=256,scale=0.66}:standard{access=mmsh,mux=asfh,dst=:8004/CAM}"}'

[00000444] stream_out_transcode stream out debug: late picture skipped (1173982)
[00000444] stream_out_transcode stream out debug: late picture skipped (1178688)
[00000444] stream_out_transcode stream out debug: late picture skipped (123913)
[00000444] stream_out_transcode stream out debug: late picture skipped (1131757)
[00000444] stream_out_transcode stream out debug: late picture skipped (1147197)
[00000444] stream_out_transcode stream out debug: late picture skipped (94366)
[00000444] stream_out_transcode stream out debug: late picture skipped (1099627)
[00000444] stream_out_transcode stream out debug: late picture skipped (1109187)
[00000444] stream_out_transcode stream out debug: late picture skipped (63453)
[00000444] stream_out_transcode stream out debug: late picture skipped (1075883)
[00000444] stream_out_transcode stream out debug: late picture skipped (1087900)
[00000444] stream_out_transcode stream out debug: late picture skipped (44593)
[00000444] stream_out_transcode stream out debug: late picture skipped (1058242)
[00000444] stream_out_transcode stream out debug: late picture skipped (1075047)
[00000444] stream_out_transcode stream out debug: late picture skipped (33932)
[00000444] stream_out_transcode stream out debug: late picture skipped (1046506)
[00000444] stream_out_transcode stream out debug: late picture skipped (1060192)
[00000444] stream_out_transcode stream out debug: late picture skipped (20706)

Rémi Denis-Courmont
Developer
Developer
Posts: 15267
Joined: 07 Jun 2004 16:01
VLC version: master
Operating System: Linux
Contact:

Re: VLC and RTSP (a imperfect marriage??? :) )

Postby Rémi Denis-Courmont » 05 Dec 2009 09:29

Your CPU is too slow at least in some spikes. You can try to increase caching, but that will increase latency, to smoothen transcoding.
Rémi Denis-Courmont
https://www.remlab.net/
Private messages soliciting support will be systematically discarded

r_ruivo
Blank Cone
Blank Cone
Posts: 13
Joined: 04 Nov 2008 13:18

Re: VLC and RTSP (a imperfect marriage??? :) )

Postby r_ruivo » 07 Dec 2009 23:23

Hello, first of all my thanks for the quick response.

I've tried the following:

vlc -vvv --color --noaudio rtsp://192.168.0.101/live2.sdp --rtsp-caching=3500 --sout '#duplicate{dst="transcode{vcodec=DIV3,vb=256,scale=0.66}:standard{access=mmsh,mux=asfh,dst=:8004/CAM}"}'

Although no longer get the previous error, still unable to open the MMS stream. VLC (client on Windows XP) gives the following error message: Unable to fill the buffer

Best regard
Ricardo Ruivo

r_ruivo
Blank Cone
Blank Cone
Posts: 13
Joined: 04 Nov 2008 13:18

Re: VLC and RTSP (a imperfect marriage??? :) )

Postby r_ruivo » 08 Dec 2009 19:52

Hello I just experience the same configuration of VLC on a machine much more powerful (Core 2 Duo T8300 2.4GHz) but the error message and behavior persist

(...)
[00000444] stream_out_transcode stream out debug: late picture skipped (1173982)
(...)

I'm using version 0.9.9 of VLC.

Best regard
Ricardo Ruivo

r_ruivo
Blank Cone
Blank Cone
Posts: 13
Joined: 04 Nov 2008 13:18

Re: VLC and RTSP (a imperfect marriage??? :) )

Postby r_ruivo » 11 Dec 2009 00:25

Dear all,
I finally managed to solve my problem, with only minor changes.
Added "fps=1" to the configuration of transcode

vlc -vvv --color --noaudio rtsp://192.168.0.101/live2.sdp --sout '#duplicate{dst="transcode{vcodec=DIV3,vb=256,scale=0.66,fps=1}:standard{access=mmsh,mux=asfh,dst=:8004/CAM}"}'

Also changed the RTSP configuration of the camera for

Frame Size: 320x240
Maximum frame rate: 10 fps
Intra frame period: 4 s
Fixed quality: Good

Now everything works perfectly well. However I can not understand what these changes can be induced in solving the problem.

Ricardo Ruivo


Return to “VLC stream-output (sout)”

Who is online

Users browsing this forum: No registered users and 16 guests