Elecard
May 19, 2013, 09:57:50 pm *
Welcome, Guest. Please login or register.
Did you miss your activation email?

Login with username, password and session length
 
   Home   Help Search Login Register  
Pages: [1]
  Print  
Author Topic: Dont read rtsp stream  (Read 21286 times)
flexy2dd
Newbie
*
Posts: 1


View Profile
« on: December 29, 2005, 08:11:46 am »

Hi,

I have a small problem, Can t play the stream.
My stream provider use a simple rtsp standard

Use the netsource filter


But crash on play!

This stream run in videolan vlc

Videolan logfile
http://www.dlgamer.com/images/freebox_vlc.log

Elecard netsource logfile
http://www.dlgamer.com/images/freebox_elecard.log

Best regards

Sorry for my english
Logged
KreZZoiD
Newbie
*
Posts: 8


View Profile WWW
« Reply #1 on: January 10, 2006, 04:20:51 am »

Hello flexy2dd,

Can you send me this server commands specification? Our RTSP NetSource filter does support RFC1236. I think the server you use does not stick to this RFC specification.
Logged

lecard Ltd.
Software Developer
KreZZoiD
Newbie
*
Posts: 8


View Profile WWW
« Reply #2 on: January 17, 2006, 11:46:04 pm »

Hello flexy2dd,

one more question - does the player crash or just gives you a message that it cannot play the stream?
Logged

lecard Ltd.
Software Developer
unknow21
Newbie
*
Posts: 1


View Profile
« Reply #3 on: January 23, 2006, 03:38:53 pm »

I try to play a stream frommy freebox ( a french set top box from adsl internet provider) .

I try with directshowfilter with graphEdit.
GraphEdit crash when i supply NetSource filter to mpeg2 decoder.

Info provide by vlc:
Quote

Flux 0:
Codec: mpga
Type: Audio

Flux 1:
Codec: mpgv
Type: Video

rtsp://mafreebox.freebox.fr/freeboxtv/202


I know it's Mpeg Ts.

Can you help me?
Logged
KreZZoiD
Newbie
*
Posts: 8


View Profile WWW
« Reply #4 on: January 31, 2006, 01:56:13 am »

Hello unknow21,

Did you use NWSource source filter or RTSP NetSource source filter?
Both  filters must be connected with MPEG2 Push Demuxer.

NWSource filter should be used if you don't plan to use RTSP commands exchange between client and server.
RTSP NetSource filer should be used if  you plan using RTSP command echange.
Logged

lecard Ltd.
Software Developer
a.dimuzio
Newbie
*
Posts: 5


View Profile
« Reply #5 on: March 24, 2006, 01:58:41 am »

Hi,
I've been evaluating exactly the same thing: playing an rtsp stream from the freebox stb.

I used NWSource, Mpeg2 Push Demuxer and Elecard Decoders for audio and video, with off course the two renderer filters at the end of the graph.

I don't really get a specific error, and I can even see some frames of the video, but nothing that can be usable.

The only error I get (from time to time) is something like "trying to open a non socket object" or similar.

The log of the NWSource I get is:

Code:
OPTIONS * RTSP/1.0
CSeq: 1

RTSP/1.0 200 OK
Cseq: 1
Server: fbxrtspd/1.0 Freebox minimal RTSP server
Public: DESCRIBE, SETUP, TEARDOWN, PLAY

DESCRIBE rtsp://mafreebox.freebox.fr/freeboxtv/201 RTSP/1.0
CSeq: 2
Accept: application/sdp

RTSP/1.0 200 OK
Cseq: 2
Content-Length: 171
Content-Type: application/sdp
Content-Language: fr
Server: fbxrtspd/1.0 Freebox minimal RTSP server

v=0
o=leCDN 1143140086 1143140086 IN IP4 kapoueh.proxad.net
s=France 2
i=France 2
c=IN IP4 0.0.0.0
t=0 0
m=video 0 RTP/AVP 33
a=control:rtsp://212.27.38.253/freeboxtv/201
SETUP rtsp://212.27.38.253/freeboxtv/201 RTSP/1.0
CSeq: 3
Transport: RTP/AVP;multicast;destination=234.5.5.5;client_port=10202-10203

RTSP/1.0 200 OK
Cseq: 3
Session: 9xlGi4bPujGxaVkgybWBMSYioLEwaZ09ncGw6IbqSHOTsZZQ0LiCu7LIJf5J5WJ
Server: fbxrtspd/1.0 Freebox minimal RTSP server
Transport: RTP/AVP;multicast;mode=play;destination=239.255.0.1;client_port=10202-10203;server_port=32768-32769

