ASF over RTSP/RTP?

classic Classic list List threaded Threaded
11 messages Options
Reply | Threaded
Open this post in threaded view
|

ASF over RTSP/RTP?

Maxim Levitsky
Recently I faced a ASF stream embedded in RTSP/RTP.

Gstream doesn't support it now.
But I found this:

http://people.freedesktop.org/~tpm/rtp-asf-depayloader-1.diff

I didn't yet test this, but I want to ask you what the fate of this
patch, who wrote it, and why it is not in gstreamer?

Best regards,
        Maxim Levitsky


-------------------------------------------------------------------------
This SF.Net email is sponsored by the Moblin Your Move Developer's challenge
Build the coolest Linux based applications with Moblin SDK & win great prizes
Grand prize is a trip for two to an Open Source event anywhere in the world
http://moblin-contest.org/redirect.php?banner_id=100&url=/
_______________________________________________
gstreamer-devel mailing list
[hidden email]
https://lists.sourceforge.net/lists/listinfo/gstreamer-devel
Reply | Threaded
Open this post in threaded view
|

Re: ASF over RTSP/RTP?

Maxim Levitsky
On Sat, 2008-11-29 at 17:10 +0200, Maxim Levitsky wrote:

> Recently I faced a ASF stream embedded in RTSP/RTP.
>
> Gstream doesn't support it now.
> But I found this:
>
> http://people.freedesktop.org/~tpm/rtp-asf-depayloader-1.diff
>
> I didn't yet test this, but I want to ask you what the fate of this
> patch, who wrote it, and why it is not in gstreamer?
>
> Best regards,
> Maxim Levitsky

I did test it and it does work perfectly.
Only thing that prevents totem working (I have to use custom gst-launch
command) is that rtspsrc defaults to udp, and doesn't retry with tcp.

I applied the patch by hand.

so this works:

gst-launch rtspsrc location="rtsp://..."  protocols=0x4   !
rtpasfdepay ! filesink location=test.wmv


Best regards,
        Maxim Levitsky


-------------------------------------------------------------------------
This SF.Net email is sponsored by the Moblin Your Move Developer's challenge
Build the coolest Linux based applications with Moblin SDK & win great prizes
Grand prize is a trip for two to an Open Source event anywhere in the world
http://moblin-contest.org/redirect.php?banner_id=100&url=/
_______________________________________________
gstreamer-devel mailing list
[hidden email]
https://lists.sourceforge.net/lists/listinfo/gstreamer-devel
Reply | Threaded
Open this post in threaded view
|

Re: ASF over RTSP/RTP?

Eric Zhang-6
Hi, gstreamer-devel:
 
    It's cool, I also need an asf depay. I think this plugin will be added into gstreamer soon.  Maxim, which rtsp server do you use? It only supports TCP? I am looking for a TCP environment for RTSP/RTP testing, Thanks.
 
Eric Zhang

2008/12/1 Maxim Levitsky <[hidden email]>
On Sat, 2008-11-29 at 17:10 +0200, Maxim Levitsky wrote:
> Recently I faced a ASF stream embedded in RTSP/RTP.
>
> Gstream doesn't support it now.
> But I found this:
>
> http://people.freedesktop.org/~tpm/rtp-asf-depayloader-1.diff
>
> I didn't yet test this, but I want to ask you what the fate of this
> patch, who wrote it, and why it is not in gstreamer?
>
> Best regards,
>       Maxim Levitsky

I did test it and it does work perfectly.
Only thing that prevents totem working (I have to use custom gst-launch
command) is that rtspsrc defaults to udp, and doesn't retry with tcp.

I applied the patch by hand.

so this works:

gst-launch rtspsrc location="rtsp://..."  protocols=0x4   !
rtpasfdepay ! filesink location=test.wmv


Best regards,
       Maxim Levitsky


