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
  #481  
Old 01-05-2019, 04:45 AM
supersonic80 supersonic80 is offline
Senior Member
 
Join Date: Mar 2016
Posts: 138
supersonic80 is on a distinguished road
Default

Re: Customized rtmpdump binaries with patch file


Would you mind to try this version?
https://mega.nz/#!Jq533QhA!M_Ra8lcEk...JXkis98N h3qc

I have no idea how this problem with pageUrl affects you. Does this problem exist for chaturbate or some other service?
Reply With Quote
  #482  
Old 01-05-2019, 09:36 PM
troller12 troller12 is offline
Senior Member
 
Join Date: Sep 2013
Posts: 433
troller12 is on a distinguished road
Default

Re: Customized rtmpdump binaries with patch file


Hi supersonic80,

so its not a big problem about that pageurl bug so all is working so far.Just did wonder why this value/s was changed there to 8 you know.No reason for that to change it because the dirty patch was added right below that code (cpsQuality).Anyway,maybe it was just a random unwanted typing bug at this line in the source etc.

greetz
Reply With Quote
  #483  
Old 01-09-2019, 02:56 PM
meskman meskman is offline
Junior Member
 
Join Date: Feb 2015
Posts: 3
meskman is on a distinguished road
Default

Re: Customized rtmpdump binaries with patch file


Hi guys,

Cannot compile rtmpdump with KSV path on my raspberry pi.

for make command it shows the following:
Code:
pi@raspserv:/usr/src/rtmpdump-ksv $ sudo make
make[1]: Entering directory '/usr/src/rtmpdump-ksv/librtmp'
gcc -Wall   -DRTMPDUMP_VERSION=\"v2.4\" -DUSE_OPENSSL  -O2 -fPIC   -c -o rtmp.o rtmp.c
In file included from handshake.h:86:0,
                 from rtmp.c:161:
dh.h: In function ‘DHInit’:
dh.h:256:12: error: dereferencing pointer to incomplete type ‘DH {aka struct dh_st}’
   MP_new(dh->g);
            ^
dh.h:171:19: note: in definition of macro ‘MP_new’
 #define MP_new(m) m = BN_new()
                   ^
In file included from rtmp.c:161:0:
handshake.h: In function ‘InitRC4Encryption’:
handshake.h:120:12: error: storage size of ‘ctx’ isn’t known
   HMAC_CTX ctx;
            ^~~
In file included from rtmp.c:161:0:
handshake.h:72:35: warning: implicit declaration of function ‘HMAC_CTX_init’ [-Wimplicit-function-declaration]
 #define HMAC_setup(ctx, key, len) HMAC_CTX_init(&ctx); HMAC_Init_ex(&ctx, key, len, EVP_sha256(), 0)
                                   ^
handshake.h:125:3: note: in expansion of macro ‘HMAC_setup’
   HMAC_setup(ctx, secretKey, 128);
   ^~~~~~~~~~
handshake.h:74:67: warning: implicit declaration of function ‘HMAC_CTX_cleanup’ [-Wimplicit-function-declaration]
 #define HMAC_finish(ctx, dig, dlen) HMAC_Final(&ctx, dig, &dlen); HMAC_CTX_cleanup(&ctx)
                                                                   ^
handshake.h:127:3: note: in expansion of macro ‘HMAC_finish’
   HMAC_finish(ctx, digest, digestLen);
   ^~~~~~~~~~~
In file included from rtmp.c:161:0:
handshake.h:120:12: warning: unused variable ‘ctx’ [-Wunused-variable]
   HMAC_CTX ctx;
            ^~~
handshake.h: In function ‘HMACsha256’:
handshake.h:269:12: error: storage size of ‘ctx’ isn’t known
   HMAC_CTX ctx;
            ^~~
handshake.h:269:12: warning: unused variable ‘ctx’ [-Wunused-variable]
rtmp.c: In function ‘RTMP_ReadPacket’:
rtmp.c:4235:7: warning: variable ‘didAlloc’ set but not used [-Wunused-but-set-variable]
   int didAlloc = FALSE;
       ^~~~~~~~
At top level:
rtmp.c:1680:35: warning: ‘av_getStreamLength’ defined but not used [-Wunused-const-variable=]
 #define SAVC(x) static const AVal av_##x = AVC(#x)
                                   ^
rtmp.c:3037:1: note: in expansion of macro ‘SAVC’
 SAVC(getStreamLength);
 ^~~~
rtmp.c:1680:35: warning: ‘av_onBWCheck’ defined but not used [-Wunused-const-variable=]
 #define SAVC(x) static const AVal av_##x = AVC(#x)
                                   ^