PLAY rtsp://mafreebox.freebox.fr/freeboxtv/201 RTSP/1.0
CSeq: 4
Session: 9xlGi4bPujGxaVkgybWBMSYioLEwaZ09ncGw6IbqSHOTsZZQ0LiCu7LIJf5J5WJ
Range: npt=00.00-
Scale: 1.0



One other thing.. at the end I was able to build this graph using graphedit->Open URL. Before I tried to build it myself inserting graphs by hand, but I couldn't find a way to configure the rtsp address for the NWSource filter. When I add it to the graph it asks me for a file (could that be an sdp?). If I click cancel, then using the properties editor I don't seem to be able to set the stream address.

Thanks for your help!
Logged
IvanR
Moderator
*****
Posts: 131


View Profile
« Reply #6 on: March 26, 2006, 11:31:17 pm »

Hello.

1. I think that you use RTSPNetSource, because NWSource can't connect to server via RTSP. From your logs it is clear that there is no answer to PLAY request. I don't know why your server doesn't answer on it. The RTSP dialects can be diferrent on various servers. If you can send us correct commands exchange or specification we can modify RTSPNetSorce for working with this certain server.

2.
Quote
but I couldn't find a way to configure the rtsp address for the NWSource filter

You should use RTSPNetSource for it. NWSource simply receives streaming, but doesn't connect via RTSP.
Logged
a.dimuzio
Newbie
*
Posts: 5


View Profile
« Reply #7 on: March 27, 2006, 01:48:14 am »

Quote from: "IvanR"
Hello.

1. If you can send us correct commands exchange or specification we can modify RTSPNetSorce for working with this certain server.


Is a VLC log enough for you to underst the dialect? Or should I put some sort of proxy in the middle to dump all the network traffic?

Quote from: "IvanR"

2.
Quote
but I couldn't find a way to configure the rtsp address for the NWSource filter

You should use RTSPNetSource for it. NWSource simply receives streaming, but doesn't connect via RTSP.


That's probably my mistake in writing, but the problem still reamins.. If I put an RTSPNetSource filter in a graph (using graphedit as example) it asks me for a file. Hitting cancel allows me to edit the properties of the filter, but I cannot find a way to set the incoming stream address in those properties.

Thanks a lot!
Logged
IvanR
Moderator
*****
Posts: 131


View Profile
« Reply #8 on: March 27, 2006, 10:27:11 pm »

Quote
Is a VLC log enough for you to underst the dialect? Or should I put some sort of proxy in the middle to dump all the network traffic?

Yes. We need a correct log with RTSP commands: SETUP, PLAY...

Quote
If I put an RTSPNetSource filter in a graph (using graphedit as example) it asks me for a file. Hitting cancel allows me to edit the properties of the filter, but I cannot find a way to set the incoming stream address in those properties.

Address in form "rtsp://... "should be inserted in URL field on "Settings" page.
Logged
a.dimuzio
Newbie
*
Posts: 5


View Profile
« Reply #9 on: April 04, 2006, 10:29:09 am »

Quote from: "IvanR"

Yes. We need a correct log with RTSP commands: SETUP, PLAY...


Sorry for the delay, I was kind of busy in the last few days.

Here is the log I can get from VLC:

Code:
Sending request: OPTIONS rtsp://mafreebox.freebox.fr/freeboxtv/202 RTSP/1.0
CSeq: 1
User-Agent: VLC Media Player (LIVE555 Streaming Media v2005.10.05)


Received OPTIONS response: RTSP/1.0 200 OK
Cseq: 1
Server: fbxrtspd/1.0 Freebox minimal RTSP server
Public: DESCRIBE, SETUP, TEARDOWN, PLAY


Sending request: DESCRIBE rtsp://mafreebox.freebox.fr/freeboxtv/202 RTSP/1.0
CSeq: 2
Accept: application/sdp
User-Agent: VLC Media Player (LIVE555 Streaming Media v2005.10.05)


Received DESCRIBE response: RTSP/1.0 200 OK
Cseq: 2
Content-Length: 189
Content-Type: application/sdp
Content-Language: fr
Server: fbxrtspd/1.0 Freebox minimal RTSP server


Need to read 189 extra bytes
Read 189 extra bytes: v=0
o=leCDN 1143921525 1143921525 IN IP4 kapoueh.proxad.net
s=France 3 national
i=France 3 national
c=IN IP4 0.0.0.0
t=0 0
m=video 0 RTP/AVP 33
a=control:rtsp://212.27.38.253/freeboxtv/202

