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)

Cbater 02-09-2013 02:55 PM

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


 
Quote:

Originally Posted by Elgero (Post 59548)
Cbater, you should read my post again.



In other words, it's not very likely that I will fix it. That's also why I suggested you should contact 'itsme' and see if you can buy a copy of Lurk4.

grizzler, it's a .NET tool.

When your tool is not working anymore so why lurk4? And the user itsme don't reply on pms since months.

Elgero 02-09-2013 08:46 PM

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


 
That my tool doesn't work anymore, doesn't mean that it can't be fixed. It's just not worth it to me to spend a lot of hours fixing my tool just for a handful of people, while I don't use the tool myself anymore.

I remember a post from 'itsme' where he said that he made more money working his regular job than selling Lurk4, so it's probably not worth it to him either to continue developing Lurk4.

Leifman 02-09-2013 09:39 PM

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


 
Quote:

Originally Posted by Elgero (Post 59553)
That my tool doesn't work anymore, doesn't mean that it can't be fixed. It's just not worth it to me to spend a lot of hours fixing my tool just for a handful of people, while I don't use the tool myself anymore.

I remember a post from 'itsme' where he said that he made more money working his regular job than selling Lurk4, so it's probably not worth it to him either to continue developing Lurk4.

Honestly thats why i reckon if u did have the time to fix your cam4 utility, you should only do it if certain amount of people agree to pay some fee to you in order for you to have the incentive to spend your time to fix it and for those people... i said long ago that i would gladly pay for any utility you get ur masterful skills on, hopefully im not the only one.

tapion 03-12-2013 07:07 PM

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


 
Hi Elgero, i tried to send you a PM but your PM storage is full. Can you clean it please?

Elgero 03-12-2013 07:25 PM

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


 
I have removed a few PM's. Don't ask me if I'm sharing/selling tools for downloading from webcam sites or sharing source code, because the answer is "No". :)

tapion 03-12-2013 07:27 PM

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


 
ehm.. I've read your message after sending you the PM. whatever you want

Winstontoo 05-04-2013 09:00 AM

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


 
Hey Elgero, wondering if you could offer some advice on that project you helped me with awhile back if you have a moment.

Thanks

Edge 05-04-2013 10:01 PM

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


 
Hey guys,
Referring back to the post on a previous page about sending initializeReady() and requestVideoStream() to Cam4, the little patch I provided to RTMPDump to allow it to record MyFreeCams can easily be altered to do this.

The thread is here: .../rtmpdump-patch-myfreecams-t16266.html

Basically the call-order is reversed, instead of waiting for an AMF invoke, you have to send it yourself, but you will get the "real" RTMP server in the same way you get the MFC challenge.

I have made a separate patch for RTMPDump (LibRTMP, really) but the issue is, you then have to re-run the application with the new information or add more stuff that I really don't feel like doing (I don't cap). If someone's application is using LibRTMP this would be trivial.

Here is a bit of AS3 that does exactly what I described above, it might help someone, just create a 480x400 Flash project, give it network permissions and paste this script (change the broadcaster name, obviously):

Code:

import flash.net.*;
import flash.text.*;
import flash.events.*;
import flash.display.*;
import flash.external.*;

var cam4ip: String="";
var cam4origin: String="";
var cam4guid: String="";

