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)

uit 05-05-2017 12:40 PM

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


 
Someone can help me with install it please
thancks

antrandn1989 05-06-2017 07:04 AM

Quote:

Originally Posted by wazo (Post 6661)
* updated by Admin * Ill put as much information as I think is necessary and will skip the long story of how I figured this out. More to the story though: where there�s a will, there�s a way: Don�t give up! What is cam4.com & why does there have to be a whole topic on it? cam4 is a free adult webcam site that, as many other live cam sites, common methods of download will not work for it. It uses the RTMP protocol and a flash player. After searching the web I found no solutions to the problem, and this site has other solutions so I thought I�d just add one more for everyone to enjoy. What CAN record adult videos from cam4.com? For non-private sessions, try WM Recorder, Replay Media Catcher or Jaksta (also for Mac). Any session (including chat comments if you like), can be saved with a high quality screen video capture program. Both WM Capture and Replay Video Capture are designed specifically for this. And they are anonymous and undetectable. Note: if I find something else really fixed this, an easier/faster way, or something else ill update. Please leave a comment if this helped you out on any other sites, or just a thank you is well appricated. Also feel free to PM me.

KPETMART – Chuy??n b??n bu?´n b??n lá?» quá?§n ??o, phá»? kiện cho th?? c?°ng

C??c bá??n iu th?°??ng ch?? c?°ng, m?¨o c?°ng của m?¬nh sá?? lu?´n mong muốn d?*nh nhá»?ng Ä‘iá»?u tốt Ä‘á??p nhá??t Ä‘á??n cho ch??ng. Mua thức Ä?n, quá?§n ??o, đồ ch??i... dá»… th?°??ng Ä‘??ng Iu cho c??c con v?* c?? thá»? coi c??c con nh?° l?* con của m?¬nh.

KPetshop – d?*nh nhá»?ng Ä‘iá»?u ngá»?t ng?*o nhá??t cho th?? c?°ng của bá??n – vá»›i rá??t nhiá»?u quá?§n ??o, phá»? kiện, đồ ch??i... c?©ng nh?° c??c đồ cá?§n thiá??t kh??c cho th?? c?°ng vá»›i gi?? cam ká??t rá?» nhá??t tá??i TP. Ä??* Ná?µng

Quá?§n ??o cho th?? c?°ng: gi?? chỉ từ 20k



Ä?ồ ch??i, phá»? kiện cho th?? c?°ng: gi?? chỉ từ 10k trá»? l??n



Gi?? má»?m, dịch vá»? tốt, Ä‘á?·c biệt v?* t?¬nh Iu th?°??ng thá?*t t??m tá»›i th?? c?°ng- petstore th?? c?°ng KPetStore cam ká??t sá?? Ä‘em tá»›i cho c??c bá??n sá»± h?*i l??ng!!

Mua quá?§n ??o, phá»? kiện, đồ ch??i cho th?? c?°ng Tá??i Ä‘??u??


KPetStore- thá?? giá»›i th?? c?°ng
* Ä?ịa chỉ: 19 nguyá»…n ph?°á»›c th??i, Q. Thanh Kh??, Ä??* Ná?µng
* Hotline: 0989.288.470
* Website: www.petdn.com
* facebook: https://www.facebook.com/sieuthithucungdn

nikitinanelli 05-08-2017 05:24 PM

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


 
Quote:

Originally Posted by Damianonymous (Post 91408)
The streamlink plugin still works for me this code:

Code:

import re

from streamlink.plugin import Plugin
from streamlink.plugin.api import http, useragents, validate
from streamlink.stream import HLSStream, RTMPStream
from streamlink.utils import parse_json


class Cam4(Plugin):
    _url_re = re.compile(r'https?://([a-z]+\.)?cam4.com/.+')
    _video_data_re = re.compile(r"flashData: (?P<flash_data>{.*}), hlsUrl: '(?P<hls_url>.+?)'")

    _flash_data_schema = validate.Schema(
        validate.all(
            validate.transform(parse_json),
            validate.Schema({
                'playerUrl': validate.url(),
                'flashVars': validate.Schema({
                    'videoPlayUrl': validate.text,
                    'videoAppUrl': validate.url(scheme='rtmp')
                })
            })
        )
    )

    @classmethod
    def can_handle_url(cls, url):
        return Cam4._url_re.match(url)

    def _get_streams(self):
        res = http.get(self.url, headers={'User-Agent': useragents.ANDROID})
        match = self._video_data_re.search(res.text)
        if match is None:
            return

        hls_streams = HLSStream.parse_variant_playlist(
            self.session,
            match.group('hls_url'),
            headers={'Referer': self.url}
        )
        for s in hls_streams.items():
            yield s

        rtmp_video = self._flash_data_schema.validate(match.group('flash_data'))
        rtmp_stream = RTMPStream(self.session, {
            'rtmp': rtmp_video['flashVars']['videoAppUrl'],
            'playpath': rtmp_video['flashVars']['videoPlayUrl'],
            'swfUrl': rtmp_video['playerUrl']
        })
        yield 'live', rtmp_stream


