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)

c4170001 10-18-2015 09:29 PM

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


 
Looks like they're pushing out a staged update for slightly modified RTMP URLs. :)

sardokan 10-21-2015 01:20 AM

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


 
Why now not function?
The latest version is 1.0.2?

giostino 10-21-2015 06:27 AM

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


 
Cam4 modified the rtmp links and the current version doesnt work anymore :(

The Bullfrog 10-21-2015 08:48 AM

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


 
Please if someone could modify it to work again :cool:

rastamanx 10-21-2015 02:57 PM

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


 
Kinda hard for "someone" to fix the rtmp url regexp without the source code.

sardokan 10-22-2015 01:37 AM

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


 
Quote:

Originally Posted by Elgero (Post 80358)
It seems that the challenge must be sent every 30 seconds now or else it stops sending the stream after a minute.

I've said this many times before, but the admins of all those webcam sites are well aware that these stream-recorder.com forums exist. As soon as you publicly post a tool to download the webcam streams, they'll change it again... and again... and again, so there's no real point in posting updates.

This is exactly what "itsme" meant with do it on your own and keep it to yourself.

Personally I don't care about cam4 at all, cam4 is a mess. This is one big turd of a webcam site with all the low quality, stuttering webcam streams. I posted an updated version of cam4cmdline again, because many people asked me to fix it, but I'm not going to post updates week after week after week.

@Elgero Please update the version of the program or release the source code ...:( :( :(

Thanks

jams 10-22-2015 02:15 AM

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


 
I'd be happy to pay a donation towards keeping it updated if it helps.

troller12 10-22-2015 07:00 AM

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


 
Hi,

I could post the unpacked files of Elgero's cmd tools so that you can decompile it any Net decompiler.No idea why Elgero did protect his files. :) Bellow some small codes.
Code:

private bool method_11(string string_0, string string_1)
{
    GClass6 class2 = new GClass6 {
        int_0 = 3,
        genum3_0 = GEnum3.Large,
        genum2_0 = GEnum2.Invoke_AMF3
    };
    class2.method_2(0x1000);
    GClass3.smethod_0("Sending receiveRTMPResponse");
    List<byte> list = new List<byte> { 0 };
    smethod_4(list, "receiveRTMPResponse");
    int num = this.int_11 + 1;
    this.int_11 = num;
    smethod_8(list, (double) num);
    list.Add(5);
    list.Add(0x11);
    list.Add(10);
    list.Add(11);
    list.Add(1);
    smethod_0(list, "client", string_0);
    smethod_0(list, "result", string_1);
    list.Add(1);
    list.Add(1);
    list.Add(1);
    Array.Copy(list.ToArray(), class2.byte_0, list.Count);
    class2.uint_1 = (uint) list.Count;
    return this.method_26(class2, true);
}

Code:

private static void smethod_5()
{
    GClass2 l = new GClass2 {
        string_1 = string_1,
        int_0 = 0x78f,
        string_7 = string_2,
        string_4 = string_0,
        string_2 = string_3,
        string_5 = "http://edgecast.cam4s.com/client/Cam4Chatless_1.25_s_guest.swf",
        string_6 = string.Format("http://www.cam4.com/{0}", string_4)
    };
    GClass5 class2 = new GClass5(l);
    GClass6 class3 = null;
    int num = 0;
    uint num2 = 0;
    uint num3 = 0;
    long elapsedMilliseconds = 0L;
    Stopwatch stopwatch = new Stopwatch();
    Console.CursorVisible = false;
    smethod_10("Connecting...");
    if (!class2.method_0())
    {
        smethod_12("RTMP Connection Failed.");
    }
    smethod_10("Connected.");
    smethod_10("Starting Live Stream.");
    smethod_11("0 kB", "00:00:00");
    try
    {
        using (FileStream stream = new FileStream(string_5, FileMode.Create, FileAccess.ReadWrite, FileShare.Read, 0x3e800))
        {
            stream.Write(byte_0, 0, byte_0.Length);
            stopwatch.Start();
            goto Label_0141;
        Label_00F3:
            if (!class2.method_39(class3, stream, ref num2, ref num3))
            {
                goto Label_0150;
            }
            if ((stopwatch.ElapsedMilliseconds - elapsedMilliseconds) >= 500L)
            {
                elapsedMilliseconds = stopwatch.ElapsedMilliseconds;
                smethod_11(smethod_7((long) num3), smethod_8(num2));
            }
        Label_0133:
            if ((num == 2) || !class2.Boolean_0)
            {
                return;
            }
        Label_0141:
            num = class2.method_6(out class3);
            if (num == 1)
            {
                goto Label_00F3;
            }
            goto Label_0133;
        Label_0150:
            smethod_12("Downloading aborted, because the stream is corrupt.");
        }
    }
    catch (Exception exception1)
    {
        smethod_12(exception1.Message);
    }
}

Code:

private static void smethod_6()
{
    GClass2 l = new GClass2 {
        string_1 = string_1,
        int_0 = 0x78f,
        string_7 = string_2,
        string_4 = string_0,
        string_2 = string_3,
        string_5 = "http://edgecast.cam4s.com/client/Cam4Chatless_1.25_s_guest.swf",
        string_6 = string.Format("http://www.cam4.com/{0}", string_4)
    };
    GClass5 class2 = new GClass5(l);
    GClass6 class3 = null;
    int num = 0;
    uint num2 = 0;
    uint num3 = 0;
    if (!class2.method_0())
    {
        smethod_12("RTMP Connection Failed.");
    }
    using (Stream stream = Console.OpenStandardOutput(0x8000))
    {
        stream.Write(byte_0, 0, byte_0.Length);
        goto Label_00BC;
    Label_009F:
        if (!class2.method_39(class3, stream, ref num2, ref num3))
        {
            goto Label_00CD;
        }
    Label_00AE:
        if ((num == 2) || !class2.Boolean_0)
        {
            return;
        }
    Label_00BC:
        num = class2.method_6(out class3);
        if (num == 1)
        {
            goto Label_009F;
        }
        goto Label_00AE;
    Label_00CD:
        smethod_12("Downloading aborted, because the stream is corrupt.");
    }
}

greetz

Elgero 10-22-2015 07:12 AM

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


 
Hmm, I just came here to post a new version. No need to do that anymore if people have the source code. Good luck.

The reason why the code is protected is because I wrote this code with somebody else and we agreed not to share it. I'm also using this code in my commercial applications, you know, to pay bills, feed my daughter.

giostino 10-22-2015 10:48 AM

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


 
Hello Elgero
Could you be so kind and please post the updated version? :)

Also could you send me a pm with ur paypal adress? I wouldnt mind to pay a few dollars for the work u did.

jams 10-22-2015 11:19 AM

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


 
Quote:

Originally Posted by giostino (Post 80697)
Hello Elgero
Could you be so kind and please post the updated version? :)

Also could you send me a pm with ur paypal adress? I wouldnt mind to pay a few dollars for the work u did.

I agree, your efforts should be rewarded.

rastamanx 10-22-2015 12:00 PM

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


 
Quote:

Originally Posted by jams (Post 80693)
I'd be happy to pay a donation towards keeping it updated if it helps.

Sadly it seems that donations are not enough.
cf. itsme not willing to share l4 anymore.
cf. elgero not having the time to update his cmd line tool every day.

Every decent coder around here has his own reasons not to update/share his tools, which are not only money-related.
So be grateful for what you get, and enjoy it while it lasts.

PS: Elgero, you know how ugly decompiled code can get, so if you have already updated it, just share it please :)

Elgero 10-22-2015 12:32 PM

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


 
Guys, I'm not interested in money.

Here's the updated version. I have removed the option to send the stream to stdout :D :p

::edit::

Link removed.

jams 10-22-2015 12:45 PM

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


 
Thank you. :)

