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 > Video stream recording (Adult streaming videos)
Register FAQ Members List Calendar Mark Forums Read

Reply Post New Thread
 
Thread Tools Display Modes
  #21  
Old 04-26-2017, 02:17 PM
troller12 troller12 is offline
Senior Member
 
Join Date: Sep 2013
Posts: 433
troller12 is on a distinguished road
Default

Re: Bongacams record in Away mode or PRVT?


Hi,

so about uid value of bonga in your playpath....so they get logged on the bonga site and if you call the same stream with same uid another time then you get rejected.All what you have to do is to change the uid value in playpath to any other which wasnt used yet.Just grab any bonga link via RtmpDumpHelper and now try to play it = rejected so the uid was already used in your browser.Now just change any value of the uid and try again = success but only one time of course.So for each new call you have to change the uid again.So for this you can also build any random MD5 hash for example (from local time or anything else).

@ tvgplayer

So about a batch script.Here I made a little one.Just enter your desired model name into model= variable below (SuleymaX8) and save it.Create one script for each model you want.You can also change rtmp timeout too if you want but 10 seconds are good instead of 30 seconds (rtmpdump default value).You can also change the timeout from 60 to a higher or lower value but 1 minute for each try should be also enough right.Oh,and dont forget to download the bonga script bongacams.py for streamlink so this you must have into your (Streamlink\pkgs\streamlink\plugins) folder.
Code:
@echo off
set /a counts=1
:main
for /f "tokens=2 delims==" %%a in ('wmic OS Get localdatetime /value') do set "dt=%%a"
set "YY=%dt:~2,2%" & set "YYYY=%dt:~0,4%" & set "MM=%dt:~4,2%" & set "DD=%dt:~6,2%"
set "HH=%dt:~8,2%" & set "Min=%dt:~10,2%" & set "Sec=%dt:~12,2%"
set "datestamp=%YYYY%%MM%%DD%" & set "timestamp=%HH%%Min%%Sec%"
set "fullstamp=(%DD%-%MM%-%YYYY%_%HH%-%Min%-%Sec%)"
:::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::
set "model=SuleymaX8"
set "filename=%model%_%fullstamp%.mp4"
set "timeout=--rtmp-timeout 10"
:::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::
echo===========================================================================
echo %filename% Stream Starts - try %counts%
echo===========================================================================
::echo %filename%
echo.

call streamlink https://bongacams.com/%model% best -o%filename% %timeout%

timeout /t 60
cls
set /a counts=counts+1
goto main
exit
As I said its just a simple script and not more to record your model/s automatically.

greetz
Reply With Quote
  #22  
Old 04-26-2017, 02:29 PM
JasonSm JasonSm is offline
Junior Member
 
Join Date: Mar 2017
Posts: 20
JasonSm is on a distinguished road
Default

Re: Bongacams record in Away mode or PRVT?


