PDA

View Full Version : Unofficial RtmpDump binaries


svnpenn
01-01-2013, 08:57 PM
Someone deleted the thread again, by "accident".

svnpenn
01-01-2013, 08:58 PM
Clean up RtmpDump usage page

fix wrapping of long lines
add space before each param
comma instead of pipe character
short form first
capitalized some acronyms

github.com/svnpenn/rtmpdump/commit/8762

reumb
01-02-2013, 09:01 AM
cheers for updates.

no time for dlls anymore?

svnpenn
01-02-2013, 09:25 AM
no time for dlls anymore?

The current builds are pure "static" builds, no dlls, and static exe. If I was to build the dll it would be as a separate, "shared" build. Unless I see some big demand I will not be making shared builds going forward.

svnpenn
01-02-2013, 12:27 PM
SendInvoke

Some servers were stopping after about 500 kB downloaded.

Connecting ...
WARNING: HandShake: client signature does not match!
INFO: Connected...
Starting download at: 0.000 kB
INFO: Metadata:
INFO: height 480.00
INFO: width 640.00
571.996 kB / 7.12 sec
ERROR: RTMP_ReadPacket, failed to read RTMP packet header
574.196 kB / 7.28 sec
Download complete

Ref
http://github.com/downloads/K-S-V/Scripts/rtmpdump-2.4.zip
Problem server
http://www.cybc.com.cy/index.php/tv?id=90

github.com/svnpenn/rtmpdump/commit/5b6f

svnpenn
01-02-2013, 05:11 PM
verifyClient

Some servers were stopping after about 2 MB downloaded.

Connecting ...
INFO: Connected...
Starting download at: 0.000 kB
INFO: Metadata:
INFO: width 768.00
INFO: height 572.00
INFO: fps 25.00
1636.427 kB / 7.44 sec
ERROR: RTMP_ReadPacket, failed to read RTMP packet body. len: 7597
1671.344 kB / 7.68 sec
Download complete

Running with debug shows server invoking verifyClient

DEBUG: RTMP_ClientPacket, received: invoke 34 bytes
DEBUG: (object begin)
DEBUG: Property: <Name: no-name., STRING: verifyClient>
DEBUG: Property: <Name: no-name., NUMBER: 120781448.00>
DEBUG: Property: NULL
DEBUG: Property: <Name: no-name., NUMBER: 38.54>
DEBUG: (object end)
DEBUG: HandleInvoke, server invoking <verifyClient>

Ref
http://github.com/downloads/K-S-V/Scripts/rtmpdump-2.4.zip
Problem server
http://kissfm.ro/kisstv

github.com/svnpenn/rtmpdump/commit/2872

reumb
01-03-2013, 10:50 AM
a make of latest pu fails.

parseurl.c: In function 'spawn_dumper':
parseurl.c:406:3: warning: implicit declaration of function 'CreateJobObject'
parseurl.c:406:15: warning: initialization makes pointer from integer without a ca
parseurl.c:409:43: error: 'JOB_OBJECT_LIMIT_KILL_ON_JOB_CLOSE' undeclared (first u
parseurl.c:409:43: note: each undeclared identifier is reported only once for each
parseurl.c:410:3: warning: implicit declaration of function 'SetInformationJobObje
parseurl.c:420:7: warning: implicit declaration of function 'AssignProcessToJobObj
make[1]: *** [parseurl.o] Error 1


-did jump over those RtmpDumpHelper switch patches and a make was success.-

svnpenn
01-03-2013, 07:19 PM
a make of latest pu fails.
parseurl.c: In function 'spawn_dumper':
parseurl.c:406:3: warning: implicit declaration of function 'CreateJobObject'
parseurl.c:406:15: warning: initialization makes pointer from integer without a ca
parseurl.c:409:43: error: 'JOB_OBJECT_LIMIT_KILL_ON_JOB_CLOSE' undeclared (first u
parseurl.c:409:43: note: each undeclared identifier is reported only once for each
parseurl.c:410:3: warning: implicit declaration of function 'SetInformationJobObje
parseurl.c:420:7: warning: implicit declaration of function 'AssignProcessToJobObj
make[1]: *** [parseurl.o] Error 1
-did jump over those RtmpDumpHelper switch patches and a make was success.-

i686-w64-mingw32-gcc -H parseurl.c reveals this

. rtmp_sys.h
.. /usr/i686-w64-mingw32/sys-root/mingw/include/winsock2.h
... /usr/i686-w64-mingw32/sys-root/mingw/include/windows.h
.... /usr/i686-w64-mingw32/sys-root/mingw/include/windef.h
..... /usr/i686-w64-mingw32/sys-root/mingw/include/winnt.h

Before I make any changes I need to see your "make" line.

evol
01-04-2013, 05:56 AM
When i use your builds with rtmpdumphelper i get no output to the Command.bat but the stream downloads fine any ideas ?

svnpenn
01-04-2013, 06:52 AM
When i use your builds with rtmpdumphelper i get no output to the Command.bat but the stream downloads fine any ideas ?

I dont use "Command.bat". That is KSV convention.

reumb
01-04-2013, 08:39 AM
-sure-

make SHARED= SYS=mingw CRYPTO=POLARSSL LIBZ='-lz -static' VERSION='2.4\ git-111\ 2011-01-01'

make SYS=mingw CRYPTO=POLARSSL LIBZ='-lz -static'

fail because not using i686-w64-mingw32 toolchain.?

svnpenn
01-04-2013, 10:23 AM
-sure-
make SHARED= SYS=mingw CRYPTO=POLARSSL LIBZ='-lz -static' VERSION='2.4\ git-111\ 2011-01-01'
make SYS=mingw CRYPTO=POLARSSL LIBZ='-lz -static'
fail because not using i686-w64-mingw32 toolchain.?

You havent said what toolchain you are using, so its hard to say.

reumb
01-04-2013, 01:35 PM
the noob friendley -MinGW-MSYS Bundle-

http://sourceforge.net/projects/mingwbundle/

reumb
01-04-2013, 03:08 PM
-MinGW-MSYS Bundle-

why not show the diff and let me test it.

svnpenn
01-04-2013, 06:45 PM
Ok I see the problem. The JOB_OBJECT_LIMIT_KILL_ON_JOB_CLOSE is defined by
Microsoft here

msdn.microsoft.com/en-us/library/windows/desktop/ms684147

It is supposed to be defined in winnt.h. With MinGW-w64 this has been the case
for at least 3 years, as can be seen here

mingw-w64.svn.sourceforge.net/viewvc/mingw-w64/trunk/mingw-w64-headers/include/winnt.h?revision=1384&view=markup

However for some reason MinGW has failed to include this definition in their
version of the header. I would suggest compiling with MinGW-w64, which you can
get by itself or as part of a Cygwin installation. If you are adamant about
using MinGW I am willing to accept a patch, but I have no interest in developing
for a crippled platform (irony recognized).

reumb
01-05-2013, 12:56 PM
Thanks for the time that you did take to figure it out.

Did take some time to understand that i dont get cygwin[.] to work
with out investing noob years of aggro

-a patch would be welcomed-

svnpenn
01-05-2013, 01:55 PM
Did take some time to understand that i dont get cygwin[.] to work
with out investing noob years of aggro

When I first started, I was using MinGW. After that I was using a combo of MSYS for the linux tools (Bash, etc) and MinGW-w64 for the compiler. If you wish you try this route you can use the the package I was using

tdm-gcc.tdragon.net