Audio/video stream recording forums

Attention Visitor:
You may have to register or log in before you can post:
  • Click the register link to sign up.
  • Registered members please fill in the form below and click the "Log in" button.
To start viewing messages, select the forum that you want to visit from the selection below.

Go Back   Audio/video stream recording forums > Streaming media recording forum > Video stream recording
Register FAQ Members List Calendar Mark Forums Read

Reply Post New Thread
 
Thread Tools Display Modes
  #1  
Old 03-22-2011, 02:00 PM
MPW MPW is offline
Junior Member
 
Join Date: Mar 2011
Posts: 2
MPW is on a distinguished road
Default

Download/capture NASA TV HD from UStream.TV with rtmpdump


Hello,

thanks for this nice tutorial!

I installed rtmpdump to capture nasatv hd.

_http://www.nasa.gov/multimedia/nasatv

which is in fact a ustream rtmp stream.

With google I found this url:
Code:
rtmp://flash86.ustream.tv:1935/ustreamVideo/6540154 playpath=streams/live app=ustreamVideo/6540154 swfUrl="http://cdn1.ustream.tv/swf/4/viewer.rsl.558.swf" pageUrl="http://www.nasa.gov/multimedia/nasatv/ustream.html" live=true
unfortunately I wasn't able to confirm it.

But I do not get to dump it with rtmpdump. The swfUrl I tried to add with -W "http://cdn1...", but it still doesn't work.

Could you help me?

Bye
MPW

/edit: I solved it. Here is how it goes:

Code:
rtmpdump -v -r rtmp://flash86.ustream.tv:1935/ustreamVideo/6540154 -y "streams/live" -W "http://cdn1.ustream.tv/swf/4/viewer.rsl.558.swf" -p "http://www.nasa.gov/multimedia/nasatv/ustream.html" -a "ustreamVideo/6540154" -o NASAHDTV-recording.flv

Last edited by MPW : 03-22-2011 at 02:40 PM.
Reply With Quote
  #2  
Old 03-23-2011, 09:44 AM
Stream Recorder
 
Posts: n/a
Default

Re: Download/capture NASA TV HD from UStream.TV with rtmpdump


I was able to capture this stream with Replay Media Catcher 4 in the RTMP recording mode. It showed the following URL
Code:
rtmp://cp39920.live.edgefcs.net:1935/live<break>ustream-sj@23780
You can also download RTMP streams with freeware CooJah + Blader, Orbit Downloader, StreamTransport,...

And you can try to capture RTMP streams in real time while you listen to them using freeware CooJah (without Blader), Orbit Grab Pro.

If you use Linux, try rtmpsrv or rtmpsuck.

Related:
FAQ: How to record/download/capture/save Adobe Flash .FLV video RTMP stream from embedded player
How to record rtmp:// flash video .flv stream from embedded Adobe Flash Player
Reply With Quote
  #3  
Old 03-29-2011, 04:25 AM
Stream Recorder
 
Posts: n/a
Default

Re: Download/capture NASA TV HD from UStream.TV with rtmpdump


This stream can be downloaded with Replay Media Catcher 4 as well, but you need to disable super download and set buffer size to 1 second (See Tools -> Settings -> RTMP Download Tweaks).

Reply With Quote
  #4  
Old 09-22-2011, 09:01 PM
any ANONYMOUS forum user any ANONYMOUS forum user is offline
any user of the forum who preferred to post anonymously
 
Join Date: Aug 2011
Location: Server of stream-recorder.com
Posts: 211
any ANONYMOUS forum user is on a distinguished road
Default

Re: Download/capture NASA TV HD from UStream.TV with rtmpdump


Quote:
Originally Posted by MPW View Post
Code:
rtmpdump -v -r rtmp://flash86.ustream.tv:1935/ustreamVideo/6540154 -y "streams/live" -W "http://cdn1.ustream.tv/swf/4/viewer.rsl.558.swf" -p "http://www.nasa.gov/multimedia/nasatv/ustream.html" -a "ustreamVideo/6540154" -o NASAHDTV-recording.flv
when i tried that i got this
Code:
C:\>rtmpdump -v -r rtmp://flash86.ustream.tv:1935/ustreamVideo/6540154 -y "strea
ms/live" -W "http://cdn1.ustream.tv/swf/4/viewer.rsl.558.swf" -p "http://www.nas
a.gov/multimedia/nasatv/ustream.html" -a "ustreamVideo/6540154" -o NASAHDTV-reco
rding.flv
RTMPDump v1.5a
(c) 2009 Andrej Stepanchuk, license: GPL

