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
  #1  
Old 06-13-2018, 11:18 AM
AgentClapTrap AgentClapTrap is offline
Junior Member
 
Join Date: Jun 2018
Posts: 1
AgentClapTrap is on a distinguished road
Default

chaturbate recording


not sure if i can but how do i change the resolution for the stream when im using this code

@echo off
setlocal enableDelayedExpansion

set USERNAME=AnonymousUser
set PASSWORD=anonymous
set CB_VERSION=9

set SECONDS=15

set /p model=Enter username:
set model=%model:https://chaturbate.com/=%
set model=%model:/=%

set OUT_DIR=captures\%model%

if not exist %OUT_DIR% (mkdir %OUT_DIR%)

for /L %%i in (1,1,99) do (
set N=!time:~9,12!
set /a N=10000!N! %% 10000
set rand=!random!
set /a rand=!rand!* 31/32768+1
set /a rand=!N!+!rand!
set /a rand=!rand!*31/131+1
)
set server=edge%rand%

:doCapture
for /r %%F in (*) do if %%~zF==0 @del "%%F"
set ts=%date:/=-%_%time::=-%
set ts=%ts: =%
set output=%OUT_DIR%\%model%_%ts%.flv
set PASSWORD=%PASSWORD:\u003D==%

color 2F && title %model% @ %time% - %server%
cls && echo Capturing: %model% @ %time% - %server% && echo.

rtmpdump --live --timeout 20 ^
-r "rtmp://%server%.stream.highwebmedia.com/live-edge" ^
-p "http://chaturbate.com/%model%" ^
-C S:%USERNAME% ^
-C S:%model% ^
-C S:%CB_VERSION% ^
-C S:%PASSWORD% ^
-y "playpath" -o %output%

for %%r in (%output%) do (
if %%~zr lss 1 del %output%
color 4F && title %model% - OFFLINE
)

set /a rand=%random%*31/32768+1
set server=edge%rand%

timeout %SECONDS%
goto doCapture
Reply With Quote
  #2  
Old 06-13-2018, 11:29 AM
j_cool j_cool is offline
Senior Member
 
Join Date: Feb 2016
Posts: 515
j_cool is on a distinguished road
Default

Re: chaturbate recording


It is not possible to change resolution for rtmp stream, apart from resizing a player.

Get hls stream with streamlink or youtube-dl.


C:\streamlink.exe https://chaturbate.com/sassy3va/
[console][info] Found matching plugin chaturbate for URL https://chaturbate.com/sassy3va/
[plugin.chaturbate][info] Stream status: public
Available streams: 240p (worst), 360p, 480p, 576p, 720p, 1080p (best)


C:\>youtube-dl.exe -F https://chaturbate.com/sassy3va/
[Chaturbate] sassy3va: Downloading webpage
[Chaturbate] sassy3va: Downloading m3u8 information
[info] Available formats for sassy3va:
format code extension resolution note
slow-0 mp4 426x240 488k , avc1.66.21, mp4a.40.2
slow-1 mp4 640x360 928k , avc1.66.30, mp4a.40.2
slow-2 mp4 854x480 1258k , avc1.77.31, mp4a.40.2
slow-3 mp4 1024x576 2076k , avc1.77.31, mp4a.40.2
slow-4 mp4 1280x720 3396k , avc1.77.31, mp4a.40.2
slow-5 mp4 1920x1080 5628k , avc1.100.40, mp4a.40.2 (best)
Reply With Quote
  #3  
Old 06-15-2018, 03:05 AM
Damianonymous Damianonymous is offline
Senior Member
 
Join Date: Jan 2017
Posts: 187
Damianonymous is on a distinguished road
Default

Re: chaturbate recording


Quote:
Originally Posted by AgentClapTrap View Post
not sure if i can but how do i change the resolution for the stream when im using this code
As Johnny wrote you, install Streamlink and change your code, for example:

Code:
@echo off
set /a counts=1
set /p model=Enter username: 
set model=%model:https://chaturbate.com/=%
set model=%model:/=%
set out_dir=chaturbate\%model%

if not exist %out_dir% (mkdir %out_dir%)

: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=%YYYY%-%MM%-%DD%_%HH%-%Min%-%Sec%"

set "model=%model%"
set "filename=%model%_CB_%fullstamp%.ts"

echo.
echo %filename% Stream Starts - try %counts%
::echo %filename%
echo.

color 2F && title %model% @ %time%

call streamlink https://chaturbate.com/%model% best -o %out_dir%\%filename%

color 4F && title %model% - OFFLINE

timeout /t 30
cls
set /a counts=counts+1
goto main
exit
Change in the command "best" for the resolution you are looking for, 240p, 480p etc.
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 11:24 AM.


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