PDA

View Full Version : www.ustream.tv: watch Kevin Trudeau Show with MPlayer, VLC


BananaGirl
02-25-2011, 06:12 AM
Hi, I want to watch the Kevin Trudeau Show (ustream.tv) every day with MPlayer or VLC without looking at the CPU goes to 30% to 100% every time I'm watching it live

Links:
http://www.ustream.tv/channel/kevin-trudeau-show
http://www.ustream.tv/channel/522259

I've found a related script to do that job but it does not work
gist: 634461 - download live video from ustream using rtmpdump.- GitHub (by fuba) (https://gist.github.com/634461)
tech memo / Textt (http://textt.net/mapi/20101018201937)

I have tried to imitate Hacker News | For Linux users wanting to watching without using browser + flash, using mplayer... (http://news.ycombinator.com/item?id=2156494) without success :(

This is the information that has been taken during the time that the show went on air live http://rghost.net/4522689 (files, links and wget logs of the http_headers)

The wanted stream(s)
rtmp://flash72.ustream.tv/ustreamVideo/522259
rtmp://flash73.ustream.tv/ustreamVideo/522259
rtmp://flash77.ustream.tv/ustreamVideo/522259

BananaGirl
03-08-2011, 11:48 AM
The live stream begins on every Monday - Friday 10am - 11am PT (Pacific Time Zone (http://en.wikipedia.org/wiki/Pacific_Time_Zone)).

The live stream started 48 minutes ago (for the record)

Edit:
I've found this url today: rtmp://flash60.ustream.tv/ustreamVideo/522259

This is the information that has been taken during the time that the show went on air live http://rghost.net/4686397 (I've downloaded everything that was on this page)

Stream Recorder
03-09-2011, 01:13 AM
How did you download the stream? Just used the URL above in MPlayer or VLC?

I use Replay Media Catcher (http://all-streaming-media.com/record-video-stream/Replay-Media-Catcher-HTTP-RTMP-FLV-MP3-ripper-recorder.htm) 4 for downloading/capturing videos from UStream.TV

BananaGirl
03-09-2011, 04:19 AM
How did you download the stream? Just used the URL above in MPlayer or VLC?

I've found rtmp://flashXX.ustream.tv/ustreamVideo/522259 by reading the file 522259.amf?pageUrl=http:%2F%2Fwww.ustream.tv%2Fcha nnel%2Fkevin-trudeau-show&locale=en_US&encoded=1 with a Hex Editor.


Hex editors/viewers for X11 (GNU/FreeBSD/Linux):
Ghex (http://live.gnome.org/Ghex), HT Editor (http://hte.sourceforge.net/), Jeex (http://www.hds619.net/jeex.php), wxHexEditor (http://wxhexeditor.sourceforge.net/).

Hex editors/viewers for Window$ (http://www.portablefreeware.com/?q=hex%20text%20editor):
Extreme Editor (http://ufridman.org/extremeeditor.html), MadEdit (http://sourceforge.net/projects/madedit/), PSPad (http://www.pspad.com/) (Proprietary/Not FLOSS).


To collect the data (in the archived file) I have used AdBlock Plus (http://adblockplus.org/) (Open blockable items) feature which is based on LiveHTTPHeaders (http://livehttpheaders.mozdev.org/).

mocha
03-11-2011, 07:36 AM
Just curious regarding the perl script you linked to (https://gist.github.com/634461). 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.

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

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

BananaGirl
03-11-2011, 11:30 AM
Come'on, Come'on, !! the show is about to end in 30 minutes :P
P.S. I believe that every ustream.tv page with Live Stream can be tested.

mocha
03-11-2011, 11:23 PM
Come'on, Come'on, !! the show is about to end in 30 minutes :P
P.S. I believe that every ustream.tv page with Live Stream can be tested.

Huh? My post was just a general question if anyone knew why that perl script doesn't seem to work on all live ustream channels.

nullacht
03-25-2011, 12:27 PM
rtmpdump command line (to save the stream locally):

rtmpdump -r "rtmp://ustream.fc.llnwd.net:1935/ustream/test/" -a "ustream/test/" -y "ustream@llnw_1_522259_live_1" -W "http://cdn1.ustream.tv/swf/4/viewer.rsl.568.swf" -o ustream@llnw_1_522259_live_1.flv --live

RTMPDump v2.3
(c) 2010 Andrej Stepanchuk, Howard Chu, The Flvstreamer Team; license: GPL
Connecting ...
INFO: Connected...
Starting Live Stream
11587.503 kB / 838.38 sec

BananaGirl
03-30-2011, 06:04 AM
rtmpdump command line (to save the stream locally):

rtmpdump -r "rtmp://ustream.fc.llnwd.net:1935/ustream/test/" -a "ustream/test/" -y "ustream@llnw_1_522259_live_1" -W "http://cdn1.ustream.tv/swf/4/viewer.rsl.568.swf" -o ustream@llnw_1_522259_live_1.flv --live

RTMPDump v2.3
(c) 2010 Andrej Stepanchuk, Howard Chu, The Flvstreamer Team; license: GPL
Connecting ...
INFO: Connected...
Starting Live Stream
11587.503 kB / 838.38 sec

It is not working for me.
I'm trying every channel ID that I find at this page (http://www.ustream.tv/discovery/live/all), and I can't make it work.

I'm even changing the .swf to the current player, but all I get is:
Connecting ...
INFO: Connected...
Starting Live Stream

That's all.

Edit: It is working with ktradio live video
(I'll continue on reporting concerning to other videos)
Thank you, nullacht.

BananaGirl
04-01-2011, 11:14 AM
$ rtmpdump -r "rtmp://ustream.fc.llnwd.net:1935/ustream/test/" -a "ustream/test/" -y "ustream@llnw_1_522259_live_1" -W "http://cdn1.ustream.tv/swf/4/viewer.rsl.568.swf" -o ustream@llnw_1_522259_live_1.flv --live
RTMPDump v2.2e
(c) 2010 Andrej Stepanchuk, Howard Chu, The Flvstreamer Team; license: GPL
Connecting ...
INFO: Connected...
Starting Live Stream
581.788 kB / 4.18 sec
Caught signal: 13, cleaning up, just a second...
ERROR: WriteN, RTMP send error 32 (46 bytes)
ERROR: RTMP_ReadPacket, failed to read RTMP packet body. len: 12365
581.788 kB / 4.18 sec
Download may be incomplete (downloaded about 0.00%), try resuming
$ rtmpdump -r "rtmp://ustream.fc.llnwd.net:1935/ustream/test/" -a "ustream/test/" -y "ustream@llnw_1_522259_live_1" -W "http://cdn1.ustream.tv/swf/4/viewer.rsl.568.swf" -o ustream@llnw_1_522259_live_1.flv --live
RTMPDump v2.2e
(c) 2010 Andrej Stepanchuk, Howard Chu, The Flvstreamer Team; license: GPL
Connecting ...
INFO: Connected...
Starting Live Stream
984.074 kB / 8.92 sec
ERROR: RTMP_ReadPacket, failed to read RTMP packet header
984.074 kB / 8.92 sec
Download complete
$

It is not stable :-/