Sending request: SETUP rtsp://212.27.38.253/freeboxtv/202 RTSP/1.0
CSeq: 3
Transport: RTP/AVP;unicast;client_port=2440-2441
User-Agent: VLC Media Player (LIVE555 Streaming Media v2005.10.05)


Received SETUP response: RTSP/1.0 200 OK
Cseq: 3
Session: oNgJ21GSsMwc5kEuX99YfT5ZBpMbq8yFMEfFvLnOoKQjUlEHlDvqmqfOFSPWRer
Server: fbxrtspd/1.0 Freebox minimal RTSP server
Transport: RTP/AVP;unicast;mode=play;destination=192.168.0.2;client_port=2440-24
41;server_port=32768-32769


Sending request: PLAY rtsp://mafreebox.freebox.fr/freeboxtv/202 RTSP/1.0
CSeq: 4
Session: oNgJ21GSsMwc5kEuX99YfT5ZBpMbq8yFMEfFvLnOoKQjUlEHlDvqmqfOFSPWRer
Range: npt=0.000-
User-Agent: VLC Media Player (LIVE555 Streaming Media v2005.10.05)


Received PLAY response: RTSP/1.0 200 OK
Cseq: 4
Session: oNgJ21GSsMwc5kEuX99YfT5ZBpMbq8yFMEfFvLnOoKQjUlEHlDvqmqfOFSPWRer
Server: fbxrtspd/1.0 Freebox minimal RTSP server


At a first look I don't really see the difference with the log I get using the Elecard filter. Probably it's just me not being an expert.

I hope you'll understand the problem and fix it, a lot of people is using the same STB and they would love to use different applications that VLC.
Logged
IvanR
Moderator
*****
Posts: 131


View Profile
« Reply #10 on: April 05, 2006, 03:11:04 am »

Thank you for your feedback.

1. Please try to change settings in RTSPNetSource - change multicast to unicast and set your IP address as destination. (It is unicast in VLC requests)

2. It is possible that our client can't correctly work when there is different multicast address in server's answer. We will verify it and fix. But for test you can try to set 239.255.0.1 as destination in RTSPNetSource.
Logged
a.dimuzio
Newbie
*
Posts: 5


View Profile
« Reply #11 on: April 05, 2006, 07:01:49 am »

Quote from: "IvanR"

1. Please try to change settings in RTSPNetSource - change multicast to unicast and set your IP address as destination. (It is unicast in VLC requests)


With this options here is the result:
Code:

OPTIONS * RTSP/1.0
CSeq: 1

RTSP/1.0 200 OK
Cseq: 1
Server: fbxrtspd/1.0 Freebox minimal RTSP server
Public: DESCRIBE, SETUP, TEARDOWN, PLAY

DESCRIBE rtsp://mafreebox.freebox.fr/freeboxtv/202 RTSP/1.0
CSeq: 2
Accept: application/sdp

RTSP/1.0 200 OK
Cseq: 2
Content-Length: 189
Content-Type: application/sdp
Content-Language: fr
Server: fbxrtspd/1.0 Freebox minimal RTSP server

v=0
o=leCDN 1144240190 1144240190 IN IP4 kapoueh.proxad.net
s=France 3 national
i=France 3 national
c=IN IP4 0.0.0.0
t=0 0
m=video 0 RTP/AVP 33
a=control:rtsp://212.27.38.253/freeboxtv/202
SETUP rtsp://212.27.38.253/freeboxtv/202 RTSP/1.0
CSeq: 3
Transport: RTP/AVP;unicast;destination=192.168.0.2;ttl=2;client_port=10202-10203

RTSP/1.0 200 OK
Cseq: 3
Session: npWiaJLeWTxeV5ufnRZEaXCxVXwWX9fao1joAUtnEQspLMvZukuu8WSTKeGxdLy
Server: fbxrtspd/1.0 Freebox minimal RTSP server
Transport: RTP/AVP;unicast;mode=play;destination=192.168.0.2;client_port=10202-10203;server_port=32768-32769

PLAY rtsp://mafreebox.freebox.fr/freeboxtv/202 RTSP/1.0
CSeq: 4
Session: npWiaJLeWTxeV5ufnRZEaXCxVXwWX9fao1joAUtnEQspLMvZukuu8WSTKeGxdLy
Range: npt=0.000-
Scale: 1.00

RTSP/1.0 200 OK
Cseq: 4
Session: npWiaJLeWTxeV5ufnRZEaXCxVXwWX9fao1joAUtnEQspLMvZukuu8WSTKeGxdLy
Server: fbxrtspd/1.0 Freebox minimal RTSP server

