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 09-25-2014, 03:35 PM
fcvideos fcvideos is offline
Junior Member
 
Join Date: Sep 2014
Posts: 2
fcvideos is on a distinguished road
Default

howto download fcgov.com pegcentral videos with rtmpdump


http://www.fcgov.com/cable14/video-archive.php

A few months ago fcgov.com changed to pegcentral format. I have not been able to figure out how to download. From reading various posting here and elsewhere, looks like rtmpdump should work (Umbuntu 13.10). However, I have never used rtmpdump before and I cannot figure out the command line.

I want to be able to download anyvideo from the above site, but this is the one I tried in the tests below.
http://cable14.pegcentral.com/player...46552b3b9ba5c6

Thank you.

TERSE:
rtmpdump -r "rtmp://sampi-rtmp.pegcentral.com/peg_c_stream/?doConnect=12345&doPublish=54321" -a "peg_c_stream/?doConnect=12345&doPublish=54321" -T "mytestpassword" -y "mp4:cable14/831-Medium.mp4" --live -o z.flv
RTMPDump v2.4
(c) 2010 Andrej Stepanchuk, Howard Chu, The Flvstreamer Team; license: GPL
Connecting ...
INFO: Connected...
ERROR: RTMP_ReadPacket, failed to read RTMP packet header

VERBOSE:
rtmpdump -V -r "rtmp://sampi-rtmp.pegcentral.com/peg_c_stream/?doConnect=12345&doPublish=54321" -a "peg_c_stream/?doConnect=12345&doPublish=54321" -T "mytestpassword" -y "mp4:cable14/831-Medium.mp4" --live -o z.flv
RTMPDump v2.4
(c) 2010 Andrej Stepanchuk, Howard Chu, The Flvstreamer Team; license: GPL
DEBUG: Parsing...
DEBUG: Parsed protocol: 0
DEBUG: Parsed host : sampi-rtmp.pegcentral.com
DEBUG: Parsed app : peg_c_stream
DEBUG: Protocol : RTMP
DEBUG: Hostname : sampi-rtmp.pegcentral.com
DEBUG: Port : 1935
DEBUG: Playpath : mp4:cable14/831-Medium.mp4
DEBUG: tcUrl : rtmp://sampi-rtmp.pegcentral.com:1935/peg_c_stream/?doConnect=12345&doPublish=54321
DEBUG: app : peg_c_stream/?doConnect=12345&doPublish=54321
DEBUG: live : yes
DEBUG: timeout : 30 sec
DEBUG: Setting buffer time to: 36000000ms
Connecting ...
DEBUG: RTMP_Connect1, ... connected, handshaking
DEBUG: HandShake: Type Answer : 03
DEBUG: HandShake: Server Uptime : 96850052
DEBUG: HandShake: FMS Version : 3.0.1.1
DEBUG: HandShake: Handshaking finished....
DEBUG: RTMP_Connect1, handshaked
DEBUG: Invoking connect
INFO: Connected...
DEBUG: HandleServerBW: server BW = 2500000
DEBUG: HandleClientBW: client BW = 2500000 2
DEBUG: HandleCtrl, received ctrl. type: 0, len: 6
DEBUG: HandleCtrl, Stream Begin 0
DEBUG: HandleChangeChunkSize, received: chunk size change to 4096
DEBUG: RTMP_ClientPacket, received: invoke 349 bytes
DEBUG: (object begin)
DEBUG: (object begin)
DEBUG: Property: <Name: fmsVer, STRING: FMS/3,5,7,7009>
DEBUG: Property: <Name: capabilities, NUMBER: 31.00>
DEBUG: Property: <Name: mode, NUMBER: 1.00>
DEBUG: (object end)
DEBUG: (object begin)
DEBUG: Property: <Name: level, STRING: status>
DEBUG: Property: <Name: code, STRING: NetConnection.Connect.Success>
DEBUG: Property: <Name: description, STRING: Connection succeeded.>
DEBUG: Property: <Name: data, OBJECT>
DEBUG: (object begin)
DEBUG: Property: <Name: version, STRING: 3,5,7,7009>
DEBUG: (object end)
DEBUG: Property: <Name: clientid, NUMBER: 862120.00>
DEBUG: Property: <Name: objectEncoding, NUMBER: 0.00>
DEBUG: Property: <Name: secureToken, STRING: 959a0241817e3cd7cbbd37a187211dbcda4232a9951b6e9611 417344de6832447a3c0110>
DEBUG: (object end)
DEBUG: (object end)
DEBUG: HandleInvoke, server invoking <_result>
DEBUG: HandleInvoke, received result for method call <connect>
DEBUG: Invoking secureTokenResponse
DEBUG: sending ctrl. type: 0x0003
DEBUG: Invoking createStream
DEBUG: FCSubscribe: mp4:cable14/831-Medium.mp4
DEBUG: Invoking FCSubscribe
DEBUG: RTMP_ClientPacket, received: invoke 29 bytes
DEBUG: (object begin)
DEBUG: Property: NULL
DEBUG: (object end)
DEBUG: HandleInvoke, server invoking <_result>
DEBUG: HandleInvoke, received result for method call <createStream>
DEBUG: SendPlay, seekTime=0, stopTime=0, sending play: mp4:cable14/831-Medium.mp4
DEBUG: Invoking play
DEBUG: sending ctrl. type: 0x0003
DEBUG: Invoking deleteStream
ERROR: RTMP_ReadPacket, failed to read RTMP packet header
DEBUG: Closing connection.

