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)

simrankaur 09-07-2016 06:32 AM

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


 
Here Most Famous Escort VIP Chandigarh Escorts Agency in Chandigarh with Reasonable Price.
Chandigarh Escorts

anhthubio89 09-08-2016 01:12 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.

ủng há»™ thá»›t Ä‘?? chia sá?». b?*i viá??t rá??t hay á??

bigtymer88 11-17-2016 10:47 AM

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


 
send me a pm i could help

Fabric321 12-02-2016 02:26 AM

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


 
Using C4downloader is it possible to record private shows? if anyone knows how, send me a pm

Fabric321 01-03-2017 03:54 PM

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


 
so, no one knows how to record private shows on cam4? If you know how to do send me a message please!

Winstontoo 02-03-2017 08:56 AM

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


 
Anyone having issues with cam4? seems i'm not picking up the feeds even though they are running. Started this morning.

bibirel 04-17-2017 09:58 AM

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


 
Just use some ''desktop recording'' software,cam4 will allways block other ways of recording. Used to be on them a lot but now looks like amateurs are gone..

bibirel 04-17-2017 10:00 AM

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


 
Quote:

Originally Posted by obsessed (Post 14269)
It doesnt work for many web-sites :mad: . Try Jaksta

worked for me on camxfree.com

Damianonymous 05-04-2017 05:57 AM

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


 
Quote:

Originally Posted by asdf030989 (Post 91378)
Is the cam4 plugin dont work?
I got the error of unable to open URL of the m3u8 playlist.

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


asdf030989 05-04-2017 08:49 AM

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


 
thanks.it works perfectly now !


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