Page 1 of 1

Unable to play rtsp under linux

Posted: 05 Jan 2010 09:33
by Mik1269
I am are not able to play rtsp stream under linux from an IP camera.
The following command line:

vlc 'rtsp://192.168.1.100/axis-media/media.amp?videocodec=jpeg&audio=0'

works under Windows but with Ubuntu 8.10 generates the following errors:

[0x9f47cd0] live555 demux error: RTSP PLAY failed PLAY: cannot handle response: RTSP/1.0 400 Bad Request
[0x9f3b5e8] main input error: open of 'rtsp://192.168.1.100/axis-media/media.amp?videocodec=jpeg&audio=0' failed: (null)

Any idea ? VLC is version 1.0.2.
Thank you.
Mik

Re: Unable to play rtsp under linux

Posted: 05 Jan 2010 13:34
by xtophe
You might be bitten by http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=539946

Try the debian package or wait for vlc 1.0.4-1 to arrive in ubuntu

Re: Unable to play rtsp under linux

Posted: 05 Jan 2010 18:03
by Mik1269
I tryed version 1.0.4-1 but problem remains. To be honest bug 539946 seems to be something different by the problem I have.

Mik

Re: Unable to play rtsp under linux

Posted: 05 Jan 2010 20:28
by RĂ©mi Denis-Courmont
It's not a problem with the version of VLC, it's a problem with the version of live555 that VLC was compiled with.

Try:
locale; LANG=C vlc 'rtsp://192.168.1.100/axis-media/media.amp?videocodec=jpeg&audio=0'
If it works, then Christophe was right.

Re: Unable to play rtsp under linux

Posted: 05 Jan 2010 22:08
by Mik1269
Ok, I don't get the same error.
VLC starts ... seems it is buffering ..but after few seconds I get error message:
[0x93f7660] main input error: ES_OUT_RESET_PCR called
(after about 30 seconds)
Killed
and VLC stops running.

Any other idea ?

Thank you a lot for the help.

Mik

Re: Unable to play rtsp under linux

Posted: 21 Apr 2011 23:55
by str3tmonk
Having the same issue with RTSP stream. It works for exactly 2:00-2:17 minutes and then it stops with this error:

Code: Select all

[0x1e7e130] live555 demux warning: no data received in 10s, eof ? [0x1c45ba0] main input debug: EOF reached [0x1c3f390] main playlist debug: finished input [0x7f3588007980] main decoder debug: removing module "packetizer_copy" [0x7f3588007980] main decoder debug: killing decoder fourcc `WMA2', 0 PES in FIFO [0x7f3588000f70] main stream output debug: removing a sout input (sout_input:0x7f3588009250) [0x1e7d650] mux_asf mux debug: removing input [0x7f35880089b0] main decoder debug: removing module "packetizer_copy" [0x7f35880089b0] main decoder debug: killing decoder fourcc `WMV3', 0 PES in FIFO [0x7f3588000f70] main stream output debug: removing a sout input (sout_input:0x7f3588009540) [0x1e7d650] mux_asf mux debug: removing input [0x1e7d650] main mux warning: no more input streams for this mux Sending request: TEARDOWN rtsp://213.251.171.73/TT/ RTSP/1.0 CSeq: 7 Session: 2734762693206016364 User-Agent: LibVLC/1.1.8 (LIVE555 Streaming Media v2010.04.09) [0x7f35880015b0] asf demux warning: cannot peek while getting new packet, EOF ? [0x234bad0] main stream debug: thread ended
Does anyone know why this could be happening?

Thank you!

EDIT:
Found the solution for this particular RTSP stream. It seems like it's streaming from a WMserver so it needs the "--rtsp-wmserver" tag in the command-line. Hope this helps someone!

Thanks for an awesome product!