troller12, if so, i don`t understand what function do this hash in stream link. it is by default random so link is downloadable. if i change it to some unique hash - it still be downloadable, so why this is needed?
Reply With Quote
  #23  
Old 04-26-2017, 03:20 PM
troller12 troller12 is offline
Senior Member
 
Join Date: Sep 2013
Posts: 433
troller12 is on a distinguished road
Default

Re: Bongacams record in Away mode or PRVT?


So streamlink does use the bonga script = plugin.You have to read the script to see what it does.
Code:
    def _get_stream_uid(self, username):
        m = md5(username.encode('utf-8') + str(time.time()).encode('utf-8'))
        return m.hexdigest()
It builds a MD5 hash from username & time = unique MD5 hash (because time is always else of course) which get used one time.If you would make a re-call with same hash then you get rejected by server to access the stream as I said before.Server does check the hash you did send and must do a check whether this hash was already send or not (compare logs) and if the hash was found then it will reject the access till the logged hash get expired in the log etc.Its just a verify check to prevent calling the stream more than one time with same hash.There are also other cam sites using hash log & checks to prevent the same.Mostly depends on stream IP + Model X + hash.In this case if you want to play & record the stream same time and using same stream datas then it will fail.In this case just change the hash a little and then you can do both.Other sites only allow to use one stream server address for one instance only like CB (free users / I am no member) and then you need to change the server address number to call another or same stream too.If you check CB then you see they have a lot addresses from 0 - 100 + you can use and also diffrent server names you can use or switch.

As I already said you just need to build any unique MD5 hash and use it for your playpath after modelname.

The script does use hashlib import md5 to build a MD5 hash.So if you code in any not scripting language then you could use cryptohash.lib for example to build MD5 hashes or also many other hashes etc.

greetz
Reply With Quote
  #24  
Old 04-26-2017, 03:21 PM
tvgplayer tvgplayer is offline
Member
 
Join Date: Nov 2016
Posts: 42
tvgplayer is on a distinguished road
Default

Re: Bongacams record in Away mode or PRVT?


@troller12,

Thank you very much for the batch script. I changed it to work for chaturbate. You are the best!
Reply With Quote
  #25  
Old 04-26-2017, 03:58 PM
JasonSm JasonSm is offline
Junior Member
 
Join Date: Mar 2017
Posts: 20
JasonSm is on a distinguished road
Default

Re: Bongacams record in Away mode or PRVT?


@troller12, heh, and here we have - bonga servers don`t care what hash was sent, exception is duplicated in logs server used hashes.
So i was wrong about importance hash in streamlink. Anyway i still don`t understand how to figure out how bonga is works. In first i thougt that when models change status - bongaserver automaticaly change streamlink ip and generate unique key for user (for away\private session example). if i`m right - problem with key=md5 hash was solved, but i still cant understand how to make rtmpdump or etc to find new stream ip when models changed status.
P.S Big thanks for for participation.
Reply With Quote
  #26  
Old 04-26-2017, 04:17 PM
j_cool j_cool is offline
Senior Member
 
Join Date: Feb 2016
Posts: 515
j_cool is on a distinguished road
Default

Re: Bongacams record in Away mode or PRVT?


If you want IP only and nothing else, there are number of easy ways to get that.

One example is urlsnooper, this is what you get, and no more:


rtmp://66.254.97.130:1935/bongacams

connect ?? app bongacams flashVer WIN 25,0,0,148 swfUrl >https://bongacams.com/swf/chat/BCamC...=201?704211040 tcUrl #rtmp://66.254.97.130:1935/bongacams fpad capabilities @m? audioCodecs @«î videoCodecs @o€ ?
videoFunction ?? pageUrl https://bongacams.com/ objectEncoding @ guest854771 81d555121d2f162ae3a2c5f7?f875c01f ff3d73b42e6778bc5ef3545c0f93670a


Code:
connect ??       app 	bongacams flashVer WIN 25,0,0,148 swfUrl >https://bongacams.com/swf/chat/BCamChat.swf?cache=201?704211040 tcUrl #rtmp://66.254.97.130:1935/bongacams fpad  capabilities @m?      audioCodecs @«î      videoCodecs @o€    ?  
videoFunction ??       pageUrl https://bongacams.com/ objectEncoding @        	 guest854771  81d555121d2f162ae3a2c5f7?f875c01f   ff3d73b42e6778bc5ef3545c0f93670a
Reply With Quote
  #27  
Old 04-27-2017, 01:44 AM
JasonSm JasonSm is offline
Junior Member
 
Join Date: Mar 2017
Posts: 20
JasonSm is on a distinguished road
Default

Re: Bongacams record in Away mode or PRVT?


