Audio/video stream recording forums

Attention Visitor:
You may have to register or log in before you can post:
  • Click the register link to sign up.
  • Registered members please fill in the form below and click the "Log in" button.
To start viewing messages, select the forum that you want to visit from the selection below.

Go Back   Audio/video stream recording forums > Streaming media recording forum > rtmpdump
Register FAQ Members List Calendar Mark Forums Read

Reply Post New Thread
 
Thread Tools Display Modes
  #131  
Old 07-07-2013, 05:45 AM
nullacht nullacht is offline
Senior Member
 
Join Date: Jan 2010
Posts: 230
nullacht will become famous soon enoughnullacht will become famous soon enough
Default

Re: Customized rtmpdump binaries with patch file


Attention: I moved this thread to the top of the forum.

This thread should be used to discuss everything about KSV's customized rtmpdump binaries and/or patch files!

If you don't know how to download a specific stream from a website, then you should definitely open a new thread!
Reply With Quote
  #132  
Old 07-09-2013, 07:25 PM
Qotscha Qotscha is offline
Junior Member
 
Join Date: Jul 2013
Posts: 2
Qotscha is on a distinguished road
Default

Re: Customized rtmpdump binaries with patch file


With MPC-HC now supporting standard input, rtmpsrv-mpc.exe (like rtmpsrv-vlc but using C:\Program Files (x86)\MPC-HC\mpc-hc.exe instead of C:\Program Files (x86)\VideoLAN\VLC\vlc.exe) could be nice
Reply With Quote
  #133  
Old 07-17-2013, 03:15 AM
RedPenguin RedPenguin is offline
Member
 
Join Date: Feb 2012
Posts: 85
RedPenguin is on a distinguished road
Default

Re: Customized rtmpdump binaries with patch file


Lately I have been having issues with rtmpdump and Filmon.

I am attempting to record picktv or 372.(high/low).stream

I am using a batch file that goes to the site and gets the info.

http://tvpc.com/Channel.php?ChannelID=26492 you can go to play the channel to test.

But I have ran a debug and am getting this:

http://pastebin.com/Jb6ham8C

I have tried increasing the buffer and seem to be getting no where.

I have messed with a trial of Replay Media Catcher and it can record for 20+ min so I don't believe it's a server isuse.

EDIT: It appears that simply adding -f "WIN 11,7,700,224" appears to fix it somewhat for some reason on my Win 8 laptop but it fails on my Win XP PC and my buddy's Win 7. I can't seem to find what's causing the Win 8 PC to work.

Last edited by RedPenguin : 07-17-2013 at 05:34 AM.
Reply With Quote
  #134  
Old 07-17-2013, 04:19 AM
KSV KSV is offline
Senior Member
 
Join Date: Apr 2011
Posts: 853
KSV is on a distinguished road
Cool

Re: Customized rtmpdump binaries with patch file


Quote:
Originally Posted by RedPenguin View Post
I have tried increasing the buffer and seem to be getting no where.

I have messed with a trial of Replay Media Catcher and it can record for 20+ min so I don't believe it's a server issue.
try with --buffer 3000. i was able to record about 8 minutes of video without any problem. so i don't think it's a problem with rtmpdump.

Quote:
Originally Posted by Qotscha View Post
With MPC-HC now supporting standard input, rtmpsrv-mpc.exe (like rtmpsrv-vlc but using C:\Program Files (x86)\MPC-HC\mpc-hc.exe instead of C:\Program Files (x86)\VideoLAN\VLC\vlc.exe) could be nice
Actually you can define VLC environment variable to specify any player with whatever options you want and same will be used by rtmpsrv-vlc.

Windows:
Code:
set VLC="C:\Program Files (x86)\MPC-HC\mpc-hc.exe" -
rtmpsrv-vlc.exe
Reply With Quote
  #135  
Old 07-17-2013, 07:58 AM
RedPenguin RedPenguin is offline
Member
 
Join Date: Feb 2012
Posts: 85
RedPenguin is on a distinguished road
Default

Re: Customized rtmpdump binaries with patch file


Quote:
Originally Posted by KSV View Post
try with --buffer 3000. i was able to record about 8 minutes of video without any problem. so i don't think it's a problem with rtmpdump.
I put that in and for some reason every time it hits 121 secs, it disconnects and restarts.

