Audio/video stream recording forums (http://stream-recorder.com/forum/index.php)
-   Video stream recording (Adult streaming videos) (http://stream-recorder.com/forum/forumdisplay.php?f=40)
-   -  

Recording RTMP Webcams from cam4(HowTo record XXX/adult web-cam videos from cam4.com)

(http://stream-recorder.com/forum/showthread.php?t=2704)

horacio 07-12-2017 04:25 PM

Re: Recording RTMP Webcams from cam4(HowTo record XXX/adult web-cam videos from cam4.


 
Quote:

Originally Posted by Winstontoo (Post 91844)
Does anyone have a way to cap cam4 unattended? Was using Elgero's cam4 grabber but that no longer works and he seems to have given up on this site after it went offline for a bit.

Don't need anything fancy, just something to run in the background for a few models 24/7.

I make a batch script that uses the standard Cam4 Streamlink plugin.
Script is for:

- Model List = C:\Windows\C4_Model.txt
- Save Directory = C:\Videos\Cam4\

If you want to change it, edit lines 6,17 and 29
If you want to track multiple models at once, you can start multiple copies of this script

Code:

@ECHO OFF
SETLOCAL EnableDelayedExpansion
:START
ECHO.
SET n=0
FOR /F "tokens=*" %%A IN (C:\Windows\C4_Model.txt) DO (
SET /A n=n+1
SET _fav!n!=%%A
ECHO !n! %%A
)
ECHO.
SET /P MODEL=Select Model (%M% %MODEL%):
FOR /L %%f IN (1,1,!n!) DO (
IF /I '%MODEL%'=='%%f' SET M=%%f
)
SET n=0
FOR /F "tokens=*" %%A IN (C:\Windows\C4_Model.txt) DO (
SET /A n=n+1
IF !n!==%M% SET MODEL=%%A
)
:C4-SL-R
ECHO.
ECHO #####################################################
ECHO ### C4-SL-R ###  R E C O R D I N G  -  2 4 / 7  #####
SET hour=%time:~0,2%
IF "%hour:~0,1%" == " " SET hour=0%hour:~1,1%
SET NOW=%date:~4,2%%date:~7,2%%date:~10,4%-%hour%%time:~3,2%%time:~6,2%
FOR /f "tokens=1-2 delims=/:" %%a IN ('time /t') DO (set mytime=%%a%%b)
SET OUT_DIR=C:\Videos\Cam4\
SET FILENAME=%MODEL%_C4_%NOW%.flv
SET OUTPUT=%OUT_DIR%%FILENAME%
SET FNAME=######## %FILENAME% ### %M% ##############################
SET _FNAME_=%FNAME:~5,53%
IF EXIST "%OUT_DIR%" (ECHO %_FNAME_%) ELSE (MD "%OUT_DIR%"
ECHO %_FNAME_%)
ECHO #####################################################
ECHO.
STREAMLINK "https://www.cam4.com/%MODEL%/" best -o "%OUT_DIR%%FILENAME%"
TIMEOUT 30
GOTO C4-SL-R
ENDLOCAL


wizard 07-12-2017 11:52 PM

Re: Recording RTMP Webcams from cam4(HowTo record XXX/adult web-cam videos from cam4.


 
Many thanks for the script Horacio :) I will try it as soon as I have some spare time.

Moonspell 07-14-2017 01:38 AM

Re: Recording RTMP Webcams from cam4(HowTo record XXX/adult web-cam videos from cam4.


 
no streamlink, rtmpdump script - standalone, is possible? :)

horacio 08-29-2017 09:16 PM

Re: Recording RTMP Webcams from cam4(HowTo record XXX/adult web-cam videos from cam4.


 
Quote:

Originally Posted by Moonspell (Post 92742)
no streamlink, rtmpdump script - standalone, is possible? :)

It is possible, of course:cool:

Look at: https://github.com/horacio9a/cam4-anonymous

Download link for all files in zip: https://codeload.github.com/horacio9...ous/zip/master

uit 08-30-2017 05:08 AM

Re: Recording RTMP Webcams from cam4(HowTo record XXX/adult web-cam videos from cam4.


 
someone help me with installation with python?
thancks

horacio 08-30-2017 09:53 AM

Re: Recording RTMP Webcams from cam4(HowTo record XXX/adult web-cam videos from cam4.


 
Quote:

Originally Posted by uit (Post 93709)
someone help me with installation with python?
thancks

If you don't have Python on your computer then you first need to install.
Link is https://www.python.org/downloads/release/python-2713/ my recommendation is to install Python 2.7.13.
After installation directory C:\Python27 should be added to the 'path', this should be checked and possibly manually added the 'path'.
Instalation must be in the directory C:\Python27. Choose custom instalation. I am used this instalation file for my Windows7 32bit: http://www.mediafire.com/file/z0dy1q...hon-2.7.13.rar
For more information use Google ;)

The Bullfrog 09-02-2017 04:15 AM

Re: Recording RTMP Webcams from cam4(HowTo record XXX/adult web-cam videos from cam4.


 
Thank you so much horacio, respect! :cool:

uit 09-02-2017 03:42 PM

Re: Recording RTMP Webcams from cam4(HowTo record XXX/adult web-cam videos from cam4.


 
1 Attachment(s)
sorry but i have this error :(

error is: python:can't open file 'c4.py': (errno 2) no such file or directory

many thancks

horacio 09-04-2017 12:12 AM

Re: Recording RTMP Webcams from cam4(HowTo record XXX/adult web-cam videos from cam4.


 
Quote:

Originally Posted by uit (Post 93750)
sorry but i have this error :(

error is: python:can't open file 'c4.py': (errno 2) no such file or directory

many thancks

All files from https://codeload.github.com/horacio9...ous/zip/master must be in C:\-c4-py\
except c4.bat who can be in C:\Windows\ together with all rtmpdump files
Those who need to install python should watch this video: https://www.youtube.com/watch?v=QYUBz4mrnFU
In this youtube video at the end you can see how to find 'Environment Variables' where you need to check if there is 'C:\Windows\' and ';C:\Python27\;C:\Python27\Scripts\;' in the path
At the beginning of the edit line should be:
%SystemRoot%;%SystemRoot%\system32;%SystemRoot%\Sy stem32\Wbem;%SystemRoot%\System32\WindowsPowerShel l\v1.0\;
which in the translation means:
PATH=C:\Windows;C:\Windows\system32;C:\Windows\Sys tem32\Wbem;C:\Windows\System32\WindowsPowerShell\v 1.0\;
Somewhere in that line should also be located also: ';C:\Python27\;C:\Python27\Scripts\;'
My recommendation is to put in the C:\Windows all rtmpdump and ffmpeg, ffplay and some other similar files that other programs and scripts often call, and there is no need to have them in each directory in particular.

uit 09-04-2017 01:55 PM

Re: Recording RTMP Webcams from cam4(HowTo record XXX/adult web-cam videos from cam4.


 
thanck you very much horacio :)

i use first metod of you writhe (message 7/12/2017).

last question. If possible save also private show in cam4? also in pm.

thancks horacio


All times are GMT -6. The time now is 06:26 AM.