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)

iamsumit 12-17-2015 11:19 PM

Re: Customized rtmpdump binaries with patch file


 
KSV - any help on what are rtmpgw and rtmpsrv-vlc used for and how to make use of them? There are some info available online but they are very vague so wanted more clarity.

Can rtmpgw be used for sniffing http streams on port 8080/8081? Thanks.

TEOL 12-23-2015 07:36 AM

Re: Customized rtmpdump binaries with patch file


 
Sweet. In these fixes has the fix to get the better quality feeds from ITV ect. and possible other UK On Demands been added out of interest it's better for the software to snag good quality than bad?

TEOL 12-26-2015 04:55 AM

Re: Customized rtmpdump binaries with patch file


 
There is a minor bug issue with the latest version where it only works on the C Drive and not my external anymore hope it could be fixed but so far so good on the working drive.

ZeChico 01-09-2016 05:56 AM

Re: Customized rtmpdump binaries with patch file


 
Thanks a lot KSV and anonymous, since I'm using the latest patch the patched RTMP package as not crashed a single time with RTMPDumpHelper (mostly using it in CB and MFC).

Awesome job ;)

mleczan 01-24-2016 03:28 PM

Re: Customized rtmpdump binaries with patch file


 
Hi! Is it also possible to enhance your patched rtmpdump with support for resuming live streams? Currently there is no way and --resume is disabled when --live. Of course tehere is no way to seek in live stream therefore some data would be lost which is obvious but any reasuming (just appending new data to old file) would be great. Is it possible?

ZeChico 01-25-2016 09:13 AM

Re: Customized rtmpdump binaries with patch file


 
Quote:

Originally Posted by mleczan (Post 82362)
Hi! Is it also possible to enhance your patched rtmpdump with support for resuming live streams? Currently there is no way and --resume is disabled when --live. Of course tehere is no way to seek in live stream therefore some data would be lost which is obvious but any reasuming (just appending new data to old file) would be great. Is it possible?

You can always use ffmpeg with concat to join files.

I use this bat file to join various flv from the present folder and convert to mp4 (only audio to reencode), just make sure that the files are ordered by name:

Code:

@ECHO OFF
setlocal enableextensions enabledelayedexpansion
set /a "count=0"
set "file="
echo(>"_input.txt"

for %%a in (*.flv) do (
    (set /a "count+=1")
    (if !count! == 1 (set file=%%a))
    (echo file '%%~a'>>"_input.txt")
)

set file=%file:~0,-3%mp4
ffmpeg -f concat -i _input.txt -strict experimental -c:v copy -c:a libvo_aacenc -ab 16k -ar 16000 -ac 1 "%file%"

pause


mleczan 01-25-2016 12:19 PM

Re: Customized rtmpdump binaries with patch file


 
@ZeChico thank you for replay but unfortunately it won't fit my needs. I use rtmpdump to record live stream and use it like PVR in XBMC, in case or merging file I'd need to record whole at first, then merge and play - using only rtmpdump I can watch content with a delay of 10 secs. Resuming seems to be the only one problem and eventually I'll probably try to implement this in rtmpdump but wonder if change could be done in release version so everyone can benefit from it.

mleczan 01-29-2016 11:36 AM

Re: Customized rtmpdump binaries with patch file


 
Hello @KSV, I've made a patch which allow resuming live stream: https://drive.google.com/file/d/0B0d...ew?usp=sharing

New behaviour instead of ignoring --resume flag when --live is used just force to continue stream record, legacy is untouched. I'm not sure if this is a proper solution but anyway proved to be working fine.
Any chance to include this patch in your release so it won't get lost over time? (Help message was not updated)

andreibv 02-15-2016 02:41 PM

Re: Customized rtmpdump binaries with patch file


 
I'm trying to save the stream from the following url: http://www.rcs-rds.ro/internet-digi-...predeal-centru
I've tried with RTMPDumpHelper but I get the following errors:

ERROR: RTMP_Connect0, failed to connect socket. 10060 (Unknown error)
ERROR: RTMP_ReadPacket, failed to read RTMP packet header

Any tips? What am I doing wrong?

biezom 02-15-2016 04:49 PM

Re: Customized rtmpdump binaries with patch file


 
Quote:

Originally Posted by andreibv (Post 82625)
I'm trying to save the stream from the following url: http://www.rcs-rds.ro/internet-digi-...predeal-centru
I've tried with RTMPDumpHelper but I get the following errors:

ERROR: RTMP_Connect0, failed to connect socket. 10060 (Unknown error)
ERROR: RTMP_ReadPacket, failed to read RTMP packet header

Any tips? What am I doing wrong?

hi
with this version of rtmpdump

Code:

https://github.com/K-S-V/Scripts/releases/download/v2.4/rtmpdump-2.4.zip
Code:

rtmpdump -r "rtmp://82.76.249.73:80/digilivedge" -a "digilivedge" -f "LNX 19,0,0,207" -W "http://www.rcs-rds.ro/cams_utilities/jwplayer/player-licensed53.swf" -p "http://www.rcs-rds.ro/internet-digi-net/camere-web-streaming/predeal-centru" --live -y "predeal_centru_desktop"  -o Predeal-Centru.flv


All times are GMT -6. The time now is 11:48 PM.