DEBUG: Parsing...
DEBUG: Parsed protocol: 0
DEBUG: Parsed host    : flash86.ustream.tv
DEBUG: Parsed port    : 1935
DEBUG: Parsed app     : ustreamVideo
DEBUG: Parsed playpath: 6540154
rtmpdump: invalid option -- W
unknown option: ?
DEBUG: Setting buffer time to: 36000000ms
Connecting ...
DEBUG: Protocol : RTMP
DEBUG: Hostname : flash86.ustream.tv
DEBUG: Port     : 1935
DEBUG: Playpath : streams/live
DEBUG: tcUrl    : rtmp://flash86.ustream.tv:1935/ustreamVideo/6540154
DEBUG: pageUrl  : http://www.nasa.gov/multimedia/nasatv/ustream.html
DEBUG: app      : ustreamVideo/6540154
DEBUG: flashVer : LNX 9,0,124,0
DEBUG: live     : yes
DEBUG: timeout  : 300 sec
DEBUG: Connect, ... connected, handshaking
DEBUG: HandShake: Client type: 03

DEBUG: HandShake: Client digest offset: 410
DEBUG: HandShake: Initial client digest:
3C 42 A2 D3 25 C1 1C 53 E7 D8 97 CB 0C 95 DC 17 F1 A1 32 C5 00 A3 C9 89 80 90 2D
 FD C3 1C 1B 1F
DEBUG: HandShake: Type Answer   : 03
DEBUG: HandShake: Server Uptime : 83985179
DEBUG: HandShake: FMS Version   : 3.5.1.1
WARNING: Trying different position for server digest!

DEBUG: HandShake: Server DH public key offset: 874
DEBUG: HandShake: Client signature digest position: 410
DEBUG: HandShake: Digest key:
FB B2 C0 0F 36 1E 2B D3 C2 47 2C 02 50 86 C5 F7 B6 6F 04 1F 58 87 26 62 04 8C 6C
 D8 A5 6F 6B CA
DEBUG: HandShake: Signature calculated:
E5 AF 5B A9 99 B4 26 F7 79 EB FF C0 32 5A 0A CC 9B F3 34 1D 84 27 EA F2 E5 0A D0
 4F 3A 4C DB 88
DEBUG: HandShake: Server sent signature:
E5 AF 5B A9 99 B4 26 F7 79 EB FF C0 32 5A 0A CC 9B F3 34 1D 84 27 EA F2 E5 0A D0
 4F 3A 4C DB 88
DEBUG: HandShake: Genuine Adobe Flash Media Server
DEBUG: HandShake: Calculated digest key from secure key and server digest:
08 9E AF 3C AB D5 DF 71 FD 1A 69 94 87 B3 D3 3E 23 FA CA 1A A9 03 20 E6 C0 B1 DF
 96 7D B7 40 5C
DEBUG: HandShake: Client signature calculated:
22 A9 A9 87 8C D2 5E C2 28 10 D7 8A B0 3B 3D 69 3F 6C B9 B5 C6 E2 C9 08 8A 36 95
 E9 4E 97 E2 F8
DEBUG: HandShake: Handshaking finished....
DEBUG: Connect, handshaked
Connected...

Starting download at 0.000 KB
DEBUG: GetNextMediaPacket, received: server BW
DEBUG: GetNextMediaPacket, received: client BW
DEBUG: HandlePing, received ping. type: 0, len: 6
DEBUG: GetNextMediaPacket, received: invoke 146 bytes
DEBUG: Property: <Name:                  no-name., STRING:      _error>
DEBUG: Property: <Name:                  no-name., NUMBER:      1.00>
DEBUG: Property: NULL
DEBUG: Property: <Name:                  no-name., OBJECT>
DEBUG: Property: <Name:                     level, STRING:      error>
DEBUG: Property: <Name:                      code, STRING:      NetConnection.Co
nnect.Rejected>
DEBUG: Property: <Name:               description, STRING:      Connection faile
d.>
DEBUG: Property: <Name:               application, OBJECT>
DEBUG: Property: <Name:                    reason, STRING:      offline>
DEBUG: HandleInvoke, server invoking <_error>
ERROR: rtmp server sent error
DEBUG: GetNextMediaPacket, received: invoke 18 bytes
DEBUG: Property: <Name:                  no-name., STRING:      close>
DEBUG: Property: <Name:                  no-name., NUMBER:      0.00>
DEBUG: HandleInvoke, server invoking <close>
ERROR: rtmp server requested close
Closing connection... done!


