<div dir="ltr"><br><br><div class="gmail_quote">On Mon, Aug 2, 2010 at 5:56 PM, Elazar Leibovich <span dir="ltr"><<a href="mailto:elazarl@gmail.com">elazarl@gmail.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin: 0pt 0pt 0pt 0.8ex; border-left: 1px solid rgb(204, 204, 204); padding-left: 1ex;">
<div dir="ltr">I've took a look at wireshark in windows, there were two problems:<div><br></div><div>1) The referrer field is sent from WMP. I don't think it's being send from linux. I'm pretty sure that there's some settings in the streaming server that restricts streaming to people with the right referrer only.</div>
<div> </div></div></blockquote><div>Now we are talking.. <br><br>On some cases I noticed this kind of behvior to protect MMS ussge of embeded object,<br><br>When you will mimic the browser (do all the steps it is annoying but worth it) you might find that you get link in the form unique/onetime/token parameter .<br>
when you will write the perl/curl/what ever don't forget to test this.<br>some timed there is some sort of used link or ip + referrar test.<br><br><br></div><blockquote class="gmail_quote" style="margin: 0pt 0pt 0pt 0.8ex; border-left: 1px solid rgb(204, 204, 204); padding-left: 1ex;">
<div dir="ltr"><div>2) The protocol itself is not the standard MMS protocol. mplayer tries to use some kind of MMS handshake, while WMP is sending RTSP commands. I don't understand it, it seems to me that the MMS protocol is a propriety replacement to RTSP.</div>
<div><br></div></div></blockquote><div>It might be the last comment.<br>There is the third side plugging(e.g. Media Guard) for authorization (hate them), use perl mechanize to do the auth.<br><br>Are you sure that they are RTSP commands ( look at the headers) ?<br>
<br> <br></div><blockquote class="gmail_quote" style="margin: 0pt 0pt 0pt 0.8ex; border-left: 1px solid rgb(204, 204, 204); padding-left: 1ex;"><div dir="ltr"><div></div><div>If there's a video expert in the crowd, I can send him the pcap, I'll be glad for some help.</div>
<div><br></div></div></blockquote><div>the RTSP / MMS stream ? or the authorization ? <br><br>be aware that sending the pcap you might infringe TAU rights (who know ..) <br><br></div><blockquote class="gmail_quote" style="margin: 0pt 0pt 0pt 0.8ex; border-left: 1px solid rgb(204, 204, 204); padding-left: 1ex;">
<div dir="ltr"><div></div><div>However I believe that convincing mplayer to play the stream should not be that hard. All the information should be availible once you login, and I can write a script that given a video page at <a href="http://video.tau.ac.il" target="_blank">video.tau.ac.il</a> gives the correct command line parameters to convince mplayer to send it.</div>
<div><br></div><div>(BTW my friend will contact the helpdesk as soon as he'll finish some more urgent matters, I'll report here what did we achieve).<div><div></div><div class="h5"><br><br><div class="gmail_quote">
On Mon, Aug 2, 2010 at 5:25 PM, Boris shtrasman <span dir="ltr"><<a href="mailto:borissh1983@gmail.com" target="_blank">borissh1983@gmail.com</a>></span> wrote:<br>
<blockquote class="gmail_quote" style="margin: 0pt 0pt 0pt 0.8ex; border-left: 1px solid rgb(204, 204, 204); padding-left: 1ex;"><div dir="ltr"><br><br><div class="gmail_quote"><div>On Mon, Aug 2, 2010 at 5:02 PM, Elazar Leibovich <span dir="ltr"><<a href="mailto:elazarl@gmail.com" target="_blank">elazarl@gmail.com</a>></span> wrote:<br>
<blockquote class="gmail_quote" style="margin: 0pt 0pt 0pt 0.8ex; border-left: 1px solid rgb(204, 204, 204); padding-left: 1ex;">
<div dir="ltr"><div class="gmail_quote"><div>On Mon, Aug 2, 2010 at 3:58 PM, Boris shtrasman <span dir="ltr"><<a href="mailto:borissh1983@gmail.com" target="_blank">borissh1983@gmail.com</a>></span> wrote:<br>
<blockquote class="gmail_quote" style="margin: 0pt 0pt 0pt 0.8ex; border-left: 1px solid rgb(204, 204, 204); padding-left: 1ex;">
<div dir="ltr"><br><br><div class="gmail_quote"><div>2010/7/21 Elazar Leibovich <span dir="ltr"><<a href="mailto:elazarl@gmail.com" target="_blank">elazarl@gmail.com</a>></span><br></div><blockquote class="gmail_quote" style="margin: 0pt 0pt 0pt 0.8ex; border-left: 1px solid rgb(204, 204, 204); padding-left: 1ex;">
<div dir="ltr">Students of the Tel Aviv University have videos of some lectures availible online.<div><div></div><div><div>I'm trying to play these lectures in linux with a friend's computer.</div><div>
The lectures are ment to be played by Windows Media Player plugin in the browser, which is given a mms:// streaming address. Feeding this address to mplayer resulted the server respond with "no such video stream".</div>
<div><br></div><div>Was anyone able to play this lectures on some linux supporting software?</div><div>I suspected it works in the browser because of the authentication (you must log in to view the lectures). But I don't understand, do the WMP plugin access your cookies when it runs in the browser? I assumed it doesn't (it works in chrome under windows, and I assumed the WMP plugin there won't know anything about chrome's internals) therefor I assumed authentication won't be an issue, but maybe I'm wrong about that.</div>
</div></div></div>
<br><div>_______________________________________________<br>
Linux-il mailing list<br>
<a href="mailto:Linux-il@cs.huji.ac.il" target="_blank">Linux-il@cs.huji.ac.il</a><br>
<a href="http://mailman.cs.huji.ac.il/mailman/listinfo/linux-il" target="_blank">http://mailman.cs.huji.ac.il/mailman/listinfo/linux-il</a><br>
<br></div></blockquote></div><br>Btw have you tried using *-mozilla-plugin and setting the network.protocol-handler.app.mms in mozilla ? <br>you can manually override the settings for the player.</div></blockquote><div><br>
</div></div><div>I used the default Totem plugin that comes with Ubuntu, but I'll give it a go.</div></div></div></blockquote></div><div><br>How did you get the stream ? I would recommend opening Wireshark on windows machine and making sure that the link you get is the correct one. Also take a look on the steps I used to make my mozilla work with a streaming web site ( <a href="http://myrtfm.blogspot.com/2010/05/re.html" target="_blank">http://myrtfm.blogspot.com/2010/05/re.html</a> (scroll to the end) ) <br>
<br>Most of the thread is about Legal stuff and not the normal tech stuff, have you tried manually mimicking the browser behavior ? <br clear="all"></div></div><div><br>-- <br>-- <br> -- Boris Shtrasman ------------<br>
|Gnu/Linux Software developer |<br>
| IM : <a href="mailto:borissh@jabber.org" target="_blank">borissh@jabber.org</a> |<br>| URL : <a href="http://myrtfm.blogspot.com" target="_blank">myrtfm.blogspot.com</a>|<br> _______________________________<br>
<br>
</div></div>
</blockquote></div><br></div></div></div></div>
</blockquote></div><br><br clear="all"><br>-- <br>-- <br> -- Boris Shtrasman ------------<br>|Gnu/Linux Software developer |<br>| IM : <a href="mailto:borissh@jabber.org">borissh@jabber.org</a> |<br>| URL : <a href="http://myrtfm.blogspot.com">myrtfm.blogspot.com</a>|<br>
_______________________________<br> <br>
</div>