View Single Post
  #5  
Old 03-11-2011, 07:36 AM
mocha mocha is offline
Junior Member
 
Join Date: Mar 2010
Posts: 23
mocha is on a distinguished road
Default

Re: www.ustream.tv: watch Kevin Trudeau Show with MPlayer, VLC


Just curious regarding the perl script you linked to. I also experience where it does not work on every ustream page. Some pages it says "no video url at xxxxx.pl line 32", I tried hacking on the source but can't get it to work. The problem has something to do with this part.

Code:
sub get_video_url {
    my $url = shift;
    my $amf_bin = get($url);

    if ($amf_bin =~ m|(rtmp://[^/]+/ustreamVideo/(\d+))|m) {
        return ($1, $2);
    }
Reply With Quote