NetConnection.defaultObjectEncoding=flash.net.ObjectEncoding.AMF0;
SharedObject.defaultObjectEncoding=flash.net.ObjectEncoding.AMF0;
Security.allowDomain("*");
Security.allowInsecureDomain("*");
var menu: ContextMenu=new ContextMenu();
menu.hideBuiltInItems();
var stretch: Boolean=false;
var toggleStretch=new ContextMenuItem("Unlock Aspect Ratio (Stretch)");
toggleStretch.addEventListener(ContextMenuEvent.MENU_ITEM_SELECT,function(e: ContextMenuEvent) {
  stretch=(!stretch);
  if (stretch) e.target.caption="Lock Aspect Ratio (Scale)"; else e.target.caption="Unlock Aspect Ratio (Stretch)";
  stage.dispatchEvent(new Event(Event.RESIZE));
});
menu.customItems.push(toggleStretch);
var toggleSound=new ContextMenuItem("Mute Sound");
toggleSound.addEventListener(ContextMenuEvent.MENU_ITEM_SELECT,function(e: ContextMenuEvent) {
  if (!snd||!ns) return;
  if (snd.volume) snd.volume=0; else snd.volume=1;
  if (snd.volume) e.target.caption="Mute Sound"; else e.target.caption="Unmute Sound";
  ns.soundTransform=snd;
});
menu.customItems.push(toggleSound);
var toggleFullscreen=new ContextMenuItem("View Fullscreen");
toggleFullscreen.addEventListener(ContextMenuEvent.MENU_ITEM_SELECT,function(e: ContextMenuEvent) {
  if (stage.displayState==StageDisplayState.FULL_SCREEN) {
    stage.displayState=StageDisplayState.NORMAL;
    e.target.caption="View Fullscreen";
  } else {
    try {
      stage.displayState=StageDisplayState.FULL_SCREEN;
      e.target.caption="Exit Fullscreen";
    } catch (err: SecurityError) {
      e.target.caption="Fullscreen Mode Unavailable";
      e.target.enabled=false;
    }
  }
});
menu.customItems.push(toggleFullscreen);
this.contextMenu=menu;
stage.scaleMode=StageScaleMode.NO_SCALE;
stage.align=StageAlign.TOP_LEFT;
stage.stageFocusRect=false;
stage.addEventListener(Event.RESIZE,function(e: Event) {
  var targetAr: Number=1.2;
  var sx=0,sy=0,sw=stage.stageWidth,sh=stage.stageHeight;
  if (!stretch) {
    var ar: Number=int((stage.stageWidth/stage.stageHeight)*100)/100;
    if (ar>targetAr) {
      sw=(sh*targetAr);
      sx=(stage.stageWidth/2)-(sw/2);
    } else if (ar<targetAr) {
      sh=(sw/targetAr);
      sy=(stage.stageHeight/2)-(sh/2);
    }
  }
  video.x=sx;
  video.y=sy;
  video.width=sw;
  video.height=sh;
  menuhack.width=stage.stageWidth;
  menuhack.height=stage.stageHeight;
  log.width=stage.stageWidth-6;
  log.height=stage.stageHeight;
});
var nc: NetConnection;
var ncclient: Object;
var ns: NetStream;
var nsclient: Object;
var snd: SoundTransform;
var video: Video=new Video();
video.deblocking=3;
video.smoothing=true;
video.width=480; video.height=400;
addChild(video);
var log: TextField=new TextField();
log.border=false;
log.type=TextFieldType.DYNAMIC;
var fmt: TextFormat=new TextFormat("Arial",10,0xffffff);
log.defaultTextFormat=fmt;
log.wordWrap=false;
log.x=3;
log.y=0;
log.width=476;
log.height=400;
addChild(log);
var menuhack: MovieClip=new MovieClip();
menuhack.x=0;
menuhack.y=0;
menuhack.graphics.beginFill(0,0);
menuhack.graphics.drawRect(0,0,1,1);
menuhack.graphics.endFill();
addChild(menuhack);
menuhack.doubleClickEnabled=true;
menuhack.addEventListener(MouseEvent.DOUBLE_CLICK,function(e: MouseEvent) {
  if (stage.displayState==StageDisplayState.FULL_SCREEN) {
    stage.displayState=StageDisplayState.NORMAL;
    toggleFullscreen.caption="View Fullscreen";
  } else {
    try {
      stage.displayState=StageDisplayState.FULL_SCREEN;
      toggleFullscreen.caption="Exit Fullscreen";
    } catch (err: SecurityError) {
      toggleFullscreen.caption="Fullscreen Mode Unavailable";
      toggleFullscreen.enabled=false;
    }
  }
});
stage.dispatchEvent(new Event(Event.RESIZE));