rtmp.c:3022:1: note: in expansion of macro ‘SAVC’
 SAVC(onBWCheck);
 ^~~~
rtmp.c:1680:35: warning: ‘av_record’ defined but not used [-Wunused-const-variable=]
 #define SAVC(x) static const AVal av_##x = AVC(#x)
                                   ^
rtmp.c:2029:1: note: in expansion of macro ‘SAVC’
 SAVC(record);
 ^~~~
<builtin>: recipe for target 'rtmp.o' failed
make[1]: *** [rtmp.o] Error 1
make[1]: Leaving directory '/usr/src/rtmpdump-ksv/librtmp'
Makefile:76: recipe for target 'librtmp/librtmp.a' failed
make: *** [librtmp/librtmp.a] Error 2
I was using https://github.com/BurntSushi/rtmpdump-ksv

but i tried another sources and problem is present there too.

Could someone help me?
Thanks
Reply With Quote
  #484  
Old 01-25-2019, 08:14 PM
supersonic80 supersonic80 is offline
Senior Member
 
Join Date: Mar 2016
Posts: 138
supersonic80 is on a distinguished road
Default

Re: Customized rtmpdump binaries with patch file


Quote:
Originally Posted by meskman View Post
Hi guys,

Cannot compile rtmpdump with KSV path on my raspberry pi.
Suppose you are doing something wrong.
I've just checked on Raspberry Pi v1 with the latest Raspbian and everything was perfect.

Code:
# setup raspberry before use
sudo raspi-config

sudo apt update
sudo apt upgrade

sudo apt-get install build-essential git libssl1.0-dev

git clone https://github.com/BurntSushi/rtmpdump-ksv.git
cd rtmpdump-ksv
make
Reply With Quote
  #485  
Old 01-25-2019, 09:28 PM
TubeDigger TubeDigger is offline
Senior Member
 
Join Date: Jun 2011
Posts: 134
TubeDigger is on a distinguished road
Default

Re: Customized rtmpdump binaries with patch file


Quote:
Originally Posted by meskman View Post
Cannot compile rtmpdump with KSV path on my raspberry pi
OpenSSL changed API. Use OpenSSL v1.0.2 or PolarSSL.
Reply With Quote
  #486  
Old 02-10-2019, 02:04 PM
101001 101001 is offline
Junior Member
 
Join Date: Oct 2017
Posts: 7
101001 is on a distinguished road
Default

Re: Customized rtmpdump binaries with patch file


Is it possible to make this patch compatible with RTMPDumpHelper?
Reply With Quote
  #487  
Old 02-12-2019, 12:38 PM
cabulo cabulo is offline
Senior Member
 
Join Date: Jan 2017
Posts: 102
cabulo is on a distinguished road
Default

Re: Customized rtmpdump binaries with patch file


first you must know what do you want before looking for a solution.
what problem do you have with rtmpdumphelper?
helper works with rtmpsuck, not with rtmpdump.
Reply With Quote
  #488  
Old 05-19-2020, 08:27 PM
cabulo cabulo is offline
Senior Member
 
Join Date: Jan 2017
Posts: 102
cabulo is on a distinguished road
Default

Re: Customized rtmpdump binaries with patch file


supersonic80,

Are you still alive and well ?

HELP !!

I can't make your updated rtmpdump working on latest Ubuntu following your guidance from Github.
Can you please post new guidance on how to install your rtmpdump?

Here is my script and there is only working rtmpdump missing. Your rtmpdump works in windows.

HTML Code:
#!/bin/bash
model="karitto__2"
while :; do
	d=$(date +%Y-%m-%d_%H-%M-%S)
	file="${model}_${d}.flv"
	rtmpdump -v -r "rtmp://edge147.stream.highwebmedia.com/live-edge" \
	-a "live-edge" \
	-f "WIN 32,0,0,344" \
	-W "https://ssl-ccstatic.highwebmedia.com/tsdefaultassets/CBV_TS_v1.0.swf" \
	-p "https://chaturbate.com/%model%/" \
	-C S:cabulo \
	-C S:%model% \
	-C S:3.22 \
	-C S:c066c87f3b352759d75ff4f7a937a36de9fadf76364fb17dbb750595a8bbc76bfe4f28bcd9fd12cd8eeea8b6bb70dff8c1930b20307bd1151c7770b4ce6e7176 \
	-C S:cb69382e5826264c5fcd5450fc7baa451a78f11b9242e867926253341571f6a8 \
	-y "mp4:wowz://origin243.stream.highwebmedia.com/live-origin/%model%-sd-968a13449d3795b401a550904dcc15ccb78b2309cc5790e66e14a8b3ba54eb2e_trns_h264_1080p" \
	-o "$file"
	fsize=$(ls -s "$file")
	if [ "$fsize" = "0 ${file}" ]; then rm "$file"; fi
	sleep 60
