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)

Jinjoni 04-29-2015 09:48 PM

Re: Customized rtmpdump binaries with patch file


 
I apologize in advance if this is an error on my part. I just tried to update to the latest KSV build and it still shows up as January 15 when rtmpdump is launched. Did I do something wrong? I used the link from the first post. Thanks for your help. P.S On Windows 7 64bit.

KSV 05-01-2015 11:23 AM

Re: Customized rtmpdump binaries with patch file


 
first post is updated with new release.

Jinjoni 05-01-2015 01:42 PM

Re: Customized rtmpdump binaries with patch file


 
Quote:

Originally Posted by KSV (Post 76235)
first post is updated with new release.

Thanks for everything KSV!

KSV 05-04-2015 12:10 PM

Re: Customized rtmpdump binaries with patch file


 
first post is updated with new release.

Jinjoni 05-04-2015 01:06 PM

Re: Customized rtmpdump binaries with patch file


 
Quote:

Originally Posted by KSV (Post 76305)
first post is updated with new release.

Thank you very much!

karthik852007 05-05-2015 04:16 AM

Re: Customized rtmpdump binaries with patch file


 
please tell me what value should i give to ccomand to play p3g.tv or ezcast

I gave : ccommand:;TRUE;TRUE

But it doesnot work

http://stream-recorder.com/forum/p3g...6306#post76306

there is some pk= with id

James Halpert 05-10-2015 09:16 PM

Re: Customized rtmpdump binaries with patch file


 
K-S-V: Your code base is much appreciated, however a couple of us seem to be encountering the same dead end with recording MFC, the output error is (parsed for brevity):


<Name: no-name., STRING: authFailure>
NetStream.Play.Failed
Read access denied for stream mfc_106158368.flv


I posted in a pastebin URL to the full debug output in this thread: http://stream-recorder.com/forum/rtm...6511#post76511

RTMPDump command used (with two flags intentionally set to all zeros for anonymity):

./rtmpdump -r "rtmp://video459.myfreecams.com:1935/NxServer" -a "NxServer" -f "WIN 17,0,0,169" -W "http://www.myfreecams.com/mfc2/flash/MfcVideo150223.swf" -p "http://www.myfreecams.com/mfc2/static/player.html?broadcaster_id=6158368&target=new_wind ow&list_click=1&cache_id=0.00000000000000000" -C N:000000000.000000 -C S: -C N:106158368.000000 -C S:DOWNLOAD -C N:0000000.000000 -y "mp4:mfc_106158368.f4v" -o "2015-05-11_02-28-00_mp4_mfc_106158368.flv" -z

Full debug file on pastebin: http://pastebin.com/3qBM7zik

I should also note that I am using two bridged virtual machines (1 Win7 & 1 Ubuntu 14.04.2LTS Server).

Using the Windows 7 VM and RTMPDumpHelper, I was able to obtain the rtmpdump command from Command.txt.

Then within seconds I disconnected the Bridged NIC of the Windows 7 VM and reconnected the Bridged NIC of the Ubuntu VM (both of which have the same Public IP assigned).

I'm very definitely using your binaries and I took the time to read the README & MakeFile to ensure that I have either current or newer versions of all required packages (openssl, etc).

Any suggestions for helping me troubleshoot this would be GREATLY appreciated!

Thanks

James Halpert 05-10-2015 09:29 PM

Re: Customized rtmpdump binaries with patch file


 
Also, just for laughs I tried this out on a second cam site Bongacams and encountered a different failure there as well:
<Name: level, STRING: error>
<Name: code, STRING: NetConnection.Connect.Rejected>
<Name: description, STRING: Connection failed.>
..._error.?...........level...error..code...NetCon nection.Connect.Rejected..description...Connection failed...application....

pix 05-15-2015 04:18 PM

Re: Customized rtmpdump binaries with patch file


 
Hello,
I have a one problem and a one question. ;)
Is there any "original" build of librtmp compiled only with "the" K parameter? Got a problem in Kodi with Ustream channels, doesn't work with the patched dlls so far.
thank you
p.

sonnvl 05-25-2015 08:22 PM

