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
  #1  
Old 02-20-2017, 07:22 AM
WorkOFF WorkOFF is offline
Junior Member
 
Join Date: May 2016
Posts: 12
WorkOFF is on a distinguished road
Default

struggling to compile K-S-V on rtmpdump


Hello,

I'm totally new to this type of stuff ( compile a Patch )

And i don't know much.

But I've tried couple of times to do it and failed.

Tried it on Ubuntu 12 / 14 / 15 and Debian 7,8

But without a success.

Can anybody help me in details which operating system is better for "rtmpdump" to compile with K-S-V Patch ?

And how to install "rtmpdump" on it step by step and compile K-S-V on it so i can use it ?

Thank you.
Reply With Quote
  #2  
Old 02-20-2017, 09:02 AM
bat999 bat999 is offline
Senior Member
 
Join Date: Apr 2011
Location: UK
Posts: 131
bat999 is on a distinguished road
Default

Re: struggling to compile K-S-V on rtmpdump


Quote:
Originally Posted by WorkOFF View Post

Tried it on Ubuntu 12 / 14

Can anybody help me in details which operating system is better for "rtmpdump" to compile with K-S-V Patch ?

And how to install "rtmpdump" on it step by step and compile K-S-V on it so i can use it ?

Thank you.
With Ubuntu-16.04 (Probably OK with Ubuntu-14 too)...

Install some packages...
Code:
sudo apt-get update; \
sudo apt-get install build-essential checkinstall git libssl-dev
The patch "Patch.diff" is contained in the rtmpdump-2.4.zip file here ---> https://github.com/K-S-V/Scripts/releases

Download the rtmpdump folder source...
Code:
git clone --depth 1 git://repo.or.cz/rtmpdump.git
Put your "Patch.diff" inside the rtmpdump folder.

Then apply the patch...
Code:
cd rtmpdump; patch -p0 -i Patch.diff
Then compile RTMPDump...
Code:
make VERSION="v2.4\ KSV-2015-12-14"
And install it...
Code:
sudo checkinstall --pkgname rtmpdump \
--pkgversion "2.4+git$(date +%Y%m%d)" \
--backup=no --fstrans=no --default; sudo ldconfig
And test it...
Code:
~$ rtmpdump
RTMPDump v2.4 KSV-2015-12-14
(c) 2010 Andrej Stepanchuk, Howard Chu, The Flvstreamer Team; license: GPL
ERROR: You must specify a hostname (--host) or url (-r "rtmp://host[:port]/playpath") containing a hostname
Reply With Quote
  #3  
Old 02-20-2017, 11:25 AM
WorkOFF WorkOFF is offline
Junior Member
 
Join Date: May 2016
Posts: 12
WorkOFF is on a distinguished road
Default

Re: struggling to compile K-S-V on rtmpdump


Thank you so much Bat! That was clear and perfect

I think i did it alright..

But now when i try to download that stream #StreamLink

Code:
rtmpdump -r "rtmp://89.248.162.150/cast4u" -a "cast4u" -f "WIN 24,0,0,221" -W "http://www.cast4u.tv/static/scripts/fplayer.swf" -p "http://www.cast4u.tv/embedplayer/btsp1/1/630/450" -C S:OK --live -y "btsp1?id=29&pk=5f49e701a5db1a011796e9fc9950f97bcfbc1d893d20fb6c93bd7737231bb94a" -o "2017-02-20_05-00-07_btsp1.flv"
It is stuck at the "INFO CONNECTED" part.



While the dude who gave me the code, HERE

uses also the same version worked for him ?



Any idea ?
Reply With Quote
  #4  
Old 02-20-2017, 01:17 PM
bat999 bat999 is offline
Senior Member
 
Join Date: Apr 2011
Location: UK
Posts: 131
bat999 is on a distinguished road
Default

Re: struggling to compile K-S-V on rtmpdump


Quote:
Originally Posted by WorkOFF View Post
...Any idea ?

I think this part of your command is a token that times out, probably not valid now
"btsp1?id=29&pk=5f49e701a5db1a011796e9fc9950f97bcf bc1d893d20fb6c93bd7737231bb94a"

Ask him again.
Reply With Quote
  #5  
