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 > rtmpdump
Register FAQ Members List Calendar Mark Forums Read

 
 
Thread Tools Display Modes
Prev Previous Post   Next Post Next
  #1  
Old 04-07-2013, 01:15 PM
KSV KSV is offline
Senior Member
 
Join Date: Apr 2011
Posts: 853
KSV is on a distinguished road
Cool

Customized rtmpdump binaries with patch file


Anonymous recently shared some good patches with me so i thought of reviving the release thread again. apart from all my patches till date this release includes following new enhancements.

Anonymous's Contribution:

1. Better resume support:
rtmpdump can now resume from corrupted files by automatically searching the file for valid audio video frames.

2. Invalidate "Play2" command:
rtmpsuck now invalidates this transition command so flash player isn't able to adaptively switch the stream to another quality during capture.

3. Generate unique filenames:
if detected filename is longer than 128 characters it generates short unique name instead.

4. fixed a bug in AMF3 decoding

5. few other minor fixes

My Fixes:

1. add timestamp to detected filename (rtmpsrv and rtmpsuck) to avoid overwriting the streams

2. replace invalid characters in filename with underscore

3. fixed a crash in rtmpsuck when closed using 'q' command

4. fixed generation of invalid flv file in some rare cases

5. few other minor fixes

Update 17/04/2013:

1. fixed rtmpsrv command generation in some specific cases + other minor fixes

Update 22/04/2013:

1. enhanced keyframe search for much better resume functionality
2. fixed a bug in RTMP_FindPrefixProperty and RTMP_FindFirstMatchingProperty function

Update 25/04/2013:

1. added onFCSubscribe response to rtmpsrv to detect more streams
2. show complete debug info in rtmpsuck when connection is closed
3. fixed a small bug in redirect handling (allocating 1 byte less than required)

Update 07/05/2013:

1. fixed timestamp generation on some platforms

Update 15/05/2013:

1. added support for featve.com changes

Update 19/05/2013:

1. added support for wfctv.com

Update 11/06/2013:

1. updated support for webvideocore.net servers

Update 14/09/2013:

1. added support for yycast.com changes

Update 18/10/2013:

1. added support for yukons.net, axcast.com changes

Update 14/03/2014:

1. also check client signature to detect if server wanna use old rtmp handshake
(fixes handshake problems with some lousy servers)
2. added support for ddoss.me, streampiraten.ws changes
3. handle NetConnection.Connect.Rejected for onStatus response along with _error

Update 21/03/2014:

1. updated support for streampiraten.ws and clones
2. fixed a small bug

Update 11/09/2014:

1. updates for some site changes

Update 28/10/2014:

1. cleaned-up and merged --ccommand | -K switch patch (provided by @denobis)
2. rewrote the support for 3dbuzz.com authentication

Update 19/01/2015:

1. some minor fixes

Update 09/02/2015:

1. updated support for mips.tv and clones

Update 01/05/2015:

1. save and resume support for more than 4 GB files
2. add null encoding support in AMF object ( -C NZ:name: )
3. other minor fixes

Update 05/05/2015:

1. added basic support for AMF_REFERENCE type
2. added support for tvb.com streams

Update 11/12/2015:

1. fixed some AMF3 decoding issues (videostream.dn.ua)
2. fixed a crash in rtmpsuck
3. other minor fixes

Update 15/12/2015:

1. sync with rtmpdump upstream

==========
This release supersedes all previous releases.
Code:
https://github.com/K-S-V/Scripts/releases
==========

Compiling with Patch for other systems:

assuming you have all tools (gcc, binutils etc.) and dependencies (OpenSSL, Zlib) installed correctly for your distribution.

1. clone the repository
Code:
git clone git://git.ffmpeg.org/rtmpdump
2. copy patch from package to rtmpdump directory and apply it
Code:
patch -p0 -i Patch.diff
3. then just compile and install normally
Code:
make
sudo make install prefix=/usr
Mac users should add SYS=darwin while compiling. you can also add XLDFLAGS="-s -static" to statically link and strip the resulting binary.

Last edited by KSV : 12-15-2015 at 10:13 AM. Reason: updated binaries
Reply With Quote
 
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 01:33 AM.


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