function viewCam4(): void {
  nc=new NetConnection();
  ncclient=new Object();
  nc.client=ncclient;
  nc.addEventListener(NetStatusEvent.NET_STATUS,function(e: NetStatusEvent) {
    trace("NC:"+e.info.code);
    if (e.info.code=="NetConnection.Connect.Rejected") {
      trace("NetConnection rejected, aborting!");
    }
    if (e.info.code=="NetConnection.Connect.Success") {
      ns=new NetStream(nc);
      nsclient=new Object();
      nsclient.onMetaData=function(o: Object) {};
      ns.client=nsclient;
      ns.addEventListener(NetStatusEvent.NET_STATUS,function(e: NetStatusEvent) {
        trace("NS:"+e.info.code);
        if (e.info.code=="NetStream.Unpublish.Success") {
          log.visible=true;
          trace("Stream unpublished.");
        }
      });
      snd=new SoundTransform();
      video.attachNetStream(ns);
      ns.soundTransform=snd;
      snd.volume=1;
      ns.play("streams/"+cam4guid);
    }
  });
  nc.addEventListener(SecurityErrorEvent.SECURITY_ERROR,function(e: SecurityErrorEvent) {
    trace("SecurityErrorEvent in NetConnection!");
  });
  nc.connect("rtmp://"+cam4ip+"/cam4-"+cam4origin+"/_definst_");
}

function startCam4(ip,origin,guid: String): void {
  cam4ip=ip;
  cam4origin=origin;
  cam4guid=guid;
  viewCam4();
}

function initializeCam4(who: String): void {
  trace("Initializing:"+who);
  var loader: URLLoader=new URLLoader();
  loader.addEventListener(SecurityErrorEvent.SECURITY_ERROR,function(e: SecurityErrorEvent) {trace(e)});
  loader.addEventListener(IOErrorEvent.IO_ERROR,function(e: IOErrorEvent) {trace(e)});
  loader.addEventListener(Event.COMPLETE,function(e: Event) {
    var rtmp_origin: String=e.target.data;
    trace(rtmp_origin);
    nc=new NetConnection();
    ncclient=new Object();
    nc.client=ncclient;
    nc.addEventListener(NetStatusEvent.NET_STATUS,function(e: NetStatusEvent) {
      trace("NC:"+e.info.code);
      if (e.info.code=="NetConnection.Connect.Success") {
        var r: Responder=new Responder(function(str: String) {
          var re: RegExp=new RegExp("^rtmp...(.+?)\\/cam4-(.+?)\\/.+?streams\\/(.+?)\\?","i");
          var rs: Array=re.exec(str);
          if (!rs||rs.length<4) {
            return;
          }
          nc.close();
          startCam4(rs[1],rs[2],rs[3]);
        });
        nc.call("initializeReady",null);
        nc.call("requestVideoStream",r);
      }
    });
    nc.addEventListener(SecurityErrorEvent.SECURITY_ERROR,function(e: SecurityErrorEvent) {
      trace("SecurityErrorEvent in NetConnection!");
    });
    nc.connect(rtmp_origin,who,"guest","");
  });
  loader.load(new URLRequest("http://cam4.com/direct?room="+who+"&username=guest&devenv=false"));
}

ExternalInterface.addCallback("initializeCam4",initializeCam4);
initializeCam4("vnmses"); //<-- cam4 broadcaster here

loaderInfo.addEventListener(Event.COMPLETE,function() {
  ExternalInterface.call("AppLoaded");
});

Note that most of the random crap in the AS3 above is due to the bug of not allowing context menus on Video components, aspect ratio, stretching etc. and the actual Cam4-specific bit is really small. Feel free to cut, re-use, implement etc. in whichever way you want.

E.

Elgero 05-20-2013 05:51 PM

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


 
Quote:

Originally Posted by Winstontoo (Post 61973)
Hey Elgero, wondering if you could offer some advice on that project you helped me with awhile back if you have a moment.

Thanks

I have removed a few PM's.