Old 02-20-2017, 07:20 PM
Damianonymous Damianonymous is offline
Senior Member
 
Join Date: Jan 2017
Posts: 187
Damianonymous is on a distinguished road
Default

Re: struggling to compile K-S-V on rtmpdump


Yes, the link still works. This link with RTMPDumpHelper. The transmission also works in Internet Download Manager and Replay Media Catcher, but do not know which of them can be adapted to Ubuntu.
Reply With Quote
  #6  
Old 02-21-2017, 07:49 AM
confused.com confused.com is offline
Senior Member
 
Join Date: Jan 2017
Posts: 165
confused.com is on a distinguished road
Default

Re: struggling to compile K-S-V on rtmpdump


Quote:
Originally Posted by Damianonymous View Post
which of them can be adapted to Ubuntu.
RTMPSRV !
Reply With Quote
  #7  
Old 02-23-2017, 01:42 AM
WorkOFF WorkOFF is offline
Junior Member
 
Join Date: May 2016
Posts: 12
WorkOFF is on a distinguished road
Default

Re: struggling to compile K-S-V on rtmpdump


@Confused.com

How do i use RTMPSRV with rtmpdump to download the stream?
Reply With Quote
  #8  
Old 02-23-2017, 08:02 AM
confused.com confused.com is offline
Senior Member
 
Join Date: Jan 2017
Posts: 165
confused.com is on a distinguished road
Default

Re: struggling to compile K-S-V on rtmpdump


http://stream-recorder.com/forum/use...61.html?t=7661
Reply With Quote
  #9  
Old 03-05-2017, 12:49 AM
WorkOFF WorkOFF is offline
Junior Member
 
Join Date: May 2016
Posts: 12
WorkOFF is on a distinguished road
Default

Re: struggling to compile K-S-V on rtmpdump


I think i know where the problem
when i try to do this step
Code:
sudo checkinstall --pkgname rtmpdump \
--pkgversion "2.4+git$(date +%Y%m%d)" \
--backup=no --fstrans=no --default; sudo ldconfig
It says " Command not found "
how to fix it?
Reply With Quote
  #10  
Old 03-29-2017, 06:37 PM
j_cool j_cool is offline
Senior Member
 
Join Date: Feb 2016
Posts: 515
j_cool is on a distinguished road
Default

Re: struggling to compile K-S-V on rtmpdump


bat999's rtmpdump installation guide is the best one I found on this forum.

This thread deserves to be on top of rtmpdump forum these days.

I followed these steps to install rtmpdump. It should be self explanatory.

Code:
j@j:~$ sudo apt-get update 
j@j:~$ sudo apt-get install build-essential checkinstall git libssl-dev
j@j:~$ git clone --depth 1 git://repo.or.cz/rtmpdump.git
j@j:~$ cd rtmpdump
j@j:~/rtmpdump$ wget -c https://github.com/K-S-V/Scripts/releases/download/v2.4/rtmpdump-2.4.zip
j@j:~/rtmpdump$ unzip rtmpdump-2.4.zip
j@j:~/rtmpdump$ rm -R *.exe *License.txt librtmp.dll
j@j:~/rtmpdump$ patch -p0 -i Patch.diff
j@j:~/rtmpdump$ make VERSION="v2.4\ KSV-2015-12-14"
j@j:~/rtmpdump$ sudo checkinstall --pkgname rtmpdump --pkgversion "2.4+git$(date +%Y%m%d)" --backup=no --fstrans=no --default 
j@j:~/rtmpdump$ sudo ldconfig
j@j:~/rtmpdump$ rtmpdump
RTMPDump v2.4 KSV-2015-12-14
(c) 2010 Andrej Stepanchuk, Howard Chu, The Flvstreamer Team; license: GPL
ERROR: You must specify a hostname (--host) or url (-r "rtmp://host[:port]/playpath") containing a hostname
j@j:~/rtmpdump$
Linux distro:

ubuntu-16.04.2-desktop-amd64.iso

http://zdnet1.cbsistatic.com/hub/i/r...xdedesktop.png

for those who like the image:

sudo apt-get install lubuntu-desktop

LXDE desktop
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 12:13 AM.


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