done

Tried this one as well:

HTML Code:
sudo apt update
sudo apt upgrade

sudo apt-get install build-essential git libssl1.0-dev

git clone https://github.com/BurntSushi/rtmpdump-ksv.git
cd rtmpdump-ksv
make
It ends here with this error:

HTML Code:
sudo apt-get install build-essential git libssl1.0-dev

Reading package lists... Done
Building dependency tree       
Reading state information... Done
Package libssl1.0-dev is not available, but is referred to by another package.
This may mean that the package is missing, has been obsoleted, or
is only available from another source

E: Package 'libssl1.0-dev' has no installation candidate

Last edited by cabulo : 05-20-2020 at 04:55 PM. Reason: simplified script for clarity
Reply With Quote
  #489  
Old 05-24-2020, 12:28 AM
supersonic80 supersonic80 is offline
Senior Member
 
Join Date: Mar 2016
Posts: 138
supersonic80 is on a distinguished road
Default

Re: Customized rtmpdump binaries with patch file


Have no much interest in dealing with this. Imho, it looks like support for libssl1.0 was obsolete in your Ubuntu release. Either downgrade to Ubuntu 16.04 or try to use Docker (I pm'ed you a Docker files).


Quote:
Originally Posted by cabulo View Post
supersonic80,

Are you still alive and well ?

HELP !!

I can't make your updated rtmpdump working on latest Ubuntu following your guidance from Github.
Can you please post new guidance on how to install your rtmpdump?

Here is my script and there is only working rtmpdump missing. Your rtmpdump works in windows.

HTML Code:
#!/bin/bash
model="karitto__2"
while :; do
	d=$(date +%Y-%m-%d_%H-%M-%S)
	file="${model}_${d}.flv"
	rtmpdump -v -r "rtmp://edge147.stream.highwebmedia.com/live-edge" \
	-a "live-edge" \
	-f "WIN 32,0,0,344" \
	-W "https://ssl-ccstatic.highwebmedia.com/tsdefaultassets/CBV_TS_v1.0.swf" \
	-p "https://chaturbate.com/%model%/" \
	-C S:cabulo \
	-C S:%model% \
	-C S:3.22 \
	-C S:c066c87f3b352759d75ff4f7a937a36de9fadf76364fb17dbb750595a8bbc76bfe4f28bcd9fd12cd8eeea8b6bb70dff8c1930b20307bd1151c7770b4ce6e7176 \
	-C S:cb69382e5826264c5fcd5450fc7baa451a78f11b9242e867926253341571f6a8 \
	-y "mp4:wowz://origin243.stream.highwebmedia.com/live-origin/%model%-sd-968a13449d3795b401a550904dcc15ccb78b2309cc5790e66e14a8b3ba54eb2e_trns_h264_1080p" \
	-o "$file"
	fsize=$(ls -s "$file")
	if [ "$fsize" = "0 ${file}" ]; then rm "$file"; fi
	sleep 60
done

Tried this one as well:

HTML Code:
sudo apt update
sudo apt upgrade

sudo apt-get install build-essential git libssl1.0-dev

git clone https://github.com/BurntSushi/rtmpdump-ksv.git
cd rtmpdump-ksv
make
It ends here with this error:

HTML Code:
sudo apt-get install build-essential git libssl1.0-dev

Reading package lists... Done
Building dependency tree       
Reading state information... Done
Package libssl1.0-dev is not available, but is referred to by another package.
This may mean that the package is missing, has been obsoleted, or
is only available from another source

E: Package 'libssl1.0-dev' has no installation candidate
Reply With Quote
  #490  
Old 05-27-2020, 02:03 PM
rastafari90 rastafari90 is offline
Junior Member
 
Join Date: Oct 2017
Posts: 4
rastafari90 is on a distinguished road
Default

Re: Customized rtmpdump binaries with patch file


Just download the libssl 1 package from google...

Since you don't have libssl 1 I'm guessing you're running ubuntu 19.10 / 20.04 or a flavor of it. When you downloaded the libssl1.0.0_ package go to the folder where you downloaded it and go into the terminal and type: sudo dpkg -i libssl1.0.0_.
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:47 AM.


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