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)

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.


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