OTHER ATTEMPTS -- ALL FAILED:
rtmpdump -V --live -r "rtmp://sampi-rtmp.pegcentral.com/peg_c_stream" -a "peg_c_stream/?doConnect=12345&doPublish=54321" -p
rtmpdump -V --live -r "rtmp://sampi-rtmp.pegcentral.com/peg_c_stream" -a "peg_c_stream/?doConnect=12345&doPublish=54321" -p "http://cable14.pegcentral.com/player.php?video=8b62877ccb7cfc621446552b3b9ba5c" -y "mp4:cable14/831-Medium.mp4" -T "mytestpassword" -o z.flv
rtmpdump -V -r "rtmp://sampi-rtmp.pegcentral.com/cable14/831-Medium.mp4" -live -o z.flv
rtmpdump -V -r "rtmp://sampi-rtmp.pegcentral.com/peg_c_stream/?doConnect=12345&doPublish=54321" -a "peg_c_stream/?doConnect=12345&doPublish=54321" -T "mytestpassword" -y "mp4:cable14/831-Medium.mp4" --live -o z.flv
rtmpdump -V -r "rtmp://sampi-rtmp.pegcentral.com/peg_c_stream/?doConnect=12345&doPublish=54321" -a "peg_c_stream/?doConnect=12345&doPublish=54321" -T "mytestpassword" -y "mp4:cable14/831-Medium.mp4" -o z.flv
rtmpdump -r "rtmp://beta-rtmp.pegcentral.com/peg_c_stream" -a "peg_c_stream/?doConnect=12345&doPublish=54321" -p "http://cable14.pegcentral.com/player.php?video=8b62877ccb7cfc621446552b3b9ba5c6" -T "mytestpassword" --live -o Test.flv
rtmpdump -r "rtmp://beta-rtmp.pegcentral.com/peg_c_stream" -a "peg_c_stream/?doConnect=12345&doPublish=54321" -p "http://cable14.pegcentral.com/player.php?video=8b62877ccb7cfc621446552b3b9ba5c6" -y mp4:z.mp4 -T "mytestpassword" --live -o Test.flv
rtmpdump -r "rtmp://sampi-rtmp.pegcentral.com/cable14/831-Medium.mp4"
rtmpdump -r "rtmp://sampi-rtmp.pegcentral.com/cable14/831-Medium.mp4" -o z.flv
rtmpdump -r "rtmp://sampi-rtmp.pegcentral.com/peg_c_stream/?doConnect=12345&doPublish=54321" -a "peg_c_stream/?doConnect=12345&doPublish=54321" -T "mytestpassword" -y "mp4:cable14/831-Medium.mp4" -o z.flv
rtmpdump -r "rtmp://theta-rtmp.pegcentral.com/peg_c_stream/?doConnect=12345&doPublish=54321" -a "peg_c_stream/?doConnect=12345&doPublish=54321" -T "mytestpassword" -y "mp4:cable14/831-Medium.mp4" -o z.flv
Reply With Quote
  #2  
