Audio/video stream recording forums
|
Attention Visitor: |
You may have to register or log in before you can post:
|
|
|
Thread Tools | Display Modes |
#431
|
|||
|
|||
Re: Customized rtmpdump binaries with patch fileHi, K-S-V,
Looks like rtmpsuck totally ignores "deleteStream" command on active streams. In one case (when a server sends new streams with new IDs) it leads to the same stream being simultaneously saved in a number of files (not a big deal if you have enough disk space). In another case it results in a total mess: file names with wrong timestamps, wrong video duration, videos being non-seekable or totally corrupt. So, rtmpsuck should either check if the stream is already being saved, so it doesn't create a new file for a new connection. But it may result in a corrupt video. Or it should close existing connection and proceed with a new one. The latter woult lead to saving a stream on a poor connection in numerous files including empty ones (zero or 13 byte size). So it would also be great for rtmpsuck to automatically delete such empty files. Also this: Quote:
+ timestamp_len = strftime(×tamp[0], sizeof (timestamp), "%Y-%m-%d_%H-%M-%S_", localtime(¤t_time)); |
#432
|
|||
|
|||
Re: Customized rtmpdump binaries with patch filehello guys, years ago i downloaded adobe hds downloader with a .bat file which i only have to paste the url provided by the firefox addon hds link. you know where i can find it?
i swear i searched before post. |
#433
|
|||
|
|||
Re: Customized rtmpdump binaries with patch fileQuote:
|
#434
|
|||
|
|||
Re: Customized rtmpdump binaries with patch fileWhen I run make SYS=posix
make[1]: Entering directory '/home/martzy/Downloads/rtmpdump-ksv-ksv/librtmp' gcc -Wall -DRTMPDUMP_VERSION=\"v2.4\" -DUSE_OPENSSL -O2 -fPIC -c -o rtmp.o rtmp.c rtmp.c:129:12: error: static declaration of ‘strsplit’ follows non-static declaration static int strsplit(char *src, int srclen, char delim, char ***params); ^ In file included from rtmp_sys.h:61:0, from rtmp.c:33: rtmp.h:391:7: note: previous declaration of ‘strsplit’ was here int strsplit(char *src, int srclen, char delim, char ***params); ^ rtmp.c: In function ‘RTMP_ReadPacket’: rtmp.c:4004:7: warning: variable ‘didAlloc’ set but not used [-Wunused-but-set-variable] int didAlloc = FALSE; ^ <builtin>: recipe for target 'rtmp.o' failed make[1]: *** [rtmp.o] Error 1 make[1]: Leaving directory '/home/martzy/Downloads/rtmpdump-ksv-ksv/librtmp' Makefile:76: recipe for target 'librtmp/librtmp.a' failed make: *** [librtmp/librtmp.a] Error 2 |
#435
|
|||
|
|||
Re: Customized rtmpdump binaries with patch file |
#436
|
|||
|
|||
Re: Customized rtmpdump binaries with patch fileHere is one interesting post from FFMPEG forum.
http://ffmpeg.gusari.org/viewtopic.php?f=13&t=3621 If there is anybody interested in improving RTMPDUMP, --append switch may be one suggestion. |
#437
|
|||
|
|||
Re: Customized rtmpdump binaries with patch file |
#438
|
|||
|
|||
Re: Customized rtmpdump binaries with patch fileGuys,
Is anybody on this forum able to deliver download of Rtmpdump dated "RTMPDump v2.4 GIT-2015-12-23" ? I'm not the only one on the internet looking for that download. https://github.com/streamlink/streamlink/issues/1148 |
#439
|
|||
|
|||
Re: Customized rtmpdump binaries with patch fileZeranoe has removed his download links to rtmpdump for the reason known only to him.
https://ffmpeg.zeranoe.com/forum/viewtopic.php?t=1024 Here is one alternative very similar to Zeranoe's distro and with later updates. Rtmpsuck from this distro may work where KSV's rtmpsuck crushes. Courtesy of: Vangelis66 rtmpdump-2.4-20151223-gfa8646d-GnuTLS_3.5.12-win32-static.27-May-2017.zip http://www.datafilehost.com/d/11210ce4 |
#440
|
|||
|
|||
Re: Customized rtmpdump binaries with patch fileIn reference to KSV's rtmpsuck crush, here it is,
in case somebody would be interested in fixing the patch. Code:
root@j:/home/j/rtmpdump# rtmpsuck RTMP Proxy Server v2.4 KSV-2015-12-14 (c) 2010 Andrej Stepanchuk, Howard Chu; license: GPL Streaming on rtmp://0.0.0.0:1935 WARNING: Trying different position for client digest! Processing connect app : Decryption/ flashVer : LNX 27,0,0,187 swfUrl : https://imlive.com/swf/genericguestapp1.swf tcUrl : rtmp://fly4.globalmailer.com/Decryption/ pageUrl : https://imlive.com/flash_sdk/freevideochatguest.aspx?hostnick=sabrinagrey&roomid=10 ERROR: RTMP_ReadPacket, failed to read RTMP packet header Closing connection... done! WARNING: Trying different position for client digest! Processing connect app : iml flashVer : LNX 27,0,0,187 swfUrl : https://imlive.com/swf/genericguestapp1.swf tcUrl : rtmp://world.influxis.net/iml pageUrl : https://imlive.com/flash_sdk/freevideochatguest.aspx?hostnick=sabrinagrey&roomid=10 WARNING: Trying different position for client digest! Processing connect app : coolVideo_v2/1179439 flashVer : LNX 27,0,0,187 swfUrl : https://imlive.com/swf/genericguestapp1.swf tcUrl : rtmp://fly4.globalmailer.com/coolVideo_v2/1179439 pageUrl : https://imlive.com/flash_sdk/freevideochatguest.aspx?hostnick=sabrinagrey&roomid=10 *** Error in `rtmpsuck': malloc(): memory corruption: 0x00007f6054023070 *** ======= Backtrace: ========= /lib/x86_64-linux-gnu/libc.so.6(+0x7908b)[0x7f6065c0b08b] /lib/x86_64-linux-gnu/libc.so.6(+0x84ace)[0x7f6065c16ace] /lib/x86_64-linux-gnu/libc.so.6(__libc_malloc+0x54)[0x7f6065c18984] /lib/x86_64-linux-gnu/libc.so.6(+0x6eeed)[0x7f6065c00eed] /lib/x86_64-linux-gnu/libc.so.6(+0x1293a3)[0x7f6065cbb3a3] /lib/x86_64-linux-gnu/libc.so.6(__res_maybe_init+0x14d)[0x7f6065cbd08d] /lib/x86_64-linux-gnu/libc.so.6(__nss_hostname_digits_dots+0x36)[0x7f6065cbf166] /lib/x86_64-linux-gnu/libc.so.6(gethostbyname+0x98)[0x7f6065cadc68] /usr/local/lib/librtmp.so.1(+0x6cf0)[0x7f6065f5fcf0] /usr/local/lib/librtmp.so.1(RTMP_Connect+0x8d)[0x7f6065f6660d] rtmpsuck(+0x2ec4)[0x5628136fbec4] rtmpsuck(+0x3ee8)[0x5628136fcee8] /lib/x86_64-linux-gnu/libpthread.so.0(+0x76da)[0x7f60661816da] /lib/x86_64-linux-gnu/libc.so.6(clone+0x5f)[0x7f6065c9ad7f] ======= Memory map: ======== 5628136f9000-5628136ff000 r-xp 00000000 08:21 4333656 /usr/local/sbin/rtmpsuck 5628138fe000-5628138ff000 r--p 00005000 08:21 4333656 /usr/local/sbin/rtmpsuck 5628138ff000-562813900000 rw-p 00006000 08:21 4333656 /usr/local/sbin/rtmpsuck 562813ffe000-56281401f000 rw-p 00000000 00:00 0 [heap] 7f6048000000-7f6048021000 rw-p 00000000 00:00 0 7f6048021000-7f604c000000 ---p 00000000 00:00 0 7f6050000000-7f6050045000 rw-p 00000000 00:00 0 7f6050045000-7f6054000000 ---p 00000000 00:00 0 7f6054000000-7f6054026000 rw-p 00000000 00:00 0 7f6054026000-7f6058000000 ---p 00000000 00:00 0 7f6058000000-7f6058029000 rw-p 00000000 00:00 0 7f6058029000-7f605c000000 ---p 00000000 00:00 0 7f605df43000-7f605df59000 r-xp 00000000 08:21 5771846 /lib/x86_64-linux-gnu/libgcc_s.so.1 7f605df59000-7f605e158000 ---p 00016000 08:21 5771846 /lib/x86_64-linux-gnu/libgcc_s.so.1 7f605e158000-7f605e159000 r--p 00015000 08:21 5771846 /lib/x86_64-linux-gnu/libgcc_s.so.1 7f605e159000-7f605e15a000 rw-p 00016000 08:21 5771846 /lib/x86_64-linux-gnu/libgcc_s.so.1 7f605e15a000-7f605e15b000 ---p 00000000 00:00 0 7f605e15b000-7f605e95b000 rw-p 00000000 00:00 0 7f605e95b000-7f605e9cd000 r-xp 00000000 08:21 5771934 /lib/x86_64-linux-gnu/libpcre.so.3.13.3 7f605e9cd000-7f605ebcc000 ---p 00072000 08:21 5771934 /lib/x86_64-linux-gnu/libpcre.so.3.13.3 7f605ebcc000-7f605ebcd000 r--p 00071000 08:21 5771934 /lib/x86_64-linux-gnu/libpcre.so.3.13.3 7f605ebcd000-7f605ebce000 rw-p 00072000 08:21 5771934 /lib/x86_64-linux-gnu/libpcre.so.3.13.3 7f605ebce000-7f605ebd5000 r-xp 00000000 08:21 5784515 /lib/x86_64-linux-gnu/librt-2.24.so 7f605ebd5000-7f605edd4000 ---p 00007000 08:21 5784515 /lib/x86_64-linux-gnu/librt-2.24.so 7f605edd4000-7f605edd5000 r--p 00006000 08:21 5784515 /lib/x86_64-linux-gnu/librt-2.24.so 7f605edd5000-7f605edd6000 rw-p 00007000 08:21 5784515 /lib/x86_64-linux-gnu/librt-2.24.so 7f605edd6000-7f605edfb000 r-xp 00000000 08:21 5771961 /lib/x86_64-linux-gnu/libselinux.so.1 7f605edfb000-7f605effa000 ---p 00025000 08:21 5771961 /lib/x86_64-linux-gnu/libselinux.so.1 7f605effa000-7f605effb000 r--p 00024000 08:21 5771961 /lib/x86_64-linux-gnu/libselinux.so.1 7f605effb000-7f605effc000 rw-p 00025000 08:21 5771961 /lib/x86_64-linux-gnu/libselinux.so.1 7f605effc000-7f605effe000 rw-p 00000000 00:00 0 7f605effe000-7f605efff000 ---p 00000000 00:00 0 7f605efff000-7f605f7ff000 rw-p 00000000 00:00 0 7f605f7ff000-7f605f800000 ---p 00000000 00:00 0 7f605f800000-7f6060000000 rw-p 00000000 00:00 0 7f6060000000-7f6060021000 rw-p 00000000 00:00 0 7f6060021000-7f6064000000 ---p 00000000 00:00 0 7f60641a6000-7f60641a8000 r-xp 00000000 08:21 5771909 /lib/x86_64-linux-gnu/libnss_mdns4_minimal.so.2 7f60641a8000-7f60643a7000 ---p 00002000 08:21 5771909 7f60643a7000-7f60643a8000 r--p 00001000 08:21 5771909 7f60643a8000-7f60643a9000 rw-p 00002000 08:21 5771909 /lib/x86_64-linux-gnu/libnss_mdns4_minimal.so.2 7f60643a9000-7f60643b4000 r-xp 00000000 08:21 5784508 /lib/x86_64-linux-gnu/libnss_files-2.24.so 7f60643b4000-7f60645b3000 ---p 0000b000 08:21 5784508 7f60645b3000-7f60645b4000 r--p 0000a000 08:21 5784508 7f60645b4000-7f60645b5000 rw-p 0000b000 08:21 5784508 /lib/x86_64-linux-gnu/libnss_files-2.24.so 7f60645b5000-7f60645bb000 rw-p 00000000 00:00 0 7f60645bb000-7f60645bc000 ---p 00000000 00:00 0 7f60645bc000-7f6064dbc000 rw-p 00000000 00:00 0 7f6064dbc000-7f6064dbf000 r-xp 00000000 08:21 5784501 /lib/x86_64-linux-gnu/libdl-2.24.so 7f6064dbf000-7f6064fbe000 ---p 00003000 08:21 5784501 /lib/x86_64-linux-gnu/libdl-2.24.so 7f6064fbe000-7f6064fbf000 r--p 00002000 08:21 5784501 /lib/x86_64-linux-gnu/libdl-2.24.so 7f6064fbf000-7f6064fc0000 rw-p 00003000 08:21 5784501 /lib/x86_64-linux-gnu/libdl-2.24.so 7f6064fc0000-7f60650c8000 r-xp 00000000 08:21 5784502 /lib/x86_64-linux-gnu/libm-2.24.so 7f60650c8000-7f60652c7000 ---p 00108000 08:21 5784502 /lib/x86_64-linux-gnu/libm-2.24.so 7f60652c7000-7f60652c8000 r--p 00107000 08:21 5784502 /lib/x86_64-linux-gnu/libm-2.24.so 7f60652c8000-7f60652c9000 rw-p 00108000 08:21 5784502 /lib/x86_64-linux-gnu/libm-2.24.so 7f60652c9000-7f60652e4000 r-xp 00000000 08:21 5771989 /lib/x86_64-linux-gnu/libz.so.1.2.11 7f60652e4000-7f60654e3000 ---p 0001b000 08:21 5771989 /lib/x86_64-linux-gnu/libz.so.1.2.11 7f60654e3000-7f60654e4000 r--p 0001a000 08:21 5771989 /lib/x86_64-linux-gnu/libz.so.1.2.11 7f60654e4000-7f60654e5000 rw-p 0001b000 08:21 5771989 /lib/x86_64-linux-gnu/libz.so.1.2.11 7f60654e5000-7f60656fe000 r-xp 00000000 08:21 5784455 /lib/x86_64-linux-gnu/libcrypto.so.1.0.0 7f60656fe000-7f60658fe000 ---p 00219000 08:21 5784455 /lib/x86_64-linux-gnu/libcrypto.so.1.0.0 7f60658fe000-7f606591a000 r--p 00219000 08:21 5784455 /lib/x86_64-linux-gnu/libcrypto.so.1.0.0 7f606591a000-7f6065926000 rw-p 00235000 08:21 5784455 /lib/x86_64-linux-gnu/libcrypto.so.1.0.0 7f6065926000-7f6065929000 rw-p 00000000 00:00 0 7f6065929000-7f6065987000 r-xp 00000000 08:21 5784456 /lib/x86_64-linux-gnu/libssl.so.1.0.0 7f6065987000-7f6065b87000 ---p 0005e000 08:21 5784456 /lib/x86_64-linux-gnu/libssl.so.1.0.0 7f6065b87000-7f6065b8b000 r--p 0005e000 08:21 5784456 /lib/x86_64-linux-gnu/libssl.so.1.0.0 7f6065b8b000-7f6065b92000 rw-p 00062000 08:21 5784456 /lib/x86_64-linux-gnu/libssl.so.1.0.0 7f6065b92000-7f6065d50000 r-xp 00000000 08:21 5784498 /lib/x86_64-linux-gnu/libc-2.24.so 7f6065d50000-7f6065f4f000 ---p 001be000 08:21 5784498 /lib/x86_64-linux-gnu/libc-2.24.so 7f6065f4f000-7f6065f53000 r--p 001bd000 08:21 5784498 /lib/x86_64-linux-gnu/libc-2.24.so 7f6065f53000-7f6065f55000 rw-p 001c1000 08:21 5784498 /lib/x86_64-linux-gnu/libc-2.24.so 7f6065f55000-7f6065f59000 rw-p 00000000 00:00 0 7f6065f59000-7f6065f79000 r-xp 00000000 08:21 4197839 /usr/local/lib/librtmp.so.1 7f6065f79000-7f6066178000 ---p 00020000 08:21 4197839 /usr/local/lib/librtmp.so.1 7f6066178000-7f6066179000 r--p 0001f000 08:21 4197839 /usr/local/lib/librtmp.so.1 7f6066179000-7f606617a000 rw-p 00020000 08:21 4197839 /usr/local/lib/librtmp.so.1 7f606617a000-7f6066192000 r-xp 00000000 08:21 5784513 /lib/x86_64-linux-gnu/libpthread-2.24.so 7f6066192000-7f6066392000 ---p 00018000 08:21 5784513 /lib/x86_64-linux-gnu/libpthread-2.24.so 7f6066392000-7f6066393000 r--p 00018000 08:21 5784513 /lib/x86_64-linux-gnu/libpthread-2.24.so 7f6066393000-7f6066394000 rw-p 00019000 08:21 5784513 /lib/x86_64-linux-gnu/libpthread-2.24.so 7f6066394000-7f6066398000 rw-p 00000000 00:00 0 7f6066398000-7f60663be000 r-xp 00000000 08:21 5784494 /lib/x86_64-linux-gnu/ld-2.24.so 7f6066531000-7f6066572000 r-xp 00000000 08:21 5771970 /lib/x86_64-linux-gnu/libnss_resolve.so.2 7f6066572000-7f6066575000 r--p 00040000 08:21 5771970 /lib/x86_64-linux-gnu/libnss_resolve.so.2 7f6066575000-7f6066576000 rw-p 00043000 08:21 5771970 /lib/x86_64-linux-gnu/libnss_resolve.so.2 7f6066576000-7f6066577000 rw-p 00000000 00:00 0 7f6066598000-7f606659c000 rw-p 00000000 00:00 0 7f60665b9000-7f60665bd000 rw-p 00000000 00:00 0 7f60665bd000-7f60665be000 r--p 00025000 08:21 5784494 /lib/x86_64-linux-gnu/ld-2.24.so 7f60665be000-7f60665bf000 rw-p 00026000 08:21 5784494 /lib/x86_64-linux-gnu/ld-2.24.so 7f60665bf000-7f60665c0000 rw-p 00000000 00:00 0 7ffcf63f2000-7ffcf6413000 rw-p 00000000 00:00 0 [stack] 7ffcf64bb000-7ffcf64bd000 r--p 00000000 00:00 0 [vvar] 7ffcf64bd000-7ffcf64bf000 r-xp 00000000 00:00 0 [vdso] ffffffffff600000-ffffffffff601000 r-xp 00000000 00:00 0 [vsyscall] Aborted (core dumped) root@j:/home/j/rtmpdump# |
Tags: binaries, binary, patch, patches, rtmpdump, rtmpsrv, rtmpsuck |
Thread Tools | |
Display Modes | |
|
|