Unable to play rtsp under linux

*nix specific usage questions
Mik1269
New Cone
New Cone
Posts: 3
Joined: 05 Jan 2010 09:29

Unable to play rtsp under linux

Postby Mik1269 » 05 Jan 2010 09:33

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

xtophe
Big Cone-huna
Big Cone-huna
Posts: 1209
Joined: 24 Nov 2003 10:12
Location: Bristol, England

Re: Unable to play rtsp under linux

Postby xtophe » 05 Jan 2010 13:34

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
Xtophe

Mik1269
New Cone
New Cone
Posts: 3
Joined: 05 Jan 2010 09:29

Re: Unable to play rtsp under linux

Postby Mik1269 » 05 Jan 2010 18:03

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

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

Re: Unable to play rtsp under linux

Postby Rémi Denis-Courmont » 05 Jan 2010 20:28

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.
Rémi Denis-Courmont
https://www.remlab.net/
Private messages soliciting support will be systematically discarded

Mik1269
New Cone
New Cone
Posts: 3
Joined: 05 Jan 2010 09:29

Re: Unable to play rtsp under linux

Postby Mik1269 » 05 Jan 2010 22:08

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

str3tmonk
Blank Cone
Blank Cone
Posts: 40
Joined: 21 Jun 2009 04:43

Re: Unable to play rtsp under linux

Postby str3tmonk » 21 Apr 2011 23:55

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!


Return to “VLC media player for Linux and friends Troubleshooting”

Who is online

Users browsing this forum: No registered users and 17 guests