Btw, I fixed the automatic Cam4 downloader. I'll give it to the person who PM's me and tells me how to record private/group shows from Chaturbate. If you're interested I'll give you an automatic Chaturbate downloader as well.

Admin 08-20-2013 10:30 AM

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


 
Keeping it simple: WM Capture will always work, since it doesn't have to decypher any encrypted protocols.

crs 08-21-2013 11:09 AM

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


 
Quote:

Originally Posted by Admin (Post 63246)
Keeping it simple: WM Capture will always work, since it doesn't have to decypher any encrypted protocols.


Cam4 isnt encrypted through ...

Elgero 01-06-2014 04:07 AM

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


 
In case anybody is interested, I have fixed the Cam4 Grabber tool again. I fixed it to automatically record one girl, but now I have enough videos of her.

This version doesn't login and check your favorites list, but it will simply download the webpages. You will have to copy and paste the broadcaster names yourself.

Note: If you're, for example, not interested in Male/Transgenders, then keep those categories unchecked, because in that case there's no point in downloading and checking those pages. Updates are done every 2 minutes.

http://upsto.re/CEE4aw

xaboxa 01-06-2014 07:33 AM

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


 
Thank you very much Elgero !

Roma Romanoff 01-07-2014 04:01 AM

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


 
Thanks Elgero! Think this is great programm.

Stream Ripper 01-07-2014 10:54 PM

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


 
Awesome - thanks Elegro! :D

Calvin1961 01-09-2014 12:17 AM

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


 
Hey Elgero,

Thanks for making this great tool available again :-) I can report it works well here.

I have a question: I presume you have opted for the "scan web pages" approach to detect when a broadcaster is on to remain as "stealthy" as possible ?

I notice from watching the traffic flow that you only scan the top 2 pages of each category selected. This I presume means they won't be detected until they climb this far in rankings ?

Would the method to detect broadcasters discussed by Marcodp2004 discussed here: http://stream-recorder.com/forum/rec...x-t2704p3.html also be a viable option that would circumvent this weakness - albeit, maybe giving away more clues as to what we are doing ?


All the best,

Calvin.

Elgero 01-09-2014 01:04 AM

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


 
Quote:

Originally Posted by Calvin1961 (Post 64233)
I have a question: I presume you have opted for the "scan web pages" approach to detect when a broadcaster is on to remain as "stealthy" as possible ?

No. I fixed this tool just to record one girl, so I'm not going to spend more time on it than absolutely necessary. I'm only sharing it because I now have enough videos of her. It has nothing to do with being "stealthy", just the easiest (not the best) way to implement it.

Quote:

Originally Posted by Calvin1961 (Post 64233)
I notice from watching the traffic flow that you only scan the top 2 pages of each category selected. This I presume means they won't be detected until they climb this far in rankings ?

Yes, the girl I wanted to record had 500+ viewers in a matter of minutes, so I didn't have that problem. If you want to record women with only 5 viewers, who are always listed on page 3/4, then this tool won't detect them. No offense, but why would you even want to record those women anyway? Most women on page 1 aren't even very attractive, as the most attractive women on Cam4 go to Chaturbate or other camsites, sooner or later.

The original tool I had last year would login and check your personal favorites list, but that was way too cumbersome, because Cam4 would change hashes/cookies/login procedure every two weeks, requiring an update of the tool. Like I said above, for recording just one girl this was the easiest way to implement it.

Quote:

Originally Posted by Calvin1961 (Post 64233)
Would the method to detect broadcasters discussed by Marcodp2004 discussed here: http://stream-recorder.com/forum/rec...x-t2704p3.html also be a viable option that would circumvent this weakness - albeit, maybe giving away more clues as to what we are doing ?

That wouldn't work at all. It would mean that with 100 broadcasters in your watchlist, you would have to make 100 connections to the server every few minutes.

Cbater 01-10-2014 10:18 AM

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


 
After a year of sadness with Jaksta and Firefox Macros. This must be the Light!!! ;)

Many, many thanks, Elgero (my hero) :)