-------------------------------------------------------------------------
This SF.Net email is sponsored by the Moblin Your Move Developer's challenge
Build the coolest Linux based applications with Moblin SDK & win great prizes
Grand prize is a trip for two to an Open Source event anywhere in the world
http://moblin-contest.org/redirect.php?banner_id=100&url=/
_______________________________________________
gstreamer-devel mailing list
[hidden email]
https://lists.sourceforge.net/lists/listinfo/gstreamer-devel


-------------------------------------------------------------------------
This SF.Net email is sponsored by the Moblin Your Move Developer's challenge
Build the coolest Linux based applications with Moblin SDK & win great prizes
Grand prize is a trip for two to an Open Source event anywhere in the world
http://moblin-contest.org/redirect.php?banner_id=100&url=/
_______________________________________________
gstreamer-devel mailing list
[hidden email]
https://lists.sourceforge.net/lists/listinfo/gstreamer-devel
Reply | Threaded
Open this post in threaded view
|

Re: ASF over RTSP/RTP?

Maxim Levitsky
On Mon, 2008-12-01 at 09:50 +0800, Eric Zhang wrote:
> Hi, gstreamer-devel:
>  
>     It's cool, I also need an asf depay. I think this plugin will be
> added into gstreamer soon.  Maxim, which rtsp server do you use? It
> only supports TCP? I am looking for a TCP environment for RTSP/RTP
> testing, Thanks.
This is internal university server.

The problem is that that server DO support audio via udp, but doesn't
support video via UDP:


RTSP/1.0 461 Unsupported Transport
Date: Mon, 01 Dec 2008 14:51:40 GMT
CSeq: 4
Session: 15470279350565986777;timeout=120
Server: WMServer/9.1.1.3862
Supported: com.microsoft.wm.srvppair, com.microsoft.wm.sswitch,
com.microsoft.wm.eosmsg, com.microsoft.wm.fastcache,
com.microsoft.wm.packetpairssrc, com.microsoft.wm.startupprofile


It would be great to see that patch in gstreamer.


Best regards,
        Maxim Levitsky



-------------------------------------------------------------------------
This SF.Net email is sponsored by the Moblin Your Move Developer's challenge
Build the coolest Linux based applications with Moblin SDK & win great prizes
Grand prize is a trip for two to an Open Source event anywhere in the world
http://moblin-contest.org/redirect.php?banner_id=100&url=/
_______________________________________________
gstreamer-devel mailing list
[hidden email]
https://lists.sourceforge.net/lists/listinfo/gstreamer-devel
Reply | Threaded
Open this post in threaded view
|

Re: ASF over RTSP/RTP?

Maxim Levitsky
On Mon, 2008-12-01 at 17:27 +0200, Maxim Levitsky wrote:

> On Mon, 2008-12-01 at 09:50 +0800, Eric Zhang wrote:
> > Hi, gstreamer-devel:
> >  
> >     It's cool, I also need an asf depay. I think this plugin will be
> > added into gstreamer soon.  Maxim, which rtsp server do you use? It
> > only supports TCP? I am looking for a TCP environment for RTSP/RTP
> > testing, Thanks.
> This is internal university server.
>
> The problem is that that server DO support audio via udp, but doesn't
> support video via UDP:
>
>
> RTSP/1.0 461 Unsupported Transport
> Date: Mon, 01 Dec 2008 14:51:40 GMT
> CSeq: 4
> Session: 15470279350565986777;timeout=120
> Server: WMServer/9.1.1.3862
> Supported: com.microsoft.wm.srvppair, com.microsoft.wm.sswitch,
> com.microsoft.wm.eosmsg, com.microsoft.wm.fastcache,
> com.microsoft.wm.packetpairssrc, com.microsoft.wm.startupprofile
>
>
> It would be great to see that patch in gstreamer.
>
>
> Best regards,
> Maxim Levitsky
>
>


Here an example:

rtsp://wm.nasa-global.speedera.net/wm.nasa-global/ksc/edw_113008_sts126_landing.wmv?SAMI=http://anon.nasa-global.edgesuite.net/anon.nasa-global/ksc/edw_113008_sts126_landing.smi


