Audio/video stream recording forums (http://stream-recorder.com/forum/index.php)
-   rtmpdump (http://stream-recorder.com/forum/forumdisplay.php?f=54)
-   -  

Customized rtmpdump binaries with patch file

(http://stream-recorder.com/forum/showthread.php?t=16103)

JDappaG4 05-28-2014 05:51 AM

Re: Customized rtmpdump binaries with patch file


 
Quote:

Originally Posted by chap (Post 67861)
try use parametr -v

Quote:

Originally Posted by chap (Post 67892)
example
Code:

rtmpdump -r "rtmp://dvr4.ustvnow.com:1935/dvrrokuplay" -a "dvrrokuplay" -f "" -W "" -p "" -y "mp4:....." -o ".....flv" -v

Thank you so very much for replying and helping, this simple "-v" made all the difference and it worked a treat. One question though why exactly does rtmpdump disconnect like that without using -v parameter?

The reason I ask is because for example if by some measure the connection is lost during downloading and I wanted to resume or start the video from a specific point using -A parameter, I wouldn't be able to using -v parameter since they can't work with live stream but if I do resume without -v then the video does the same as I mentioned in my first post.

Is there any other work around to this problem or a rtmpdump.exe that downloads the entire video without disconnecting without having to use -v so other parameters can be used?

Thank You!

lonmajs 05-29-2014 02:55 PM

Re: Customized rtmpdump binaries with patch file


 
I do not understand where to download the last binaries.On the first page it says that the last update is from
2014 but latest available release is from September 12, 2013

https://github.com/K-S-V/Scripts/releases/latest

chap 05-29-2014 03:44 PM

Re: Customized rtmpdump binaries with patch file


 
Quote:

Originally Posted by JDappaG4 (Post 67904)
I wouldn't be able to using -v parameter since they can't work with live stream but if I do resume without -v then the video does the same as I mentioned in my first post.
Thank You!

try use parametr -R -e

JDappaG4 05-30-2014 07:10 AM

Re: Customized rtmpdump binaries with patch file


 
Quote:

Originally Posted by chap (Post 67947)
try use parametr -R -e

Thank you so very much it works perfectly now I don't have to worry about missing anything when I download or start over each time connection gets disconnected.

Huge Thanks again!

lonmajs 05-31-2014 05:45 AM

Re: Customized rtmpdump binaries with patch file


 
Is the latest rtmpdump release from KSV from septermber 2013?

KSV 05-31-2014 10:31 AM

Re: Customized rtmpdump binaries with patch file


 
Quote:

Originally Posted by lonmajs (Post 67946)
I do not understand where to download the last binaries.On the first page it says that the last update is from
2014 but latest available release is from September 12, 2013

https://github.com/K-S-V/Scripts/releases/latest

ignore the date. github shows the date when the tag v2.4 was created. it is the latest release.

lonmajs 06-04-2014 04:42 PM

Re: Customized rtmpdump binaries with patch file


 
OK.Thanks.Github is so confusing to me.
Do you know how I can get this stream to work?

Code:

RTMPDump v2.4 GIT-2014-03-02 (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
DEBUG: Protocol : RTMPT
DEBUG: Hostname : n2.mos.cdn.online.ru
DEBUG: Port    : 80
DEBUG: Playpath : udp://0.0.0.0:3094
DEBUG: tcUrl    : rtmpt://n2.mos.cdn.online.ru:80/live-r
DEBUG: swfUrl  : http://www.corbina.tv/flash/swf/player.swf
DEBUG: pageUrl  : http://www.corbina.tv/tv/tvc
DEBUG: app      : live-r
DEBUG: flashVer : WIN 13,7,700,224
DEBUG: live    : yes
DEBUG: timeout  : 30 sec
DEBUG: SWFSHA256:
DEBUG: 3f bb 22 fa 33 28 7e fb 01 87 ca 85 82 d7 9f 0a
DEBUG: 3a f9 44 28 86 76 5b 7c be fd df c9 07 94 92 8a
DEBUG: SWFSize  : 218957
DEBUG: Setting buffer time to: 36000000ms
Connecting ...
DEBUG: RTMP_Connect1, ... connected, handshaking
DEBUG: HandShake: Client type: 03
DEBUG: HandShake: Client digest offset: 160
DEBUG: HandShake: Initial client digest:
DEBUG: 3e ed c7 95 28 03 f1 88 80 3c 16 96 05 d2 e2 e7
DEBUG: 22 bf 63 de 17 0c 46 e3 ac 41 1b d5 2b 8f 02 10
DEBUG: Trying to fill HTTP buffer, Retries: 1
DEBUG: Trying to read HTTP response, Bytes Available: 3221
DEBUG: HandShake: Type Answer  : 03
DEBUG: HandShake: Server Uptime : 96850052
DEBUG: HandShake: FMS Version  : 3.0.1.1
DEBUG: HandShake: Calculated digest key from secure key and server digest:
DEBUG: 9e ed a0 e9 fc b3 3f d8 7e 08 1f 41 80 75 a1 bb
DEBUG: a5 5c ec c1 5f 4c 3d f0 27 7f 69 ae b0 f9 45 47
DEBUG: HandShake: Client signature calculated:
DEBUG: 26 ac fd 77 a9 85 64 c6 3e 18 70 0d f0 34 cf 45
DEBUG: 95 15 eb d9 12 1f f5 1e 21 84 12 8d 96 33 40 64
DEBUG: HandShake: Server sent signature:
DEBUG: b1 82 28 13 b7 65 75 45 ac d6 75 70 bf bc 37 e4
DEBUG: 89 af a9 6c 1e 71 2c e9 a0 5b 51 d4 76 0d bf 5a
DEBUG: HandShake: Digest key:
DEBUG: 0c 3b a5 f5 df 91 7c 7e 04 d0 22 c0 51 67 1f ab
DEBUG: 8d 5e a8 f9 cc 95 5d 6c 3f c9 be 29 78 a8 00 fd
DEBUG: HandShake: Signature calculated:
DEBUG: b1 82 28 13 b7 65 75 45 ac d6 75 70 bf bc 37 e4
DEBUG: 89 af a9 6c 1e 71 2c e9 a0 5b 51 d4 76 0d bf 5a
DEBUG: HandShake: Genuine Adobe Flash Media Server
DEBUG: HandShake: Handshaking finished....
DEBUG: RTMP_Connect1, handshaked
DEBUG: Invoking connect
INFO: Connected...
DEBUG: Trying to fill HTTP buffer, Retries: 1
DEBUG: Trying to read HTTP response, Bytes Available: 146
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 259 bytes
DEBUG: (object begin)
DEBUG: Property: <Name:            no-name, STRING:    _result>
DEBUG: Property: <Name:            no-name, NUMBER:    1.00>
DEBUG: Property: <Name:            no-name, OBJECT>
DEBUG: (object begin)
DEBUG: Property: <Name:            fmsVer, STRING:    FMS/3,5,4,210>
DEBUG: Property: <Name:      capabilities, NUMBER:    31.00>
DEBUG: Property: <Name:              mode, NUMBER:    1.00>
DEBUG: (object end)
DEBUG: Property: <Name:            no-name, OBJECT>
DEBUG: (object begin)
DEBUG: Property: <Name:              level, STRING:    status>
DEBUG: Property: <Name:              code, STRING:    NetConnection.Connect.Su
ccess>
DEBUG: Property: <Name:        description, STRING:    Connection succeeded.>
DEBUG: Property: <Name:              data, ECMA_ARRAY>
DEBUG: (object begin)
DEBUG: Property: <Name:            version, STRING:    3,5,4,210>
DEBUG: (object end)
DEBUG: Property: <Name:          clientid, NUMBER:    541950032.00>
DEBUG: Property: <Name:    objectEncoding, NUMBER:    3.00>
DEBUG: (object end)
DEBUG: (object end)
DEBUG: HandleInvoke, server invoking <_result>
DEBUG: HandleInvoke, received result for method call <connect>
DEBUG: sending ctrl, type: 0x0003
DEBUG: Invoking createStream
DEBUG: Trying to fill HTTP buffer, Retries: 1
DEBUG: Trying to read HTTP response, Bytes Available: 144
DEBUG: Trying to read HTTP response, Bytes Available: 145
DEBUG: Trying to fill HTTP buffer, Retries: 2
DEBUG: Trying to read HTTP response, Bytes Available: 144
DEBUG: Trying to fill HTTP buffer, Retries: 3
DEBUG: Trying to read HTTP response, Bytes Available: 144
DEBUG: Trying to fill HTTP buffer, Retries: 4
DEBUG: Trying to read HTTP response, Bytes Available: 144
DEBUG: Trying to fill HTTP buffer, Retries: 5
DEBUG: Trying to read HTTP response, Bytes Available: 144
DEBUG: Trying to fill HTTP buffer, Retries: 6
DEBUG: Trying to read HTTP response, Bytes Available: 144
DEBUG: Trying to fill HTTP buffer, Retries: 7
DEBUG: Trying to read HTTP response, Bytes Available: 144
DEBUG: Trying to fill HTTP buffer, Retries: 8
DEBUG: Trying to read HTTP response, Bytes Available: 144
DEBUG: Trying to fill HTTP buffer, Retries: 9
DEBUG: Trying to read HTTP response, Bytes Available: 144
DEBUG: Trying to fill HTTP buffer, Retries: 10
DEBUG: Trying to read HTTP response, Bytes Available: 144
DEBUG: Trying to fill HTTP buffer, Retries: 11
DEBUG: Trying to read HTTP response, Bytes Available: 144
DEBUG: Trying to fill HTTP buffer, Retries: 12
DEBUG: Trying to read HTTP response, Bytes Available: 144
DEBUG: Trying to fill HTTP buffer, Retries: 13
DEBUG: Trying to read HTTP response, Bytes Available: 144
DEBUG: Trying to fill HTTP buffer, Retries: 14
DEBUG: Trying to read HTTP response, Bytes Available: 144
DEBUG: Trying to fill HTTP buffer, Retries: 15
DEBUG: Trying to read HTTP response, Bytes Available: 144
DEBUG: Trying to fill HTTP buffer, Retries: 16
DEBUG: Trying to read HTTP response, Bytes Available: 144
DEBUG: Trying to fill HTTP buffer, Retries: 17
DEBUG: Trying to read HTTP response, Bytes Available: 144
DEBUG: Trying to fill HTTP buffer, Retries: 18
DEBUG: Trying to read HTTP response, Bytes Available: 144
DEBUG: Trying to fill HTTP buffer, Retries: 19
DEBUG: Trying to read HTTP response, Bytes Available: 144
DEBUG: Trying to fill HTTP buffer, Retries: 20
DEBUG: Trying to read HTTP response, Bytes Available: 144
DEBUG: Trying to fill HTTP buffer, Retries: 21
DEBUG: Trying to read HTTP response, Bytes Available: 144
DEBUG: Trying to fill HTTP buffer, Retries: 22
DEBUG: Trying to read HTTP response, Bytes Available: 144
DEBUG: Trying to fill HTTP buffer, Retries: 23
DEBUG: Trying to read HTTP response, Bytes Available: 145
DEBUG: Trying to fill HTTP buffer, Retries: 24
DEBUG: Trying to read HTTP response, Bytes Available: 144
DEBUG: Trying to fill HTTP buffer, Retries: 25
DEBUG: Trying to read HTTP response, Bytes Available: 144
DEBUG: Trying to fill HTTP buffer, Retries: 26
DEBUG: Trying to read HTTP response, Bytes Available: 144
DEBUG: Trying to fill HTTP buffer, Retries: 27
DEBUG: Trying to read HTTP response, Bytes Available: 144
DEBUG: Trying to fill HTTP buffer, Retries: 28
DEBUG: Trying to read HTTP response, Bytes Available: 144
DEBUG: Trying to fill HTTP buffer, Retries: 29
DEBUG: Trying to read HTTP response, Bytes Available: 144
DEBUG: Trying to fill HTTP buffer, Retries: 30
DEBUG: Trying to read HTTP response, Bytes Available: 144
DEBUG: Trying to fill HTTP buffer, Retries: 31
DEBUG: Trying to read HTTP response, Bytes Available: 144
ERROR: RTMP_ReadPacket, failed to read RTMP packet header
DEBUG: Closing connection.


sandy187 06-04-2014 05:03 PM

Re: Customized rtmpdump binaries with patch file


 
try this:
Code:

rtmp://n2.mos.cdn.online.ru:80/live-r -W http://www.corbina.tv/flash/swf/player.swf -p http://www.corbina.tv/tv/tvc -y udp://0.0.0.0:3094
Code:

RTMPDump v2.4
(c) 2010 Andrej Stepanchuk, Howard Chu, The Flvstreamer Team; license: GPL
Connecting ...
INFO: Connected...
Starting Live Stream
INFO: Metadata:
INFO:  audiochannels          2.00
INFO:  audiosamplerate        48000.00
INFO:  audiocodecid            mp4a
INFO:  videocodecid            avc1
INFO:  width                  320.00
INFO:  height                  240.00
INFO:  frameWidth              320.00
INFO:  frameHeight            240.00
INFO:  displayWidth            320.00
INFO:  displayHeight          240.00
INFO: trackinfo:
INFO:  timescale              0.00
INFO:  language                eng
INFO: sampledescription:
INFO:  type                    audio
INFO:  config                  1190
INFO:  description            {AACFrame: size: 0, rate: 48000, channels: 2, sa
mples: 1024, errorBitsAbsent: true, profileObjectType: "LC"}
INFO:  timescale              0.00
INFO:  language                eng
INFO: sampledescription:
INFO:  type                    video
INFO:  profile-level-id        42c01e
INFO:  sprop-parameter-sets    Z0LAHtkBQfv/AC0ALBAAAAMAEAAAAwMo8WLkgAA=,aMuMsg=
=
INFO:  description            {H264CodecConfigInfo: profile: "Baseline", level
: 3.0, frameSize: 320x240, displaySize: 327x240, PAR: 45:44}
INFO: rtpsessioninfo:
INFO:  connectiondata          IN IP4 0.0.0.0
INFO:  name                    WowzaMediaServerPro MPEG-TS
INFO:  origin                  - 2106934754 2106934754 IN IP4 127.0.0.1
INFO:  timing                  0 0
INFO:  protocolversion        0
INFO: attributes:
INFO:  range                  npt=now-
10772.097 kB / 165.89 sec

Edit: as usual changing the udp port # will play other channels, also.

bananacakes 06-06-2014 05:17 PM

Re: Customized rtmpdump binaries with patch file


 
I downloaded the patch and the good thing is that now I can get multiple streams at the same time with this patch but it still doesnt seem to be adding the timestamp thing.
as a result my files still get overwritten.
I'm using Firefox if that makes any difference.

any suggestions for a complete noob? :(

bananacakes 06-08-2014 01:09 PM

Re: Customized rtmpdump binaries with patch file


 
for some reason, i keep getting a rtmpsuck has failed message and then shortly afterwards, my flash player will crash...any idea why this is happening?


All times are GMT -6. The time now is 03:00 AM.