Audio/video stream recording forums
|
Attention Visitor: |
You may have to register or log in before you can post:
|
|
|
Thread Tools | Display Modes |
|
#1
|
|||
|
|||
howto download fcgov.com pegcentral videos with rtmpdumphttp://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 |
#2
|
|||
|
|||
Re: howto download fcgov.com pegcentral videos with rtmpdumpCode:
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%) |
#3
|
|||
|
|||
Re: howto download fcgov.com pegcentral videos with rtmpdumpHi,
you need a token which is..... Code:
-T "2JNxehiz" greetz |
#4
|
|||
|
|||
Re: howto download fcgov.com pegcentral videos with rtmpdumpThank you. I see what I was missing and now understand how to get the secureTokenCode from swfmill swf2xml media_player_102908.swf
|
#5
|
|||
|
|||
Re: howto download fcgov.com pegcentral videos with rtmpdumpvideo also has ios support (hls), which doesn't need any token;
Code:
http://sampi-rtmp.pegcentral.com/cable14/831-Medium.mp4/playlist.m3u8 Code:
http://sampi-rtmp.pegcentral.com/cable14/831-Medium.mp4/manifest.f4m |
Tags: pegcentral rtmpdump |
Thread Tools | |
Display Modes | |
|
|