Note that actual url was mms://
Usual microsoft tactic.

How about to detect this, and use rtsp as a fallback to mms:// ?

What do you gstreamer developers think?

It seems that things are rather inactive here.

Best regards,
        Maxim Levitsky


PS:

When trying to watch media on the web, I run into lots of unsupported
files, some, and maybe many are supported, but for some reasons don't
work.

I try to provide you with links and detailed explanation of issues.


Also I want to note that for some reason seek doesn't work with the asf
over rtsp, maybe the rtsp is guilty as it never sends PLAY with range
params, instead it sends TEARDOWN


Hope you don't ignore me, as I want to help at least a bit to make
linux on-line video experience a bit better.





-------------------------------------------------------------------------
This SF.Net email is sponsored by the Moblin Your Move Developer's challenge
Build the coolest Linux based applications with Moblin SDK & win great prizes
Grand prize is a trip for two to an Open Source event anywhere in the world
http://moblin-contest.org/redirect.php?banner_id=100&url=/
_______________________________________________
gstreamer-devel mailing list
[hidden email]
https://lists.sourceforge.net/lists/listinfo/gstreamer-devel
Reply | Threaded
Open this post in threaded view
|

Re: ASF over RTSP/RTP?

Eric Zhang-6
In reply to this post by Maxim Levitsky
Hi, gstreamer-devel:

    So, what is your `Transport' header in your RTSP `SETUP' request? That's the key point.

Eric Zhang

2008/12/1 Maxim Levitsky <[hidden email]>
On Mon, 2008-12-01 at 09:50 +0800, Eric Zhang wrote:
> Hi, gstreamer-devel:
>
>     It's cool, I also need an asf depay. I think this plugin will be
> added into gstreamer soon.  Maxim, which rtsp server do you use? It
> only supports TCP? I am looking for a TCP environment for RTSP/RTP
> testing, Thanks.
This is internal university server.

The problem is that that server DO support audio via udp, but doesn't
support video via UDP:


RTSP/1.0 461 Unsupported Transport
Date: Mon, 01 Dec 2008 14:51:40 GMT
CSeq: 4
Session: 15470279350565986777;timeout=120
Server: WMServer/9.1.1.3862
Supported: com.microsoft.wm.srvppair, com.microsoft.wm.sswitch,
com.microsoft.wm.eosmsg, com.microsoft.wm.fastcache,
com.microsoft.wm.packetpairssrc, com.microsoft.wm.startupprofile


It would be great to see that patch in gstreamer.


Best regards,
       Maxim Levitsky



-------------------------------------------------------------------------
This SF.Net email is sponsored by the Moblin Your Move Developer's challenge
Build the coolest Linux based applications with Moblin SDK & win great prizes
Grand prize is a trip for two to an Open Source event anywhere in the world
http://moblin-contest.org/redirect.php?banner_id=100&url=/
_______________________________________________
gstreamer-devel mailing list
[hidden email]
https://lists.sourceforge.net/lists/listinfo/gstreamer-devel


-------------------------------------------------------------------------
This SF.Net email is sponsored by the Moblin Your Move Developer's challenge
Build the coolest Linux based applications with Moblin SDK & win great prizes
Grand prize is a trip for two to an Open Source event anywhere in the world
http://moblin-contest.org/redirect.php?banner_id=100&url=/
_______________________________________________
gstreamer-devel mailing list
[hidden email]
https://lists.sourceforge.net/lists/listinfo/gstreamer-devel
Reply | Threaded
Open this post in threaded view
|

Re: ASF over RTSP/RTP?