EDIT: Maybe the ID system of their's is funky, cause I literally just left the script alone not touching anything and ran it again and now it works. Maybe I accidentally trigged some throttling from them or something, who knows.

Last edited by RedPenguin : 07-17-2013 at 10:11 PM.
Reply With Quote
  #136  
Old 07-18-2013, 09:37 AM
gallina94 gallina94 is offline
Junior Member
 
Join Date: Apr 2012
Posts: 15
gallina94 is on a distinguished road
Default

Re: Customized rtmpdump binaries with patch file


Quote:
Originally Posted by KSV View Post
Compiling with Patch for other systems:

assuming you have all tools (gcc, binutils etc.) and dependencies (OpenSSL, Zlib) installed correctly for your distribution.

1. clone the repository
Code:
git clone git://git.ffmpeg.org/rtmpdump
2. copy patch from package to rtmpdump directory and apply it
Code:
patch -p0 -i Patch.diff
3. then just compile and install normally
Code:
make
sudo make install prefix=/usr
Mac users should add SYS=darwin while compiling. you can also add XLDFLAGS="-s -static" to statically link and strip the resulting binary.
Hi, i was able to compile on UBUNTU 12.04 but as soon as i launche rtmpdump i get
Segmentation fault (core dumped)

any idea?

Last edited by KSV : 07-18-2013 at 11:20 AM.
Reply With Quote
  #137  
Old 07-18-2013, 11:34 AM
KSV KSV is offline
Senior Member
 
Join Date: Apr 2011
Posts: 853
KSV is on a distinguished road
Cool

Re: Customized rtmpdump binaries with patch file


Quote:
Originally Posted by gallina94 View Post
Hi, i was able to compile on UBUNTU 12.04 but as soon as i launche rtmpdump i get
Segmentation fault (core dumped)

any idea?
Your rtmpdump is loading the wrong version of librtmp.so. try with ldd rtmpdump to determine the correct location of librtmp being loaded by rtmpdump and replace it with newly compiled version.

by default make install command installs the binaries in /usr/local path. you can change it by supplying the prefix switch.
Code:
sudo make install prefix=/usr
you can also compile static binary to avoid dependency on librtmp.
Reply With Quote
  #138  
Old 07-18-2013, 12:02 PM
gallina94 gallina94 is offline
Junior Member
 
Join Date: Apr 2012
Posts: 15
gallina94 is on a distinguished road
Default

Re: Customized rtmpdump binaries with patch file


Quote:
Originally Posted by KSV View Post
Your rtmpdump is loading the wrong version of librtmp.so. try with ldd rtmpdump to determine the correct location of librtmp being loaded by rtmpdump and replace it with newly compiled version.

by default make install command installs the binaries in /usr/local path. you can change it by supplying the prefix switch.
Code:
sudo make install prefix=/usr
you can also compile static binary to avoid dependency on librtmp.
You are the man!!!! Worked.
Thank you
Reply With Quote
  #139  
Old 07-18-2013, 03:27 PM
RedPenguin RedPenguin is offline
Member
 
Join Date: Feb 2012
Posts: 85
RedPenguin is on a distinguished road
Default

Re: Customized rtmpdump binaries with patch file


KSV, just to let you know, I was able to track down some fellow Filmon folks and they said even directly accessing the stream from their own website is experiencing similar behavior.

So that pretty much rules out rtmpdump in anyway.

It just one minute could let you record for 1hr, then other times disconnect you every few minutes.
Reply With Quote
  #140  
Old 07-20-2013, 10:07 PM
Qotscha Qotscha is offline
Junior Member
 
Join Date: Jul 2013
Posts: 2
Qotscha is on a distinguished road
Default

Re: Customized rtmpdump binaries with patch file


Quote:
Originally Posted by KSV View Post
Actually you can define VLC environment variable to specify any player with whatever options you want and same will be used by rtmpsrv-vlc.

Windows:
Code:
set VLC="C:\Program Files (x86)\MPC-HC\mpc-hc.exe" -
rtmpsrv-vlc.exe
That's a convenient solution, thanks!
Reply With Quote
Reply Post New Thread
Tags: , , , , , ,



Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Forum Jump


All times are GMT -6. The time now is 06:50 AM.


Powered by All-streaming-media.com; 2006-2011
vB forum hacked with Zoints add-ons