__plugin__ = Cam4

Script stopped working without www, en, ru, pl etc in the page address. The revised looks like this:

Code:

@echo off
setlocal enableDelayedExpansion

set USERNAME=AnonymousUser
set PASSWORD=anonymous

set SECONDS=15

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

set OUT_DIR=Cam4

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.

streamlink "https://www.cam4.com/%model%/" best --http-header "swfUrl=https://static.cam4.com/client/Cam4Chatless_1.184_guest.swf" --http-header "flashVer=WIN 25.0.0.148" -o "%OUT_DIR%\%model%_%ts%.flv

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


A private can not be recorded?

horacio 05-08-2017 06:05 PM

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


 
Quote:

Originally Posted by uit (Post 91432)
Someone can help me with install it please
thancks

Install Python 2.7.13 in C:/Python27 directory and than using Windows Command Promt install Streamlink module v.0.5.0 with:

pip install streamlink

after you can add cam4.py in C:\Python27\Lib\site-packages\streamlink\plugins\cam4.py

c4.bat and C4_Model.txt put in C:/Python27 directory and finally start c4.bat

http://www.mediafire.com/file/ju665g29n5mc51a/Cam4.rar

porn4fun 05-09-2017 01:30 AM

Adult webcams Online. http://www.cam2fun.com/


 
Cam2fun , webcam model Full adult webcams Satisfaction with free webcam. Best live webcam girls is ready to satisfy all your needs Join Free Cams ,Free Adult Video Chat ,Free Sex Webcams, free web cam model, Adult webcams Online.

http://www.cam2fun.com/

http://www.porn4fun.info/

Twitter Ac @camtofun

Damianonymous 05-09-2017 03:56 PM

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


 
Quote:

Originally Posted by nikitinanelli (Post 91517)
A private can not be recorded?


This is done by professionals. Doubts whether someone will give way to the public forum, fearing to fix holes.

cam2fun 05-18-2017 01:33 AM

www.cam2fun.com: How can I record free<> sex web-cam chat


 
http://www.cam2fun.com/cat/Guys

Free Chat with guys,

Live Gay Cams,

Free Gay Webcams at cam2fun

Free chat with guys, live gay cams, free gay webcams. Talk with gay guys and men instantly on cam2fun.com 24 hours- Uncensored chat gay webcams.

free chat with men, live gay cams, free gay webcams, Crazy Live Cams,FREE CAMS, FREE ADULT VIDEO CHAT, FREE SEX WEBCAMS, LIVE ADULT CAMS, FREE SEX WEBCAMS, ADULT WEBCAMS, FREE LIVE PORN, LIVE ADULT CAMS,FREE SEX WEBCAMS, ADULT WEBCAMS,FREE LIVE PORN.

cam2fun 05-22-2017 01:31 AM

Recording RTMP Webcams from cam2fun .com record XXX/adult web-cam videos from .


 
http://www.cam2fun.com/
Live adult cams, free cams MODEL, free adult video chat, free sex webcams

CAM2FUN is an interactive free live ADULT CAM community for FREE ADULT VIDEO CHAT, free sex webcams and amateurs in live video chat rooms with sound AND HD VIDEO.
http://www.cam2fun.com/
Twitter @camtofun

FREE CAMS, FREE ADULT VIDEO CHAT, FREE SEX WEBCAMS, LIVE ADULT CAMS, FREE SEX WEBCAMS, ADULT WEBCAMS, FREE LIVE PORN, LIVE ADULT CAMS,FREE SEX WEBCAMS, ADULT WEBCAMS,FREE LIVE PORN,FREE,CAMS,WEBCAMS,LIVE,VIDEO,CHAT,SEX,GIRLS,N UDE,AMATEURS,MODELS,ADULTS,COMMUNITY,SOUND

Winstontoo 05-24-2017 08:52 AM

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


 
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.

Moonspell 06-05-2017 03:05 PM

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


 
same here, a script or a program like that, userfriendly and 24-7 to run, it would be perfect :)


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