@ someday the cb downloader in my pm box from you and i will love you more ;)

Calvin1961 01-11-2014 08:38 PM

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


 
Quote:

Originally Posted by Elgero (Post 64234)
No. I fixed this tool just to record one girl, so I'm not going to spend more time on it than absolutely necessary. I'm only sharing it because I now have enough videos of her. It has nothing to do with being "stealthy", just the easiest (not the best) way to implement it.

It's kewl - I wasn't demanding that you "fix it" or "change it". It was more a case of me becoming aware of what your tool could and could not do. I can understand your reluctance to get on the treadmill of code maintenance, it can be a VERY unpleasant chore if you are not in the mood to do it.

I go through stages of enthusiasm - I recently just had one, and re-engineered my "script based" approach to the problem, with a considerable improvement in performance. I dare say having now achieved the new goal, it will stay in this state for quite a long time until inspiration next strikes :-)

Quote:

Originally Posted by Elgero (Post 64234)
Yes, the girl I wanted to record had 500+ viewers in a matter of minutes, so I didn't have that problem. If you want to record women with only 5 viewers, who are always listed on page 3/4, then this tool won't detect them. No offense, but why would you even want to record those women anyway? Most women on page 1 aren't even very attractive, as the most attractive women on Cam4 go to Chaturbate or other camsites, sooner or later.

The main problem with only looking at the rankings is the "USA and Europe" centric nature of the site. If I want to concentrate on performers in Australia or New Zealand (where I am) they OFTEN barely rate a mention on the "male", "female" or "other" pages and so are missed. With Cam4 I often find the mob mentality of viewers leads to some VERY odd choices on occasion.

I mostly manually trigger operations here using my scripting system that ultimately using RTMPDump. It works fine and is now a bit more robust to the 101 STUPID malfunctions that constantly plague Cam4.

The latest "feature" that cause ENDLESS headaches is their wondrous "change resolutions" approach to the broadcast stream. The idea is actually sound, if upload bandwidth becomes an issue, drop the senders video resolution to keep the framerate reasonable. Their implementation however TOTALLY SUCKS.

A lot of broadcasters flip resolutions every 10 SECONDS, their camera driver deosn't like this much, you often then get greeted with several seconds of BLACK while their cam readjusts, only to have the whole sequence repeat moments later. I also find a reasonably high proportion of senders ultimately have trouble with after "flipping" 20 or 30 times (often within a couple of minutes) it crashes their camera and/or broadcast session, meaning they have to close the broadcast session and restart it. On occasion it ALSO TOTALLY crashes their camera driver requiring them to reboot their WHOLE MACHINE !

The other symptom is this IDIOTIC code effort from Cam4 is the VERY ODD situation you sometimes see with URLSnooper. It would appear that this "flipping" occasionally results in the generation of multiple RTMP streams from the same sender, only one of which is "live" the others are dead and orphaned. Trying to pick the right stream to use with RTMPDump can be tricky. My MkI script system I wrote dealt very POORLY with this and caused me endless problems. I've managed to make MkII a bit more robust in dealing with picking the "wrong" stream.

Quote:

Originally Posted by Elgero (Post 64234)
The original tool I had last year would login and check your personal favorites list, but that was way too cumbersome, because Cam4 would change hashes/cookies/login procedure every two weeks, requiring an update of the tool. Like I said above, for recording just one girl this was the easiest way to implement it.

I agree using the Cam4 stored "favourites" list would be a nightmare. Your new approach of a manual list is FAR better. If I had the ability to create such a tool I'd actually be probably putting a strict limit (maybe 25 or 30) on the number of profiles that can be "checked".

I've already found the "orphaned stream" situation can trip your tool up to Elgero. The librtmp module chokes on it and responds in the log with "cannot connect to stream" or similar. Presumably it has picked up a "dead" stream, not the currently live one :-(

Quote:

Originally Posted by Elgero (Post 64234)
That wouldn't work at all. It would mean that with 100 broadcasters in your watchlist, you would have to make 100 connections to the server every few minutes.