C:\>
what am i doing wrong? why is everyone else getting it to work but i'm not? i don't get it
Reply With Quote
  #5  
Old 09-23-2011, 12:30 AM
Anywho Anywho is offline
Batch File Basher
 
Join Date: Jul 2010
Posts: 204
Anywho is on a distinguished road
Default

Re: Download/capture NASA TV HD from UStream.TV with rtmpdump


Quote:
Originally Posted by any ANONYMOUS forum user View Post
what am i doing wrong? why is everyone else getting it to work but i'm not? i don't get it
What are you doing wrong? Probably nothing.

I've got to ask you this though... You didn't see the dates those posts were created A lot has changed since then
Reply With Quote
  #6  
Old 09-23-2011, 12:55 AM
chap chap is offline
Senior Member
 
Join Date: Feb 2011
Location: Ukraine
Posts: 1,165
chap is on a distinguished road
Default

Re: Download/capture NASA TV HD from UStream.TV with rtmpdump


Code:
rtmpdump -r "rtmp://cp39920.live.edgefcs.net:1935/live" -a "live" -f "WIN 10,3,183,7" -W "http://cdn1.ustream.tv/swf/4/viewer.rsl.755.swf" -p "http://www.nasa.gov/multimedia/nasatv/ustream.html" -y "nasahd@55196" -o nasahd@55196.flv -v
Code:
C:\Documents and Settings\Администратор\Мои документы\STREAM\rtmpdump-2.3-window
s\rtmpdump-2.3\rtmpexplorer>rtmpdump -r "rtmp://cp39920.live.edgefcs.net:1935/li
ve" -a "live" -f "WIN 10,3,183,7" -W "http://cdn1.ustream.tv/swf/4/viewer.rsl.75
5.swf" -p "http://www.nasa.gov/multimedia/nasatv/ustream.html" -y "nasahd@55196"
 -o nasahd@55196.flv -v
RTMPDump v2.4 GIT-2011-07-22 (Compiled by KSV)
(c) 2010 Andrej Stepanchuk, Howard Chu, The Flvstreamer Team; license: GPL
Connecting ...
INFO: Connected...
Starting Live Stream
INFO: Metadata:
INFO:   width                 1280.00
INFO:   height                720.00
INFO:   framerate             14.99
INFO:   videocodecid          7.00
INFO:   videodatarate         1000.00
INFO:   audiodatarate         64.00
7611.793 kB / 53.26 sec
Reply With Quote
  #7  
Old 09-23-2011, 09:33 PM
any ANONYMOUS forum user any ANONYMOUS forum user is offline
any user of the forum who preferred to post anonymously
 
Join Date: Aug 2011
Location: Server of stream-recorder.com
Posts: 211
any ANONYMOUS forum user is on a distinguished road
Default

Re: Download/capture NASA TV HD from UStream.TV with rtmpdump


Quote:
Originally Posted by Anywho View Post
What are you doing wrong? Probably nothing.

I've got to ask you this though... You didn't see the dates those posts were created A lot has changed since then
i just want it to work. i was running up on dead ends and it was in 2011 so i wanted to try anything. also RTMPdump itself hasn't been updated in years, so..

Quote:
Originally Posted by chap View Post
Code:
rtmpdump -r "rtmp://cp39920.live.edgefcs.net:1935/live" -a "live" -f "WIN 10,3,183,7" -W "http://cdn1.ustream.tv/swf/4/viewer.rsl.755.swf" -p "http://www.nasa.gov/multimedia/nasatv/ustream.html" -y "nasahd@55196" -o nasahd@55196.flv -v
Code:
C:\Documents and Settings\Администратор\Мои документы\STREAM\rtmpdump-2.3-window
s\rtmpdump-2.3\rtmpexplorer>rtmpdump -r "rtmp://cp39920.live.edgefcs.net:1935/li
ve" -a "live" -f "WIN 10,3,183,7" -W "http://cdn1.ustream.tv/swf/4/viewer.rsl.75
5.swf" -p "http://www.nasa.gov/multimedia/nasatv/ustream.html" -y "nasahd@55196"
 -o nasahd@55196.flv -v