understand, thanks for advice. i`ll try something

Tryed and have this:

>rtmpdump -r "rtmp://64.210.159.177:1935/bongacams/stream_DollForB
oys?uid=7370c12bb4b14c10f2e2887be1234e33" -o "2017-04-18_10-58-11_stream_1.
flv"
RTMPDump v2.4 GIT-2015-12-14 (Compiled by KSV)
(c) 2010 Andrej Stepanchuk, Howard Chu, The Flvstreamer Team; license: GPL
Connecting ...
INFO: Connected...
Starting download at: 0.000 kB
ERROR: RTMP_ReadPacket, failed to read RTMP packet header
0.000 kB / 0.00 sec
INFO: Connection timed out, trying to resume.


Resuming download at: 0.000 kB
ERROR: RTMP_ReadPacket, failed to read RTMP packet header
0.000 kB / 0.00 sec
INFO: Connection timed out, trying to resume.


ERROR: Failed to resume the stream
Reply With Quote
  #28  
Old 04-27-2017, 02:09 AM
j_cool j_cool is offline
Senior Member
 
Join Date: Feb 2016
Posts: 515
j_cool is on a distinguished road
Default

Re: Bongacams record in Away mode or PRVT?


There is a foolproof way but a little inconvenient.

Restart every time everything with Rtmpsuck 2.3. ( rtmpdumphelper ).

This one will even download the stream for you, but you have to be patient before it starts picking up the stream.

You will not get command.txt that shows rtmpsrv parameters, this is something KSV started first.

Rtmpsrv 2.3 does not work in windows.

I have not looked at linux yet.


https://www.videohelp.com/software/R...p/old-versions

rtmpdump-2.3-windows.zip


RTMP Proxy Server v2.3
(c) 2010 Andrej Stepanchuk, Howard Chu; license: GPL

Streaming on rtmp://0.0.0.0:1935
WARNING: Trying different position for client digest!
Processing connect
app: bongacams
flashVer: WIN 25,0,0,148
swfUrl: https://bongacams.com/swf/chat/BCamC...e=201704211040
tcUrl: rtmp://31.192.124.98:1935/bongacams
pageUrl: https://bongacams.com/SexyCarolinaa
ERROR: Request timeout/select failed, ignoring request
Closing connection... done!

WARNING: Trying different position for client digest!
Processing connect
app: bongacams
flashVer: WIN 25,0,0,148
swfUrl: https://bongacams.com/swf/chat/BCamC...e=201704211040
tcUrl: rtmp://31.192.124.98:1935/bongacams
pageUrl: https://bongacams.com/SexyCarolinaa
Playpath: stream_SexyCarolinaa?uid=7aa3dc0c838ea8237b42d16f6 7b391bd
Saving as: stream_SexyCarolinaa
INFO: Metadata:
INFO: Server bongacams
INFO: width 640.00
INFO: height 480.00
INFO: displayWidth 640.00
INFO: displayHeight 480.00
INFO: duration 0.00
INFO: framerate 30.00
INFO: fps 30.00
INFO: videodatarate 928.00
INFO: videocodecid 0.00
INFO: audiodatarate 56.00
INFO: audiocodecid 16.00
INFO: profile
INFO: level
Reply With Quote
  #29  
Old 04-27-2017, 04:14 AM
JasonSm JasonSm is offline
Junior Member
 
Join Date: Mar 2017
Posts: 20
JasonSm is on a distinguished road
Default

Re: Bongacams record in Away mode or PRVT?


as i see it grabs only free session? still can`t understand why i have this:
INFO: Connected...
Starting download at: 0.000 kB
ERROR: RTMP_ReadPacket, failed to read RTMP packet header. if ip is wright if hash is unique - why it still not downloadable? and why i see header error?
Reply With Quote
  #30  
Old 04-27-2017, 04:34 AM
j_cool j_cool is offline
Senior Member
 
Join Date: Feb 2016
Posts: 515
j_cool is on a distinguished road
Default

Re: Bongacams record in Away mode or PRVT?


It depends how do you want to grab private stream.

If you pay for your private stream there is high likelihood rtmpsuck will get it if it can get free stream.

You will not get all parameters wirh rtmpsuck, so I would not pay them untill at least I can see all parameters.

If you want to go one step further and grab private stream for free,
I am certain you need to figure out how to get secure token, plus who knows how they may be encrypting -y ( playpath ) and that has to be looked at as well.
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 09:23 PM.


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