Eric Zhang-6
In reply to this post by Maxim Levitsky
Hi, gstreamer-devel:

    1. MMS has been deprecated and now windows media player will first try to use RTSP method to play a `mms://' movie.

    2. Now in gstreamer, rtspsrc sends a PLAY method with Range header to perform seek but some RTSP server needs the client PAUSE the play first. So that's why the seek doesn't work. I have submitted a bug report to gstreamer and the bug has been accepted so I think the seek will be ok in next gst-plugins-good release.

Eric Zhang

2008/12/2 Maxim Levitsky <[hidden email]>
On Mon, 2008-12-01 at 17:27 +0200, Maxim Levitsky wrote:
> On Mon, 2008-12-01 at 09:50 +0800, Eric Zhang wrote:
> > Hi, gstreamer-devel:
> >
> >     It's cool, I also need an asf depay. I think this plugin will be
> > added into gstreamer soon.  Maxim, which rtsp server do you use? It
> > only supports TCP? I am looking for a TCP environment for RTSP/RTP
> > testing, Thanks.
> This is internal university server.
>
> The problem is that that server DO support audio via udp, but doesn't
> support video via UDP:
>
>
> RTSP/1.0 461 Unsupported Transport
> Date: Mon, 01 Dec 2008 14:51:40 GMT
> CSeq: 4
> Session: 15470279350565986777;timeout=120
> Server: WMServer/9.1.1.3862
> Supported: com.microsoft.wm.srvppair, com.microsoft.wm.sswitch,
> com.microsoft.wm.eosmsg, com.microsoft.wm.fastcache,
> com.microsoft.wm.packetpairssrc, com.microsoft.wm.startupprofile
>
>
> It would be great to see that patch in gstreamer.
>
>
> Best regards,
>       Maxim Levitsky
>
>


Here an example:

rtsp://wm.nasa-global.speedera.net/wm.nasa-global/ksc/edw_113008_sts126_landing.wmv?SAMI=http://anon.nasa-global.edgesuite.net/anon.nasa-global/ksc/edw_113008_sts126_landing.smi


Note that actual url was mms://
Usual microsoft tactic.

How about to detect this, and use rtsp as a fallback to mms:// ?

What do you gstreamer developers think?

It seems that things are rather inactive here.

Best regards,
       Maxim Levitsky


PS:

When trying to watch media on the web, I run into lots of unsupported
files, some, and maybe many are supported, but for some reasons don't
work.

I try to provide you with links and detailed explanation of issues.


Also I want to note that for some reason seek doesn't work with the asf
over rtsp, maybe the rtsp is guilty as it never sends PLAY with range
params, instead it sends TEARDOWN


Hope you don't ignore me, as I want to help at least a bit to make
linux on-line video experience a bit better.





-------------------------------------------------------------------------
This SF.Net email is sponsored by the Moblin Your Move Developer's challenge
Build the coolest Linux based applications with Moblin SDK & win great prizes
Grand prize is a trip for two to an Open Source event anywhere in the world
http://moblin-contest.org/redirect.php?banner_id=100&url=/
_______________________________________________
gstreamer-devel mailing list
[hidden email]
https://lists.sourceforge.net/lists/listinfo/gstreamer-devel


-------------------------------------------------------------------------
This SF.Net email is sponsored by the Moblin Your Move Developer's challenge
Build the coolest Linux based applications with Moblin SDK & win great prizes
Grand prize is a trip for two to an Open Source event anywhere in the world
http://moblin-contest.org/redirect.php?banner_id=100&url=/
_______________________________________________
gstreamer-devel mailing list
[hidden email]
https://lists.sourceforge.net/lists/listinfo/gstreamer-devel
Reply | Threaded
Open this post in threaded view
|

Re: ASF over RTSP/RTP?

Maxim Levitsky
In reply to this post by Eric Zhang-6
On Tue, 2008-12-02 at 10:04 +0800, Eric Zhang wrote:
> Hi, gstreamer-devel:
>
>     So, what is your `Transport' header in your RTSP `SETUP' request?
> That's the key point.

I will attach wireshark dump.

Transport: RTP/AVP/UDP;unicast;client_port=54642-54643