I am using this approach in my MkII script system. It actually works VERY well, the server response is a single 1 line text message, either an rtmp string, or "not_broadcasting" and a few other possible responses, so the traffic generated is VERY low, probably less than loading the standard web pages !

I'd be interested in hearing from anyone reading this as to their experiences, especially with the "new features" of Cam4 like their constant resolution flipping and orphaned streams problems. Has anyone found any better approaches to dealing with this ?

I've actually commented to friends about HOW POOR Cam4's software effort is. The site has a list of defects that extends to pages in length, virtually EVERY aspect of the site has multiple failure modes that often manifest themselves. Frankly, if I had written the existing code base of Cam4 I doubt I would have the courage to admit it ! I think doing so would lead to to your reputation as a software writer being damaged irreparably !

One friend of mine actually complained to Cam4 about the shockingly poor technical performance of the site. He was a major broadcaster who generated a LOT of income for them. After being ignored for quite a while, and sending multiple complaints, they responded by simply cancelling his profile and taking his stored tokens. Suffice to say he doesn't have much complimentary to say about the owners any more ! The attitude I seem to perceive it simply "we have your money now, so we don't care how much you complain, we will do NOTHING"

Elgero 01-13-2014 09:46 AM

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


 
Quote:

Originally Posted by Calvin1961 (Post 64261)
The latest "feature" that cause ENDLESS headaches is their wondrous "change resolutions" approach to the broadcast stream. The idea is actually sound, if upload bandwidth becomes an issue, drop the senders video resolution to keep the framerate reasonable. Their implementation however TOTALLY SUCKS.

To tell you the truth, I've never noticed the "change resolutions" approach, but I'm sure that's because I never use Cam4 anymore.


Quote:

Originally Posted by Calvin1961 (Post 64261)
I've already found the "orphaned stream" situation can trip your tool up to Elgero. The librtmp module chokes on it and responds in the log with "cannot connect to stream" or similar. Presumably it has picked up a "dead" stream, not the currently live one :-(

That it picks up a "dead" stream is a server problem, because Cam4 Grabber does the exact same rtmp handshake as the swf player to request the rtmp url of the video stream from the server. I do know that Cam4 uses two streams, one for logged in viewers and one for guest viewers. When it's not possible to record a webcam as a guest, then you won't be able to view the webcam, as a guest, in your browser either. Viewing/recording webcams when logged in always seems to work fine. Cam4 has this problem for years now and that's also one of the reasons why the first version of this tool required you to enter your login details. Maybe Cam4 does this on purpose, to force people to register an account.


Quote:

Originally Posted by Calvin1961 (Post 64261)
I am using this approach in my MkII script system. It actually works VERY well, the server response is a single 1 line text message, either an rtmp string, or "not_broadcasting" and a few other possible responses, so the traffic generated is VERY low, probably less than loading the standard web pages !

Yes, it does work for a simple script, but not when you have 100, 200, 300 broadcasters in your watchlist. This means that you're hammering the server hundreds of times every few minutes. It takes about 300ms to get a response from the server, so checking hundreds of broadcasters can take a few minutes, especially if you get a few timeouts.

Elgero 01-24-2014 10:39 AM

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


 
New version. Fixed a bug that resulted in an error when playing/deleting finished recordings.

http://dfiles.eu/files/v33l3ukyo

xaboxa 01-25-2014 02:22 AM

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


 
Thank you :)

Cbater 01-25-2014 09:49 AM

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


 
Thank you for the update. I have many error messages in your old version.

1. Failed to establish RTMP session

or

2. 30 second timeout


By 2-3 cams your programm don't start to record. I am big fan and this is only a status report ;)

Elgero 01-25-2014 09:01 PM

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


 
Cbater, here is a quote from my reply on the previous page that explains why this happens. Cam4 Grabber grabs the stream that guest users get and there can be problems with that stream.

Quote:

Originally Posted by Elgero (Post 64267)
That it picks up a "dead" stream is a server problem, because Cam4 Grabber does the exact same rtmp handshake as the swf player to request the rtmp url of the video stream from the server. I do know that Cam4 uses two streams, one for logged in viewers and one for guest viewers. When it's not possible to record a webcam as a guest, then you won't be able to view the webcam, as a guest, in your browser either. Viewing/recording webcams when logged in always seems to work fine. Cam4 has this problem for years now and that's also one of the reasons why the first version of this tool required you to enter your login details. Maybe Cam4 does this on purpose, to force people to register an account.


Cbater 01-26-2014 09:22 AM

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


 
Only one or two Suggestions. Maybe not worth to read ;)

I am using Jaksta 4 years now to record c4 with a Firefox Macro for automatic use. The macro needs 5 Minutes to check my Favs (4 Tabs every 8 Seconds). Aber 1-2 hours Firefox or Jaksta crashed sometimes. Maybe memory things. Can you write a program to check broadcasters every 1-2 minutes and Jaksta records the online cams in the background. Your fabulous grabber don't work with jaksta. Your old C4 Downloader works great with Jaksta in the background.

Elgero 01-26-2014 09:49 AM

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


 
I'm not exactly sure what you mean. I can easily write a tool to check the webpages to see if certain broadcasters are online, but I'm not sure what you mean with "don't work with jaksta". The old C4 Downloader tool uses WinPcap to check your internet traffic on port 1935 to see if there are RTMP urls and when it finds a Cam4 rtmp url, it starts to download the stream with librtmp. Jaksta will probably detect that same stream, but they're basically the same tools.

Calvin1961 02-01-2014 10:20 PM

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


 
Quote:

Originally Posted by Cbater (Post 64384)
Thank you for the update. I have many error messages in your old version.

1. Failed to establish RTMP session

or

2. 30 second timeout


By 2-3 cams your programm don't start to record. I am big fan and this is only a status report ;)

None of these problems are caused by Cam4Grabber NOR can Cam4Grabber do ANYTHING to correct them.

BOTH of these errors you reported are caused by Cam4's SHOCKINGLY POOR coding effort and the resulting DREADFUL stability of the Cam4 site. Cam4 OFTEN "orphans" streams from senders resulting in Cam4Grabber reporting the errors you mentioned. If the stream is already "orphaned" (broken) when Cam4Grabber attempts to start recording you get error 1 - Failed to establish RTMP session. If the stream dies WHILE Cam4Grabber is recording you get error 2 - 30 second timeout.

Cam4 also has a habit of FAILING to correctly process when a video sender leaves/signs off. It keeps their profile in the list of current cams OFTEN for HUNDREDS if not THOUSANDS of minutes AFTER they have left. I refer to these as "phantom" cams. They often have heaps of viewers as everyone see them on the list, notices the profile picture, and rushes into their room, only to be greeted with the "spinning wheel" and no video.

I have spoken about all the problems that the Cam4 site has previously in this thread - frankly the situation is getting WORSE not better !

From my observation Elgero both the "guest" and "logged in viewer" streams are equally impacted by these problems, OFTEN both streams die at the same time. Occasionally switching to a different server may temporarily fix the problem eg: call en.cam4.be or en.cam4.tw instead of www.cam4.com. URL snooper reports that the rtmp URL information and handshake are SOMETIMES then being handled by a different server (ie: different IP address) and it may manage to send you a "NOT broken" link to the sender's video stream that actually works ! It only works SOMETIMES though :-(

It is a great pity that Cam4 is the most popular site. They CERTAINLY DON'T DESERVE to be ! It really makes my blood boil that they make 100% markup on "tokens", and as a result make a BUCKET of money every day, and obviously spend NONE of it on fixing the site !

I wish they would go broke, so somebody who is actually technically competent could take their place ! The Cam4 site at the moment is about as stable as a giraffe on roller skates !

cinaman 02-25-2014 09:11 PM

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


 
Quote:

Originally Posted by Elgero (Post 64205)
...I have fixed the Cam4 Grabber tool again...

...Updates are done every 2 minutes.