RTMPDump v2.4 GIT-2011-07-22 (Compiled by KSV)
(c) 2010 Andrej Stepanchuk, Howard Chu, The Flvstreamer Team; license: GPL
Connecting ...
INFO: Connected...
Starting Live Stream
INFO: Metadata:
INFO:   width                 1280.00
INFO:   height                720.00
INFO:   framerate             14.99
INFO:   videocodecid          7.00
INFO:   videodatarate         1000.00
INFO:   audiodatarate         64.00
7611.793 kB / 53.26 sec
when i try that code i get this

Code:
C:\>rtmpdump -r "rtmp://cp39920.live.edgefcs.net:1935/live" -a "live" -f "WIN 10
,3,183,7" -W "http://cdn1.ustream.tv/swf/4/viewer.rsl.755.swf" -p "http://www.na
sa.gov/multimedia/nasatv/ustream.html" -y "nasahd@55196" -o nasahd@55196.flv -v
RTMPDump v1.5a
(c) 2009 Andrej Stepanchuk, license: GPL

DEBUG: Parsing...
DEBUG: Parsed protocol: 0
DEBUG: Parsed host    : cp39920.live.edgefcs.net
DEBUG: Parsed port    : 1935
DEBUG: Parsed app     : live
ERROR: No playpath found!
WARNING: No playpath in URL!
rtmpdump: invalid option -- W
unknown option: ?
DEBUG: Setting buffer time to: 36000000ms
Connecting ...
DEBUG: Protocol : RTMP
DEBUG: Hostname : cp39920.live.edgefcs.net
DEBUG: Port     : 1935
DEBUG: Playpath : nasahd@55196
DEBUG: tcUrl    : rtmp://cp39920.live.edgefcs.net:1935/live
DEBUG: pageUrl  : http://www.nasa.gov/multimedia/nasatv/ustream.html
DEBUG: app      : live
DEBUG: flashVer : WIN 10,3,183,7
DEBUG: live     : yes
DEBUG: timeout  : 300 sec
DEBUG: Connect, ... connected, handshaking
DEBUG: HandShake: Client type: 03

DEBUG: HandShake: Client digest offset: 410
DEBUG: HandShake: Initial client digest:
06 C2 CA F1 52 EB 9D D0 F5 A0 16 D6 4B 6F E9 C0 42 F8 32 B8 12 E1 B2 9D 80 55 D4
 3D 54 DF 82 CB
DEBUG: HandShake: Type Answer   : 03
DEBUG: HandShake: Server Uptime : 36775598
DEBUG: HandShake: FMS Version   : 3.5.7.1
WARNING: Trying different position for server digest!

DEBUG: HandShake: Server DH public key offset: 838
DEBUG: HandShake: Client signature digest position: 410
DEBUG: HandShake: Digest key:
57 68 2C 5E 87 66 CD 75 0B 4F F4 8B A3 2E 4F 73 E8 79 15 18 1C 40 A7 0F 58 92 DC
 5F 97 C5 46 21
DEBUG: HandShake: Signature calculated:
8D 9F 2C 13 D8 A2 13 1D 6E 52 F1 66 D7 5E E0 88 C1 82 CB 36 E8 A3 F3 62 88 7A FB
 60 C7 81 CA B4
DEBUG: HandShake: Server sent signature:
8D 9F 2C 13 D8 A2 13 1D 6E 52 F1 66 D7 5E E0 88 C1 82 CB 36 E8 A3 F3 62 88 7A FB
 60 C7 81 CA B4
DEBUG: HandShake: Genuine Adobe Flash Media Server
DEBUG: HandShake: Calculated digest key from secure key and server digest:
6A 78 EB F6 BC 09 F9 FA 74 AF 0D 80 6E 66 B5 14 90 08 95 20 BB CB CF E4 7F 91 A4
 81 9F 6D BA 61
DEBUG: HandShake: Client signature calculated:
64 BA F1 54 7A 0B CB 77 0B 7F 58 DA CC 0E 2E 7F 5C DF 03 39 88 FA 18 00 FD 7E CD
 E8 6F 22 9C B8
DEBUG: HandShake: Handshaking finished....
DEBUG: Connect, handshaked
Connected...

