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)

jhb50 10-18-2014 07:01 AM

Re: Customized rtmpdump binaries with patch file


 
It is ironic that someone who is knowingly breaking the law by streaming copyrighted material for a fee from those who are making money by capturing and generating streams of copyrighted material now suggests that he will take action to stop those who provide tools to then view those streams. I assume he has also complained to the authors of rtmpdump and wireshark.

Reminds me of the homeowner who complained that the burglar had used the key he left under his doormat!

May I suggest that the more appropriate action would be to implement his streaming service using tools that properly secure those streams from his unauthorized use, rather than issue lame hypocritical threats and complain that his simple and visible 'key' is being used by others.

samsamsam2 10-26-2014 08:30 AM

Re: Customized rtmpdump binaries with patch file


 
Hello,

K-S-V I have some problem with your patch for librtmp.
I developed some simple program for handling stream from ustream.tv:
https://gitorious.org/f4mdump

For connection to the server and read information about fragments the librtmp is used. It work when librtmp without patch is used, with patch wrong rtmp packet is read.

Can you help me with finding where the problem is?

Thank you,
SSS

KSV 10-27-2014 01:42 PM

Re: Customized rtmpdump binaries with patch file


 
first post is updated with new release. i have added 3dbuzz.com support and merged denobis patch for -K switch.

hasomaso 10-27-2014 01:55 PM

Re: Customized rtmpdump binaries with patch file


 
thank you for all your efforts

biezom 10-27-2014 09:18 PM

Re: Customized rtmpdump binaries with patch file


 
Quote:

Originally Posted by KSV (Post 71711)
first post is updated with new release. i have added 3dbuzz.com support and merged denobis patch for -K switch.

Thank i tried to compile with the new patch on ma debian wheezy, but i have an error

"librtmp/librtmp.so: undefined reference to `stricmp'
collect2: error: ld returned 1 exit status
make: *** [rtmpdump] Erreur 1"

with the previous patch i did not have this error

biezom 10-27-2014 11:43 PM

Re: Customized rtmpdump binaries with patch file


 
I finally found it `stricmp' is specific to Microsoft's compilers/libraries
I replaced 'stricmp' line 962 by 'strcasecmp'
'strcasecmp' is the equivalent replacement for linux
I hope that it might help some.

KSV 10-28-2014 12:50 AM

Re: Customized rtmpdump binaries with patch file


 
Quote:

Originally Posted by biezom (Post 71721)
I finally found it `stricmp' is specific to Microsoft's compilers/libraries
I replaced 'stricmp' line 962 by 'strcasecmp'
'strcasecmp' is the equivalent replacement for linux
I hope that it might help some.

i have fixed the issue and updated the release.

jhb50 10-31-2014 06:17 PM

Re: Customized rtmpdump binaries with patch file


 
@KSV Thanks for the update. Much appreciated!

msdos 11-05-2014 02:55 PM

Re: Customized rtmpdump binaries with patch file


 
Hello I have updated the latest patch librtmp stays loaded with this server
rtmp://109.123.126.34/live playpath=canal89?id=76120 swfUrl=http://www.ucaster.eu/static/scripts/fplayer.swf live=1 pageUrl=http://www.ucaster.eu/embedded/canal89/1/650/400 Conn=S:OK

thanks

troller12 11-05-2014 03:20 PM

Re: Customized rtmpdump binaries with patch file


 
So it also stays loaded with the librtmp.dll file from the latest rtmpdump package.
Code:

rtmpdump -v -r "rtmp://109.123.126.34/live" -y "canal89?id=76120" -W "http://www.ucaster.eu/static/scripts/fplayer.swf" -p "http://www.ucaster.eu/embedded/canal89/1/650/400" -C S:OK | "VLC" -
Code:

RTMPDump v2.4 GIT-2014-07-07 (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
Connecting ...
INFO: Connected...
Starting Live Stream
INFO: Metadata:
INFO:  presetname              Custom
INFO:  creationdate            Sun Nov 02 15:25:28 2014
INFO:  videodevice            OEM Device [1]
INFO:  framerate              24.00
INFO:  width                  512.00
INFO:  height                  288.00
INFO:  videocodecid            avc1
INFO:  videodatarate          500.00
INFO:  avclevel                31.00
INFO:  avcprofile              66.00
INFO:  videokeyframe_frequency 5.00
INFO:  audiodevice            OEM Device [1]
INFO:  audiosamplerate        22050.00
INFO:  audiochannels          1.00
INFO:  audioinputvolume        75.00
INFO:  audiocodecid            .mp3
INFO:  audiodatarate          32.00
9511.126 kB / 139.52 sec

greetz


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