Old 09-25-2014, 03:54 PM
hasomaso hasomaso is offline
Senior Member
 
Join Date: Apr 2011
Posts: 943
hasomaso is on a distinguished road
Default

Re: howto download fcgov.com pegcentral videos with rtmpdump


Code:
rtmpdump -v -r "rtmpe://sampi.pegcentral.com/cable14/" -a "cable14/?doConnect=12345&doPublish=54321" -f "WIN 15,0,0,167" -W "http://cable14.pegcentral.com/flash/media_player_102908.swf" -p "http://cable14.pegcentral.com/player.php?video=8b62877ccb7cfc621446552b3b9ba5c6" -y "mp4:831-Medium.mp4" -T "2JNxehiz" -o "output.flv"
Code:
RTMPDump v2.4 GIT-2014-07-07 (Compiled by KSV)
(c) 2010 Andrej Stepanchuk, Howard Chu, The Flvstreamer Team; license: GPL
WARNING: You haven't specified an output file (-o filename), using stdout
Connecting ...
WARNING: Trying different position for server digest!
INFO: Connected...
Starting download at: 0.000 kB
INFO: Metadata:
INFO: trackinfo:
INFO:   timescale               30000.00
INFO:   length                  338249912.00
INFO:   language                eng
INFO: sampledescription:
INFO:   sampletype              avc1
INFO:   timescale               48000.00
INFO:   length                  541207552.00
INFO:   language                eng
INFO: sampledescription:
INFO:   sampletype              mp4a
INFO:   audiochannels           2.00
INFO:   audiosamplerate         48000.00
INFO:   videoframerate          29.97
INFO:   aacaot                  2.00
INFO:   avclevel                30.00
INFO:   avcprofile              66.00
INFO:   audiocodecid            mp4a
INFO:   videocodecid            avc1
INFO:   width                   480.00
INFO:   height                  360.00
INFO:   frameWidth              480.00
INFO:   frameHeight             360.00
INFO:   displayWidth            480.00
INFO:   displayHeight           360.00
INFO:   framerate               29.97
INFO:   moovposition            630840985.00
INFO:   duration                11275.16
2056.778 kB / 35.13 sec (0.3%)
Reply With Quote
  #3  
Old 09-25-2014, 03:55 PM
troller12 troller12 is offline
Senior Member
 
Join Date: Sep 2013
Posts: 433
troller12 is on a distinguished road
Default

Re: howto download fcgov.com pegcentral videos with rtmpdump


Hi,

you need a token which is.....
Code:
-T "2JNxehiz"
Now you can watch or download.

greetz
Reply With Quote
  #4  
Old 09-25-2014, 06:39 PM
fcvideos fcvideos is offline
Junior Member
 
Join Date: Sep 2014
Posts: 2
fcvideos is on a distinguished road
Default

Re: howto download fcgov.com pegcentral videos with rtmpdump


Thank you. I see what I was missing and now understand how to get the secureTokenCode from swfmill swf2xml media_player_102908.swf
Reply With Quote
  #5  
Old 09-25-2014, 09:25 PM
blimey blimey is offline
Former Member
 
Join Date: Jul 2006
Posts: 286
blimey is on a distinguished road
Default

Re: howto download fcgov.com pegcentral videos with rtmpdump


video also has ios support (hls), which doesn't need any token;
Code:
http://sampi-rtmp.pegcentral.com/cable14/831-Medium.mp4/playlist.m3u8
and hds support, which also doesn't need any token;
Code:
http://sampi-rtmp.pegcentral.com/cable14/831-Medium.mp4/manifest.f4m
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 06:08 PM.


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