Quote:
Originally Posted by AgentClapTrap
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.