>
> Eric Zhang
>
> 2008/12/1 Maxim Levitsky <[hidden email]>
>         On Mon, 2008-12-01 at 09:50 +0800, Eric Zhang wrote:
>         > Hi, gstreamer-devel:
>         >
>         >     It's cool, I also need an asf depay. I think this plugin
>         will be
>         > added into gstreamer soon.  Maxim, which rtsp server do you
>         use? It
>         > only supports TCP? I am looking for a TCP environment for
>         RTSP/RTP
>         > testing, Thanks.
>        
>         This is internal university server.
>        
>         The problem is that that server DO support audio via udp, but
>         doesn't
>         support video via UDP:
>        
>        
>         RTSP/1.0 461 Unsupported Transport
>         Date: Mon, 01 Dec 2008 14:51:40 GMT
>         CSeq: 4
>         Session: 15470279350565986777;timeout=120
>         Server: WMServer/9.1.1.3862
>         Supported: com.microsoft.wm.srvppair,
>         com.microsoft.wm.sswitch,
>         com.microsoft.wm.eosmsg, com.microsoft.wm.fastcache,
>         com.microsoft.wm.packetpairssrc,
>         com.microsoft.wm.startupprofile
>        
>        
>         It would be great to see that patch in gstreamer.
>        
>        
>         Best regards,
>                Maxim Levitsky
>        
>        
>        
>        
>         -------------------------------------------------------------------------
>         This SF.Net email is sponsored by the Moblin Your Move
>         Developer's challenge
>         Build the coolest Linux based applications with Moblin SDK &
>         win great prizes
>         Grand prize is a trip for two to an Open Source event anywhere
>         in the world
>         http://moblin-contest.org/redirect.php?banner_id=100&url=/
>         _______________________________________________
>         gstreamer-devel mailing list
>         [hidden email]
>         https://lists.sourceforge.net/lists/listinfo/gstreamer-devel
>        
>
> -------------------------------------------------------------------------
> This SF.Net email is sponsored by the Moblin Your Move Developer's challenge
> Build the coolest Linux based applications with Moblin SDK & win great prizes
> Grand prize is a trip for two to an Open Source event anywhere in the world
> http://moblin-contest.org/redirect.php?banner_id=100&url=/
> _______________________________________________ gstreamer-devel mailing list [hidden email] https://lists.sourceforge.net/lists/listinfo/gstreamer-devel

-------------------------------------------------------------------------
This SF.Net email is sponsored by the Moblin Your Move Developer's challenge
Build the coolest Linux based applications with Moblin SDK & win great prizes
Grand prize is a trip for two to an Open Source event anywhere in the world
http://moblin-contest.org/redirect.php?banner_id=100&url=/
_______________________________________________
gstreamer-devel mailing list
[hidden email]
https://lists.sourceforge.net/lists/listinfo/gstreamer-devel

test.dump (12K) Download Attachment
Reply | Threaded
Open this post in threaded view
|

Re: ASF over RTSP/RTP?

Maxim Levitsky
In reply to this post by Eric Zhang-6
On Tue, 2008-12-02 at 10:08 +0800, Eric Zhang wrote:
> Hi, gstreamer-devel:
>
>     1. MMS has been deprecated and now windows media player will first
> try to use RTSP method to play a `mms://' movie.

What to do then, do you think it is possible to handle this in gstream,
or this better to be handled in totem.

>
>     2. Now in gstreamer, rtspsrc sends a PLAY method with Range header
> to perform seek but some RTSP server needs the client PAUSE the play
> first. So that's why the seek doesn't work. I have submitted a bug
> report to gstreamer and the bug has been accepted so I think the seek
> will be ok in next gst-plugins-good release.
The problem is that it never sends PLAY.
When I seek the stream using totem, all I see is a TEARDOWN fololwed by
new TCP connection in which gstreamer sends 3 SETUP messages as usual,
but then never sends PLAY command.

Best regards,
        Maxim levitsky


-------------------------------------------------------------------------
This SF.Net email is sponsored by the Moblin Your Move Developer's challenge
Build the coolest Linux based applications with Moblin SDK & win great prizes
Grand prize is a trip for two to an Open Source event anywhere in the world
http://moblin-contest.org/redirect.php?banner_id=100&url=/
_______________________________________________
gstreamer-devel mailing list
[hidden email]
https://lists.sourceforge.net/lists/listinfo/gstreamer-devel
Reply | Threaded
Open this post in threaded view
|

Re: ASF over RTSP/RTP?

Eric Zhang-6
Hi, gstreamer-devel:

    1. That means now most mms server should support RTSP as well. And because gstreamer supports RTSP by element rtspsrc, so you can use gstreamer to play it.

    2. OK, you use totem to play the video. I have no idea on totem and I suggest you use `gst-launch' to play the video manually. By the way, totem supports 2 underlying multi-media frameworks, one is gstreamer and another is xine. Are you sure your totem is using gstreamer?