giostino 10-22-2015 01:04 PM

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


 
Thank you very much if u ever come to germany i owe u a beer!:)

giostino 10-22-2015 01:14 PM

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


 
i´ve got some trouble running the new version.

After a minute recording the program stops working with every model i´ve tested so far
Code:

C:\Users\Rene\Documents\rtp\new>cam4cmdline.exe -m sandysun -o bla.mp4

cam4cmdline v1.0.3 Beta by Elgero

Connecting...
Connected.
Starting Live Stream.
1.702 KB / 00:01:04
Download complete.

C:\Users\Rene\Documents\rtp\new>


Elgero 10-22-2015 01:37 PM

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


 
I tested it with two models and let both of them download for about 10 minutes and it worked fine.

I'll take a look at it tomorrow. I don't have access to my pc right now.

sardokan 10-23-2015 01:22 AM

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


 
Quote:

Originally Posted by Elgero (Post 80700)
Guys, I'm not interested in money.

Here's the updated version. I have removed the option to send the stream to stdout :D :p

http://upstore.net/EhRqTC7

thank you so much @Elgero

sil57 10-23-2015 02:12 AM

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


 
THANKS ..Elgero !! :)
very nice sw
but i confirm that after about 1 minute stop record
i tried also rtmpDumphelper and it run
only when model is visible

Elgero 10-23-2015 03:44 AM

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


 
Try this one.

::edit::

Link removed.

jams 10-23-2015 03:51 AM

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


 
Quote:

Originally Posted by Elgero (Post 80708)

Thanks again, but file deleted?
"File was deleted by owner or due to a violation of service rules. Sorry for inconvenience..."