Re: Customized rtmpdump binaries with patch file


 
When rtmpdump runs for about 120 secs, it automatically ends (notice: Download complete). I want to get more longer video, after that, I restart and it runs OK.
With this error, is the server overload or other reason ?
How can I fix this?

minipc 05-25-2015 08:37 PM

Re: Customized rtmpdump binaries with patch file


 
Quote:

Originally Posted by James Halpert (Post 76512)
K-S-V: Your code base is much appreciated, however a couple of us seem to be encountering the same dead end with recording MFC, the output error is (parsed for brevity):


<Name: no-name., STRING: authFailure>
NetStream.Play.Failed
Read access denied for stream mfc_106158368.flv


I posted in a pastebin URL to the full debug output in this thread: http://stream-recorder.com/forum/rtm...6511#post76511

RTMPDump command used (with two flags intentionally set to all zeros for anonymity):

./rtmpdump -r "rtmp://video459.myfreecams.com:1935/NxServer" -a "NxServer" -f "WIN 17,0,0,169" -W "http://www.myfreecams.com/mfc2/flash/MfcVideo150223.swf" -p "http://www.myfreecams.com/mfc2/static/player.html?broadcaster_id=6158368&target=new_wind ow&list_click=1&cache_id=0.00000000000000000" -C N:000000000.000000 -C S: -C N:106158368.000000 -C S:DOWNLOAD -C N:0000000.000000 -y "mp4:mfc_106158368.f4v" -o "2015-05-11_02-28-00_mp4_mfc_106158368.flv" -z

Full debug file on pastebin: http://pastebin.com/3qBM7zik

I should also note that I am using two bridged virtual machines (1 Win7 & 1 Ubuntu 14.04.2LTS Server).

Using the Windows 7 VM and RTMPDumpHelper, I was able to obtain the rtmpdump command from Command.txt.

Then within seconds I disconnected the Bridged NIC of the Windows 7 VM and reconnected the Bridged NIC of the Ubuntu VM (both of which have the same Public IP assigned).

I'm very definitely using your binaries and I took the time to read the README & MakeFile to ensure that I have either current or newer versions of all required packages (openssl, etc).

Any suggestions for helping me troubleshoot this would be GREATLY appreciated!

Thanks

so, silly question, but why are you using rtmpdumphelper on a virtual windows machine in order to get an rmptdump command line to use in another (linux) virtual machine? why not just use rtmpdumphelper to capture the stream, in the first place?

IzzyTan 05-27-2015 12:27 PM

Re: Customized rtmpdump binaries with patch file


 
Is this fork of rtmpdump work with mfc? Tried to use, but rtmpdump do not solve javascript challenge that send mfc, as a result dump not started, login failed.

minipc 05-28-2015 04:42 AM

Re: Customized rtmpdump binaries with patch file


 
Quote:

Originally Posted by IzzyTan (Post 76993)
Is this fork of rtmpdump work with mfc? Tried to use, but rtmpdump do not solve javascript challenge that send mfc, as a result dump not started, login failed.

could you explain what you mean by "javascript challenge"? :confused:

IzzyTan 05-28-2015 05:13 AM

Re: Customized rtmpdump binaries with patch file


 
Its a myfreecams authorization when you connect to rtmp. They send to you 1.5 KB javascript inside rtmp, and you should send result.

jhb50 05-29-2015 07:43 AM

Re: Customized rtmpdump binaries with patch file


 
Seems the -K switch no longer works with the latest version.

This uses
Code:

else if (strstr(pageUrl, "mips.tv") || strstr(pageUrl, "mipsplayer.com"))
+            {
+              char *command = "gaolVanusPobeleVoKosata";

and works:
Code:

rtmpdump.exe -r "rtmp://46.165.220.232/live" -y "cnnnewslfb?id=229590" -W "http://www.mipsplayer.com/content/scripts/fplayer.swf" -p "http://www.mipsplayer.com" -C "S:OK" -v -m 15 | "C:\Program Files\Serviio\lib\ffplay.exe" -i -
This which provides the same key using -K does not:
Code:

rtmpdump.exe -r "rtmp://46.165.220.232/live" -y "cnnnewslfb?id=229590" -W "http://www.mipsplayer.com/content/scripts/fplayer.swf" -p "http://www.mipsplayer.com" -C "S:OK" -K "gaolVanusPobeleVoKosata;TRUE" -v -m 15 | "C:\Program Files\Serviio\lib\ffplay.exe" -i -

pikabu 06-03-2015 07:25 AM

Re: Customized rtmpdump binaries with patch file


 
Would anyone be able to support nicolive(http://live.nicovideo.jp)?

This repository https://github.com/meronpan3419/rtmpdump_nicolive is supported nicolive, but user(community) archived video is not supported.

Rtmpdump command is like this page http://nico-lab.net/nicolive_rtmpdump_commands/ in japanease, https://github.com/chrippa/livestrea...ment-101658669 .

minipc 06-03-2015 08:21 AM

Re: Customized rtmpdump binaries with patch file


 
Quote:

Originally Posted by IzzyTan (Post 76993)
Is this fork of rtmpdump work with mfc? Tried to use, but rtmpdump do not solve javascript challenge that send mfc, as a result dump not started, login failed.

on a windows platform, a combination of rtmpdumphelper and rtmpsuck should work.

(linux users need to use something other than rtmpdumphelper to redirect the rtmp stream they are trying to capture through rtmpsuck.)

jhb50 06-14-2015 08:13 AM

Re: Customized rtmpdump binaries with patch file


 
Quote:

Originally Posted by jhb50 (Post 77039)
Seems the -K switch no longer works with the latest version.

SOLVED!
Code:

rtmpdump.exe -r "rtmp://46.165.220.232/live" -y "cnnnewslfb?id=229590" -W "http://www.mipsplayer.com/content/scripts/fplayer.swf" -p "http://www.mipsplayer.com" -C "S:OK" -K "gaolVanusPobeleVoKosata;TRUE;TRUE" -v -m 15 | "C:\Program Files\Serviio\lib\ffplay.exe" -i -

flashy 07-23-2015 03:10 AM

Re: Customized rtmpdump binaries with patch file


 
I tried to compile rtmpdump including the current patch on second computer. The original rtmpdump works fine, but the patched version doesn't.
HTML Code:

make SYS=posix
HTML Code:

./rtmpdump
./rtmpdump: symbol lookup error: ./rtmpdump: undefined symbol: AVcopy

HTML Code:

./rtmpsrv
./rtmpsrv: symbol lookup error: ./rtmpsrv: undefined symbol: strreplace
./rtmpsuck
./rtmpsuck: symbol lookup error: ./rtmpsuck: undefined symbol: strreplace

I'm not sure if some packages are missing. Does someone has an answer to this? G**gle search didn't helped so far.

EDIT: It seems that
HTML Code:

make SYS=posix SHARED="no"
solved the problem. But I don't know if everything works correct now.

Elgero 08-08-2015 07:25 AM

Re: Customized rtmpdump binaries with patch file


 
Does anybody know if there's a compiled Android version of rtmpdump available with KSV's patches?

The one I'm currently using is from January 2013 and doesn't contain any of KSV's patches. Some videos are not seekable after downloading them or the video players (default player, VLC, BsPlayer) show a duration of 5 minutes, while it's a 20 minute video, so I'm looking for an updated version.

Oribew 08-15-2015 06:21 AM

Re: Customized rtmpdump binaries with patch file


 
Do it exist a Win X64 version?

linnew17 08-18-2015 09:35 AM

Re: Customized rtmpdump binaries with patch file


 
Hi, I'm trying to compile rtmpdump with the provided patch on Ubuntu Server 14.04 but ran into a problem seemingly regarding openssl. I've installed packages for compilation(from https://help.ubuntu.com/community/CompilingEasyHowTo):
Code:

sudo apt-get install build-essential checkinstall
sudo apt-get install cvs subversion git-core mercurial

and successfully patched the source files, but when running make it throws out
Code:

user@host:/usr/local/src/rtmpdump$ make
make[1]: Entering directory `/usr/local/src/rtmpdump/librtmp'
gcc -Wall  -DRTMPDUMP_VERSION=\"v2.4\" -DUSE_OPENSSL  -O2 -fPIC  -c -o rtmp.o rtmp.c
rtmp.c:61:25: fatal error: openssl/ssl.h: No such file or directory
 #include <openssl/ssl.h>
                        ^
compilation terminated.
make[1]: *** [rtmp.o] Error 1
make[1]: Leaving directory `/usr/local/src/rtmpdump/librtmp'
make: *** [librtmp/librtmp.a] Error 2

Thinking it's an openssl problem I've tried to install it, but running sudo apt-get install openssl tells me openssl is already the newest version.
Can anyone help me or point me in the right direction to resolve this issue and build rtmpdump? This is my first time compiling from source and assistance would be appreciated.

biezom 08-18-2015 09:42 AM

Re: Customized rtmpdump binaries with patch file


 
Quote:

Originally Posted by linnew17 (Post 78993)
Hi, I'm trying to compile rtmpdump with the provided patch on Ubuntu Server 14.04 but ran into a problem seemingly regarding openssl. I've installed packages for compilation(from https://help.ubuntu.com/community/CompilingEasyHowTo):
Code:

sudo apt-get install build-essential checkinstall
sudo apt-get install cvs subversion git-core mercurial

and successfully patched the source files, but when running make it throws out
Code:

user@host:/usr/local/src/rtmpdump$ make
make[1]: Entering directory `/usr/local/src/rtmpdump/librtmp'
gcc -Wall  -DRTMPDUMP_VERSION=\"v2.4\" -DUSE_OPENSSL  -O2 -fPIC  -c -o rtmp.o rtmp.c
rtmp.c:61:25: fatal error: openssl/ssl.h: No such file or directory
 #include <openssl/ssl.h>
                        ^
compilation terminated.
make[1]: *** [rtmp.o] Error 1
make[1]: Leaving directory `/usr/local/src/rtmpdump/librtmp'
make: *** [librtmp/librtmp.a] Error 2

Thinking it's an openssl problem I've tried to install it, but running sudo apt-get install openssl tells me openssl is already the newest version.
Can anyone help me or point me in the right direction to resolve this issue and build rtmpdump? This is my first time compiling from source and assistance would be appreciated.

did you install libssl-dev ?

linnew17 08-18-2015 10:50 AM

Re: Customized rtmpdump binaries with patch file


 
Quote:

Originally Posted by biezom (Post 78994)
did you install libssl-dev ?

Thank you, that did the trick. After installing libssl-dev compilation went without a hitch.

sebus 08-19-2015 01:13 PM

Re: Customized rtmpdump binaries with patch file


 
Anybody came across executable for Mac Yosemite?

Thanks

sebus

ilje 08-31-2015 10:25 AM

Re: Customized rtmpdump binaries with patch file


 
please patch for cam4
"receiveRTMPResponse"

phucka 08-31-2015 03:47 PM

Re: Customized rtmpdump binaries with patch file


 
Quote:

Originally Posted by ilje (Post 79413)
please patch for cam4
"receiveRTMPResponse"

I second this! This is extremely frustrating :(

Cbater 09-04-2015 04:41 PM

Re: Customized rtmpdump binaries with patch file


 
Quote:

Originally Posted by phucka (Post 79427)
I second this! This is extremely frustrating :(

yes, please!

chameleon 09-12-2015 07:07 PM

Re: Customized rtmpdump binaries with patch file


 
Any updates?

stranculet 09-14-2015 03:14 PM

Re: Customized rtmpdump binaries with patch file


 
I'm working on receiveRTMPResponse.
It's not that easy, receiveRTMPResponse is not an AMF0 command. First it's an AMF3 command so must be written all the code.
Second with this message you need to send back the clientid recevied with the result of connect command.
I know where read the clientid, I know how to send back the AMF3, but i'm not a good C developer so if somebody is a good developer I can explain where get all the data.

SlowNet 10-24-2015 09:17 AM

Re: Customized rtmpdump binaries with patch file


 
Any support/patch for swf verification type 2?

wizard 11-03-2015 04:04 AM

Re: Customized rtmpdump binaries with patch file


 
I have tried with search and it looks like there are no search results.

My question would be : is rtmpdump going to work under windows10 ?

Thank you.

TEOL 11-10-2015 06:39 AM

Re: Customized rtmpdump binaries with patch file


 
Theres a github perl script about which fixes the link issues on some UK based On Demand things like ITV to fix it and grab the higher quality links instead of the rubbish ones that RTMPDump currently picks up.

Any chance you can fiddle about with this perl script code for ITV to make a peice of code for RTMP Dump which can download the proper quality instead of the rubbish ones?

Hopefully fixing the ITV low quality for getting the high quality ones instead would help RTMPDump in the long run getting high quality versions from other dynamic sites as well without the quality tab thing on them.

The templete script for the dynamic flv fixes kinda looks straight forwards to me.

It looks like just plain swapping a quality number in the code with another one fixes the issue at least on ITV.

Maybe the quality codings work for other UK dynamic quality On Demands too.

https://github.com/GetiPlayerAutomat...tor/issues/493

At least theres now a code fix about for repairing RTMP Dump's low quality botch jobs on ITV anyway if not others with similar codings as well.

cezi1 11-24-2015 05:35 PM

Re: Customized rtmpdump binaries with patch file


 
KSV please look

http://stream-recorder.com/forum/all...se-t20411.html

xanadu6291 12-05-2015 02:09 AM

Re: Customized rtmpdump binaries with patch file


 
Hello, when I apply your patch and build rtmpdump with this make statement:
Code:

make SYS=darwin CRYPTO=GNUTLS SHARED= XCFLAGS="-I${TARGET}/include" XLDFLAGS="-L/${TARGET}/lib -liconv"
I got the following error:
Code:

gcc -Wall -L//Users/roushi/Desktop/RTMPDump_Test/lib -liconv -o rtmpdump rtmpdump.o -Llibrtmp -lrtmp -lgnutls -lhogweed -lnettle -lgmp -lz 
Undefined symbols for architecture x86_64:
  "_AVcopy", referenced from:
      _main in rtmpdump.o
ld: symbol(s) not found for architecture x86_64
clang: error: linker command failed with exit code 1 (use -v to see invocation)
make: *** [rtmpdump] Error 1

How can I solve it?

KSV 12-05-2015 07:02 AM

Re: Customized rtmpdump binaries with patch file


 
Most probably it's picking up the wrong version of librtmp.a file to link with. make sure your lib directory (//Users/roushi/Desktop/RTMPDump_Test/lib) doesn't contain old version of librtmp.a.

ragex 12-05-2015 07:48 AM

Re: Customized rtmpdump binaries with patch file


 
I dont know if I missed something. Been using a old version of rtmpdump. Updated it to the latest KSV build (Thank you KSV) but every time I run a batch file to recording is starts off by saying that it's "no disk in drive. Insert disk in S:" (Rufly translated from my language)
If I keep pressing "continue" it will start running after a couple of time.
Anyone else had a simular problem?

KSV 12-05-2015 08:40 AM

Re: Customized rtmpdump binaries with patch file


 
Check the drive letter it's complaining about and make sure it's readable.

ragex 12-05-2015 09:26 AM

Re: Customized rtmpdump binaries with patch file


 
Quote:

Originally Posted by KSV (Post 81436)
Check the drive letter it's complaining about and make sure it's readable.

Thank you for the tip KSV. Tryed to set full path to rtmpdump.exe and full path for the output. Didn't help.
Still ask me to put a disk into drive S:

Regarding my S: drive it's a cardreader in front of my pc. So 95% of the time it's empty.

Don't really understand why it's asking for it. Never had that problem with the earlier version of KSV rtmpdump I used.

But thank you for the tip anyway. Gonna keep trying and see if I can find a fix for it.

xanadu6291 12-05-2015 09:41 AM

Re: Customized rtmpdump binaries with patch file


 
Quote:

Originally Posted by KSV (Post 81433)
Most probably it's picking up the wrong version of librtmp.a file to link with. make sure your lib directory (//Users/roushi/Desktop/RTMPDump_Test/lib) doesn't contain old version of librtmp.a.

Thank you very much!!


All times are GMT -6. The time now is 08:10 PM.