Eric Zhang

2008/12/2 Maxim Levitsky <[hidden email]>
On Tue, 2008-12-02 at 10:08 +0800, Eric Zhang wrote:
> Hi, gstreamer-devel:
>
>     1. MMS has been deprecated and now windows media player will first
> try to use RTSP method to play a `mms://' movie.

What to do then, do you think it is possible to handle this in gstream,
or this better to be handled in totem.

>
>     2. Now in gstreamer, rtspsrc sends a PLAY method with Range header
> to perform seek but some RTSP server needs the client PAUSE the play
> first. So that's why the seek doesn't work. I have submitted a bug
> report to gstreamer and the bug has been accepted so I think the seek
> will be ok in next gst-plugins-good release.
The problem is that it never sends PLAY.
When I seek the stream using totem, all I see is a TEARDOWN fololwed by
new TCP connection in which gstreamer sends 3 SETUP messages as usual,
but then never sends PLAY command.

Best regards,
       Maxim levitsky


-------------------------------------------------------------------------
This SF.Net email is sponsored by the Moblin Your Move Developer's challenge
Build the coolest Linux based applications with Moblin SDK & win great prizes
Grand prize is a trip for two to an Open Source event anywhere in the world
http://moblin-contest.org/redirect.php?banner_id=100&url=/
_______________________________________________
gstreamer-devel mailing list
[hidden email]
https://lists.sourceforge.net/lists/listinfo/gstreamer-devel


-------------------------------------------------------------------------
This SF.Net email is sponsored by the Moblin Your Move Developer's challenge
Build the coolest Linux based applications with Moblin SDK & win great prizes
Grand prize is a trip for two to an Open Source event anywhere in the world
http://moblin-contest.org/redirect.php?banner_id=100&url=/
_______________________________________________
gstreamer-devel mailing list
[hidden email]
https://lists.sourceforge.net/lists/listinfo/gstreamer-devel
Reply | Threaded
Open this post in threaded view
|

Re: ASF over RTSP/RTP?

Maxim Levitsky
In reply to this post by Maxim Levitsky
On Sat, 2008-11-29 at 17:10 +0200, Maxim Levitsky wrote:

> Recently I faced a ASF stream embedded in RTSP/RTP.
>
> Gstream doesn't support it now.
> But I found this:
>
> http://people.freedesktop.org/~tpm/rtp-asf-depayloader-1.diff
>
> I didn't yet test this, but I want to ask you what the fate of this
> patch, who wrote it, and why it is not in gstreamer?
>
> Best regards,
> Maxim Levitsky


Any update on that?

Regards,
        Maxim Levitsky


------------------------------------------------------------------------------
SF.Net email is Sponsored by MIX09, March 18-20, 2009 in Las Vegas, Nevada.
The future of the web can't happen without you.  Join us at MIX09 to help
pave the way to the Next Web now. Learn more and register at
http://ad.doubleclick.net/clk;208669438;13503038;i?http://2009.visitmix.com/
_______________________________________________
gstreamer-devel mailing list
[hidden email]
https://lists.sourceforge.net/lists/listinfo/gstreamer-devel