Starting download at 0.000 KB
DEBUG: GetNextMediaPacket, received: invoke 134 bytes
DEBUG: Property: <Name:                  no-name., STRING:      _error>
DEBUG: Property: <Name:                  no-name., NUMBER:      1.00>
DEBUG: Property: NULL
DEBUG: Property: <Name:                  no-name., OBJECT>
DEBUG: Property: <Name:                     level, STRING:      error>
DEBUG: Property: <Name:                      code, STRING:      NetConnection.Co
nnect.Rejected>
DEBUG: Property: <Name:               description, STRING:      [ AccessManager.
Reject ] : Access denied!>
DEBUG: HandleInvoke, server invoking <_error>
ERROR: rtmp server sent error
DEBUG: GetNextMediaPacket, received: invoke 18 bytes
DEBUG: Property: <Name:                  no-name., STRING:      close>
DEBUG: Property: <Name:                  no-name., NUMBER:      0.00>
DEBUG: HandleInvoke, server invoking <close>
ERROR: rtmp server requested close
Closing connection... done!


C:\>
why
Reply With Quote
  #8  
Old 09-23-2011, 11:58 PM
chap chap is offline
Senior Member
 
Join Date: Feb 2011
Location: Ukraine
Posts: 1,165
chap is on a distinguished road
Default

Re: Download/capture NASA TV HD from UStream.TV with rtmpdump


Quote:
Originally Posted by any ANONYMOUS forum user View Post

why
RTMPdump v1.5a?
Reply With Quote
  #9  
Old 09-24-2011, 01:27 AM
Anywho Anywho is offline
Batch File Basher
 
Join Date: Jul 2010
Posts: 204
Anywho is on a distinguished road
Default

Re: Download/capture NASA TV HD from UStream.TV with rtmpdump


Quote:
Originally Posted by any ANONYMOUS forum user View Post
also rtmpdump itself hasn't been updated in years, so..
What??? You are mistaken my friend. It is currently up to version >2.3! Go here to get the latest built version.
Quote:
when i try that code i get this

Code:
...
why
Quote:
Originally Posted by chap View Post
RTMPDump v1.5a?
Yep, that would be it. The "-W" option was added in version 2.0 of RTMPdump.
Reply With Quote
  #10  
Old 10-20-2011, 05:23 PM
anonekku anonekku is offline
Junior Member
 
Join Date: Jul 2011
Posts: 3
anonekku is on a distinguished road
Default

Re: Download/capture NASA TV HD from UStream.TV with rtmpdump


Quote:
Originally Posted by chap View Post
RTMPdump[/url] v1.5a?
Quote:
Originally Posted by Anywho View Post
Yep, that would be it. The "-W" option was added in version 2.0 of RTMPdump.
thanks for replying
that version was the latest on the page i could find
that site isn't available but searched for alternative
virustotal.com says 2 out of 42 scanners say its a virus
rtmpdump-20110925-git-6230845-win32.zip
AhnLab-V3 2011.10.20.00 2011.10.20

Trojan/Win32.ADH
Symantec 20111.2.0.82 2011.10.20 Trojan.ADH
took the risk
Code:
rtmpdump -r "rtmp://cp39920.live.edgefcs.net:1935/live" -a "live" -f "WIN 10,3,183,7" -W "http://cdn1.ustream.tv/swf/4/viewer.rsl.755.swf" -p "http://www.nasa.gov/multimedia/nasatv/ustream.html" -y "nasahd@55196" -o nasahd@55196.flv -v
using that code i get this
Code:
C:\>rtmpdump -r "rtmp://cp39920.live.edgefcs.net:1935/live" 

-a "live" -f "WIN 10
,3,183,7" -W 

"http://cdn1.ustream.tv/swf/4/viewer.rsl.755.swf" -p 

"http://www.na
sa.gov/multimedia/nasatv/ustream.html" -y "nasahd@55196" -o 

nasahd@55196.flv -v
RTMPDump 2.4 git-6230845 2011-9-25
(c) 2010 Andrej Stepanchuk, Howard Chu, The Flvstreamer 

Team; license: GPL
Connecting ...
INFO: Connected...
Starting Live Stream
INFO: Metadata:
INFO:   width                 428.00
INFO:   height                240.00
INFO:   framerate             14.99
INFO:   videocodecid          7.00
INFO:   videodatarate         200.00
INFO:   audiodatarate         64.00
1804.473 kB / 49.88 sec
so it works so thank you very much for that

but how do i play it in vlc or mplayer without downloading?
Reply With Quote
Reply Post New Thread
Tags: , , , , , , , , ,



Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Forum Jump


All times are GMT -6. The time now is 02:37 PM.


Powered by All-streaming-media.com; 2006-2011
vB forum hacked with Zoints add-ons