RTSP stream stops after ~20 seconds

For questions and discussion that is NOT (I repeat NOT) specific to a certain Operating System.
MikeQBF
Blank Cone
Blank Cone
Posts: 87
Joined: 26 Apr 2007 07:18

RTSP stream stops after ~20 seconds

Postby MikeQBF » 05 May 2009 20:51

Environment is networked video from appliance MPEG-4 encoder. No error codes or other log messages when stream stops. Problem is the same with 0.9.8 and 0.9.9 regardless of OS platform; on MacOS it will usually crash shortly after stopping, on Windows and Linux you can restart the stream, with the same end result.

What's really odd is there is no problem with 0.8.6 - works great, as a matter of fact, under "virgin" defaults. Same goes for QuickTime, no problems, keeps right on going (and going).

I'm baffled after spending most of the day hammering on codec settings. Any insights?

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: RTSP stream stops after ~20 seconds

Postby Jean-Baptiste Kempf » 05 May 2009 23:07

Messages?
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.

MikeQBF
Blank Cone
Blank Cone
Posts: 87
Joined: 26 Apr 2007 07:18

Re: RTSP stream stops after ~20 seconds

Postby MikeQBF » 06 May 2009 03:04

None - not a thing after the normal startup chatter. It just stops. A colleague confirmed that it also breaks standalone live555 the same way.

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: RTSP stream stops after ~20 seconds

Postby Jean-Baptiste Kempf » 06 May 2009 12:29

There are always messages...
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.

MikeQBF
Blank Cone
Blank Cone
Posts: 87
Joined: 26 Apr 2007 07:18

Re: RTSP stream stops after ~20 seconds

Postby MikeQBF » 06 May 2009 15:40

OK, j-b, I'll dig around yet again, but this is one of the issues that is leaving me scratching my head over this. I get nothing whether running through a GUI or directly from the command line with -vvv, etc. Makes it a pain to diagnose, yes?

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

Re: RTSP stream stops after ~20 seconds

Postby Rémi Denis-Courmont » 06 May 2009 17:05

Make sure you're still receiving data. It sounds like a firewall or the server is timing out earlier than specified.
Rémi Denis-Courmont
https://www.remlab.net/
Private messages soliciting support will be systematically discarded

MikeQBF
Blank Cone
Blank Cone
Posts: 87
Joined: 26 Apr 2007 07:18

Re: RTSP stream stops after ~20 seconds

Postby MikeQBF » 06 May 2009 20:29

Thanks, guys... we're getting closer.

j-b - yes, there are messages (MacOS crashing was interfering with message log, moved the testing to Ubuntu). All it's telling me is that the stream has stopped...

Rémi - ...and, yes, in monitoring the stream it has indeed stopped at the encoder. Thank you for the "forehead slap" lead on the problem.

At the moment we are pursuing a possible difference in the RTSP handshake between 0.8.6 and 0.9.x which might be changing (or setting) a timeout value in the stream server.

MikeQBF
Blank Cone
Blank Cone
Posts: 87
Joined: 26 Apr 2007 07:18

Re: RTSP stream stops after ~20 seconds

Postby MikeQBF » 07 May 2009 07:01

We just confirmed that this is a problem with VLC and the use of GET_PARAMETER as an RTSP stream keep-alive. The latest versions don't "ping" the encoder/server with this keep-alive handshake. This was broken with 0.8.6e, and the problem documented with trac Ticket #1881. Unfortunately, it was recorded as "fixed" when it apparently isn't.

Do we reopen the ticket, or create a new one?

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: RTSP stream stops after ~20 seconds

Postby Jean-Baptiste Kempf » 07 May 2009 13:45

Create a new one.
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.

bipinskumar
New Cone
New Cone
Posts: 1
Joined: 30 Dec 2009 05:29

Re: RTSP stream stops after ~20 seconds

Postby bipinskumar » 30 Dec 2009 05:41

Is this issue fixed in the new version 1.0.3 ?


Return to “General VLC media player Troubleshooting”

Who is online

Users browsing this forum: No registered users and 46 guests