View Single Post
  #695  
Old 04-05-2017, 01:57 AM
Moonspell Moonspell is offline
Senior Member
 
Join Date: Sep 2016
Posts: 227
Moonspell is on a distinguished road
Default

Re: www.myfreecams.com: How can I record free sex web-cam chat (rtmp:// .flv)


Quote:
Originally Posted by Damianonymous View Post
I am using a plugin for Streamlink:

To work, you can use the modified ihryjfbd script:

Code:
@echo off
setlocal enableDelayedExpansion

set USERNAME=AnonymousUser
set PASSWORD=anonymous

set SECONDS=30

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

set OUT_DIR=MyFreeCams\%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%.ts
set PASSWORD=%PASSWORD:\u003D==%

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

streamlink "https://myfreecams.com/%model%/" best --http-header "swfUrl=http://www.myfreecams.com/flash/Video170322.swf" --http-header "flashVer=WIN 25.0.0.127" -o "%OUT_DIR%\%model%_%ts%.ts

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


Hmmm... this is should be for rtmpdump? For me, it doesn't work though. Or it needs some specific things in the path?
Reply With Quote