Elgero,

Hey, thanks for sharing this software. I just started using it to follow someone I know personally.

I'd like to re-wrap the code as a Windows Service so it can run on a headless server. As far as I can tell, your .exe only runs in a logged-on user session.

If source is entirely out of the question, perhaps a .dll release as a .NET assembly is possible? I'm hoping your capture code isn't too terribly mixed up with GUI code and can be compiled in separate classes and/or namespace.

I hope you keep releasing updates! Thanks again.

ppeterppan 03-12-2014 07:18 AM

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


 
Quote:

Originally Posted by Elgero (Post 64373)
New version. Fixed a bug that resulted in an error when playing/deleting finished recordings.

http://dfiles.eu/files/v33l3ukyo

Can you re-upload the file? This one is no longer available.

Calvin1961 03-18-2014 06:38 PM

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


 
Hi PPeterPPAn,

Elgero has already made it clear he has VERY little to NO interest in supporting this tool. It is unlikely he will repost for you unfortunately. PM me and I'll see if I can help you.

Calvin.

tapion 03-21-2014 05:46 AM

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


 
can anyone reupload the file please? :)

dragon89 03-22-2014 03:58 PM

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


 
is there anyway to grab passworded cam4 rooms? don't mean privates but really people in a passworded room?

Winstontoo 04-06-2014 11:37 AM

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


 
Well seems Cam4 has changed things around, getting some working links with Elgero's tool, but also getting some rtmp url not found errors for online cams too.

Does anyone have a working solution for this site now?

Calvin1961 04-24-2014 10:47 PM

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


 
Quote:

Originally Posted by Winstontoo (Post 66875)
Well seems Cam4 has changed things around, getting some working links with Elgero's tool, but also getting some rtmp url not found errors for online cams too.

Does anyone have a working solution for this site now?

The problems are actually being caused by the continuing degradation of the entire Cam4 site. They have actually changed nothing as far as I can see, it just BREAKS MORE OFTEN ! when it is placed under a reasonable user load it seems to completely turn to crap and has stuff malfunction left, right and centre !

The RTMP timeout errors are caused when Cam4 "orphans" a stream. Have a look using URLSnooper as your browser negotiates a connection to a cam on the Cam4 site - then try connecting to a cam that is giving the "30 second timeout" error - you will see the difference between a "good" and an "orphaned" video stream.

Unfortunately, there is NOTHING Elgero's tool can do to resolve this. I have equally nightmarish headaches trying to use RTMPDump the way I record content (for exactly the same reason - the handshake negotiating the video stream is screwed up !)

Winstontoo 04-29-2014 10:12 AM

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


 
thanks for the insight Calvin. Got to agree with you on how crappy that site has become and don't get me started on the video streams that constantly change sizes as you play them, which may or may not be their fault or the shitty ips that the performers are using.

phucka 04-30-2014 07:28 AM

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


 
Hi Elgero,

Would it be possible to make a similar tool for Chaturbate? I know that you're no longer interested in updating, but you hinted at a Chaturbate tool a while ago and I'm very interested!

Thanks

Draly 05-01-2014 12:09 AM

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


 
Too bad all links to cam4grabber are dead :(

chickenlittle 05-01-2014 05:14 PM

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


 
hi, new here. just for asking if anyone using jaksta for mac is having problem with audio being speeded up. video is fine but audio is 200% also not snyced to video. if so, what is fix for this?

Winstontoo 05-03-2014 06:39 AM

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


 
Is anyone getting a lot of interruptions with caps since yesterday? Most but not all of the caps I am getting with Elgero's grabber are all getting restarted at short intervals like 42 seconds or a minute or slightly longer. The intervals are mostly the same length for each model, but not the same from model to model so one might restart every 30 seconds while the other goes for a minute and a half, same time every time.

xaboxa 05-03-2014 07:03 AM

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


 
2 nights ago I have noticed that all streams started to restart by themselves. It happens randomly in free chat so I believe the problem is not in Elgero app. Most likely problem is caused by cam4 side.


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