PLAY rtsp://mafreebox.freebox.fr/freeboxtv/202 RTSP/1.0
CSeq: 5
Session: npWiaJLeWTxeV5ufnRZEaXCxVXwWX9fao1joAUtnEQspLMvZukuu8WSTKeGxdLy
Range: npt=00.00-
Scale: 1.0

RTSP/1.0 455 Method Not Valid In This State
Cseq: 5
Server: fbxrtspd/1.0 Freebox minimal RTSP server

TEARDOWN rtsp://mafreebox.freebox.fr/freeboxtv/202 RTSP/1.0
CSeq: 6
Session: npWiaJLeWTxeV5ufnRZEaXCxVXwWX9fao1joAUtnEQspLMvZukuu8WSTKeGxdLy



Quote from: "IvanR"

2. It is possible that our client can't correctly work when there is different multicast address in server's answer. We will verify it and fix. But for test you can try to set 239.255.0.1 as destination in RTSPNetSource.


And this is the log with these parameters:

Code:

OPTIONS * RTSP/1.0
CSeq: 1

RTSP/1.0 200 OK
Cseq: 1
Server: fbxrtspd/1.0 Freebox minimal RTSP server
Public: DESCRIBE, SETUP, TEARDOWN, PLAY

DESCRIBE rtsp://mafreebox.freebox.fr/freeboxtv/202 RTSP/1.0
CSeq: 2
Accept: application/sdp

RTSP/1.0 200 OK
Cseq: 2
Content-Length: 189
Content-Type: application/sdp
Content-Language: fr
Server: fbxrtspd/1.0 Freebox minimal RTSP server

v=0
o=leCDN 1144240436 1144240436 IN IP4 kapoueh.proxad.net
s=France 3 national
i=France 3 national
c=IN IP4 0.0.0.0
t=0 0
m=video 0 RTP/AVP 33
a=control:rtsp://212.27.38.253/freeboxtv/202
SETUP rtsp://212.27.38.253/freeboxtv/202 RTSP/1.0
CSeq: 3
Transport: RTP/AVP;multicast;destination=239.255.0.1;ttl=1;client_port=10202-10203

RTSP/1.0 200 OK
Cseq: 3
Session: DHG3s0hXGzcicy7wIsRHeArPEXdIyB019xVso3fUth3vF1SejzMoZ33uQ73fyU7
Server: fbxrtspd/1.0 Freebox minimal RTSP server
Transport: RTP/AVP;multicast;mode=play;destination=239.255.0.1;client_port=10202-10203;server_port=32768-32769

PLAY rtsp://mafreebox.freebox.fr/freeboxtv/202 RTSP/1.0
CSeq: 4
Session: DHG3s0hXGzcicy7wIsRHeArPEXdIyB019xVso3fUth3vF1SejzMoZ33uQ73fyU7
Range: npt=0.000-
Scale: 1.00

RTSP/1.0 200 OK
Cseq: 4
Session: DHG3s0hXGzcicy7wIsRHeArPEXdIyB019xVso3fUth3vF1SejzMoZ33uQ73fyU7
Server: fbxrtspd/1.0 Freebox minimal RTSP server

PLAY rtsp://mafreebox.freebox.fr/freeboxtv/202 RTSP/1.0
CSeq: 5
Session: DHG3s0hXGzcicy7wIsRHeArPEXdIyB019xVso3fUth3vF1SejzMoZ33uQ73fyU7
Range: npt=00.00-
Scale: 1.0

RTSP/1.0 455 Method Not Valid In This State
Cseq: 5
Server: fbxrtspd/1.0 Freebox minimal RTSP server

TEARDOWN rtsp://mafreebox.freebox.fr/freeboxtv/202 RTSP/1.0
CSeq: 6
Session: DHG3s0hXGzcicy7wIsRHeArPEXdIyB019xVso3fUth3vF1SejzMoZ33uQ73fyU7

[/code]
Logged
a.dimuzio
Newbie
*
Posts: 5


View Profile
« Reply #12 on: May 17, 2006, 03:47:04 am »

Hi Ivan,
do you have any news on this subject?

A lot of French users are waiting for a working version to use with this provider ;-)

Thanks a lot!
Logged
IvanR
Moderator
*****
Posts: 131


View Profile
« Reply #13 on: May 18, 2006, 04:14:15 am »

Hello.

Thank you for your feedback.
We will add the support of this server in the next release of RTSPNetSource.

If you want to quicken the process, you can write to our technical support tsup@elecard.net.ru and we will discuss it.
Logged
Pages: [1]
  Print  
 
Jump to:  

Powered by MySQL Powered by PHP Powered by SMF 1.1.16 | SMF © 2011, Simple Machines Valid XHTML 1.0! Valid CSS!