Elgero 10-23-2015 03:55 AM

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


 
I tried to download a new model right after I posted it and cam4 had server problems (again). It crashed after 15 seconds, because it couldn't connect. It now handles the error better.

http://upstore.net/EhwF2aW

jams 10-23-2015 03:56 AM

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


 
Quote:

Originally Posted by Elgero (Post 80710)
I tried to download a new model right after I posted it and cam4 had server problems (again). It crashed after 15 seconds, because it couldn't connect. It now handles the error better.

http://upstore.net/EhwF2aW

Elgero, you legend! Thanks.

giostino 10-23-2015 04:41 AM

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


 
perfect it´s working now.
great job!

i love u:D

backgreem 10-23-2015 05:33 AM

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


 
Thanks Elgero,

Great job

sardokan 10-23-2015 05:59 AM

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


 
Quote:

Originally Posted by Elgero (Post 80710)
I tried to download a new model right after I posted it and cam4 had server problems (again). It crashed after 15 seconds, because it couldn't connect. It now handles the error better.

http://upstore.net/EhwF2aW

Perfect, nice job.

Many thanks

Othello 10-23-2015 02:14 PM

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


 
thank you so much for the update, elgero. you truly have a big heart for cam4 addicts ;)

Stronghold 10-23-2015 02:43 PM

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


 
Elgero you sexy beast, many thanks!

Downloaded 10-23-2015 02:56 PM

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


 
Quote:

Originally Posted by Elgero (Post 80710)
I tried to download a new model right after I posted it and cam4 had server problems (again). It crashed after 15 seconds, because it couldn't connect. It now handles the error better.

http://upstore.net/EhwF2aW

thank you very much!
excuse my ignorance but
perhaps experiment by changing the name to the file and putting password possible to last more time online.

melauf00 10-23-2015 08:59 PM

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


 
Great ! Thanks bro !!!

osadrac 10-23-2015 11:12 PM

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


 
error again :(

Enter model name:xlucianax
Created new directory: cam4\xlucianax

cam4cmdline v1.0.3 Beta by Elgero

ERROR: Failed to download webpage: http://www.cam4.com/xlucianax

Jor1 10-24-2015 05:49 AM

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


 
Quote:

Originally Posted by Elgero (Post 80710)
I tried to download a new model right after I posted it and cam4 had server problems (again). It crashed after 15 seconds, because it couldn't connect. It now handles the error better.

http://upstore.net/EhwF2aW

Thank you, wonderful tool.

Downloaded 10-24-2015 04:50 PM

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


 
Quote:

Originally Posted by Elgero (Post 80710)
I tried to download a new model right after I posted it and cam4 had server problems (again). It crashed after 15 seconds, because it couldn't connect. It now handles the error better.

http://upstore.net/EhwF2aW

I have a stupid doubt. is the sign of origin that this app captures hd?

argentinemen 10-27-2015 03:26 PM

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


 
im happy . jaksta media recorder 5.01.36 and internet download manager 6.25 are working again on cam4!!!!!

getflv 10-28-2015 02:00 AM

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


 
Latest GetFLV can record cam4 videos no problem.:cool:

beneton2003 10-30-2015 03:38 AM

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


 
How do you think, will it start on debian linux with wine?
do i need any frameworks?

UserQ 10-31-2015 12:39 AM

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


 
Could someone reupload? Thx

chutre1956 11-02-2015 06:52 AM

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


 
if you have winetrick installed just install .net 2.0 winetricks dotnet20
then you can use it as always with wine cam4cmdline -m model -o out.flv
Quote:

Originally Posted by beneton2003 (Post 80829)
How do you think, will it start on debian linux with wine?
do i need any frameworks?


UserQ 11-07-2015 03:48 AM

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


 
Quote:

Originally Posted by Elgero (Post 80710)
I tried to download a new model right after I posted it and cam4 had server problems (again). It crashed after 15 seconds, because it couldn't connect. It now handles the error better.

http://upstore.net/EhwF2aW

Is it possible to add functionality wait for a model?

I mean not returns error like

'ERROR: RTMP url not found (model offline?)'

but repeat request to the c4.

I don't have source so I can't improve it.

Thanks.

beneton2003 11-09-2015 02:42 AM

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


 
after i spent about 3 days i make script work under wine, the main trouble was i don't want to install any gui on my server, so i was try to install dotnet2.0 under console, but at the end i was install xwindows then dotnet
After i install dotnet system start normally,
But i don't see any reasons to download only one model, i was made simple program which was check if model is already downloading and start downloading if not. The next trouble was unable to start this as service, i used python to make this script, and i was try to install this script on supervisorctl, and it was fail.
At the moment script is work with list of models, but when i start it manually, not as service. If author make something like whitelist and make it work with many models, i will make him a golden kick :-)))


All times are GMT -6. The time now is 02:31 PM.