Page 1 of 1

rtsp works for VLC clients only

Posted: 13 May 2006 06:21
by selket
Using VLC for Windows (precompiled 0.8.5) I have been having problems with serving VoD streams. I set up the stream with the telnet interface launched either through the GUI or by

Code: Select all

VLC\> vlc -vvv -I telnet --telnet-port 4212 --telnet-password xxxx --rtsp-host 0.0.0.0:554 VLC\> vlc -vvv -I telnet --telnet-port 4212 --telnet-password xxxx --rtsp-host 192.168.0.2:554
and then configure from telnet with:

Code: Select all

> new Test vod enabled input test.ts > show media : ( 0 broadcast - 1 vod ) Test type : vod enabled : yes instances schedule
I can play the stream from a seccond instance of VLC but not from any other player locally or a set top box remotely. Everything works fine for UDP streams. Below are the failure messages of various players I have tried.

QuickTime7:
Couldn't open the file "Test" because a software
componenet needed by the movie could not be found.

QuickTime 6.5.2:
Couldn't open the file "Test" because a necessary
data reference could not be resoloved.

RealPlayer 10:
Connection to server could not be established. You may be experiencing
newtwork problems.

rtsp://192.168.0.2/Test

telnet localhost 554:
SETUP Test RTSP/1.0
CSeq: 1
Transport: RTP/UDP; client_port=1234
---------------------
RTSP/1.0 404 Not found
Content-Length: 324
Content-Type: text/html

<?xml version="1.0" encoding="us-ascii" ?><!DOCTYPE html PUBLIC "-//W3C//DTD XH
TML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml10/DTD/xhtml10strict.dtd">
<html>
<head>
<title>Error 404</title>
</head>
<body>
<h1>404 Resource not found(Test)</h1>
<hr />
<p><a href="http://www.videolan.org"> VideoLAN</a></p>
</body>
</html>

On all clients I, of course, specified the URL with and without the :554 port identifier. Same results in all cases.

help please :?

One more player

Posted: 13 May 2006 06:28
by selket
Oh, one more player

Windows Media 10 (rtps://192.168.0.2/Test)

Windows Media Player cannot play the file because a network error occurred. The server might not be available. Verify that you are connected to the network and that your proxy settings are correct.

Windows Media 10 (rtps://192.168.0.2:554/Test)
Windows Media Player cannot play the file. If the file is on another computer, verify that you are connected to the network. If you typed a path, verify that it is correct. If the problem persists, the server might not be available.

-selket

same problem

Posted: 29 May 2006 16:41
by tenka
hi everybody,

i've experienced the same problem,

when configuring the rtsp server, everything goes fine.
but when i am trying to read rtsp://ip:5554/test i have the same error has the previous post.
(with windows media player, realplayer ...)

but when installing vlc media player on a windows OS , the stream 's read perfectly.

i hope someone can help us.

thx in advance.

Re: One more player

Posted: 21 Jun 2006 00:10
by Guest
Oh, one more player

Windows Media 10 (rtps://192.168.0.2/Test)

Windows Media Player cannot play the file because a network error occurred. The server might not be available. Verify that you are connected to the network and that your proxy settings are correct.

Windows Media 10 (rtps://192.168.0.2:554/Test)
Windows Media Player cannot play the file. If the file is on another computer, verify that you are connected to the network. If you typed a path, verify that it is correct. If the problem persists, the server might not be available.

-selket

Re: rtsp works for VLC clients only

Posted: 24 Apr 2008 00:15
by ugg
*bump* yup same problem here, basically the same errors from windows media player.
errors from vlc 0.8.6d messages window when played from windows media player 9 (old version as i dont use it)

from rtsp://localhost/test:
main debug: Connection from 127.0.0.1
vod_rtsp debug: RtspCallback query: type=7
main debug: Connection from 127.0.0.1
vod_rtsp debug: RtspCallback query: type=7

from rtsp://localhost:554/test
main debug: Connection from 127.0.0.1
vod_rtsp debug: RtspCallback query: type=7
main debug: Connection from 127.0.0.1
main debug: Connection from 127.0.0.1
main debug: Connection from 127.0.0.1
vod_rtsp debug: RtspCallback query: type=7
main debug: Connection from 127.0.0.1
main debug: Connection from 127.0.0.1

guess this could just be specific for wmp 9 but i can't supply any other info thats new, and it does work when played in vlc
same errors when the file was streamed untuched or transcoded
#transcode{vcodec=mp4v,vb=192,scale=1,acodec=mp4a,ab=32}
source video is div3 low motion and mp3 and openDML(avi v2.0) although i guess the source file isn't the issue.

well good luck all you bug hunters :>