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)

Elgero 09-22-2015 02:21 AM

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


 
Quote:

Originally Posted by troller12 (Post 79979)
Unfortunately you do code in NET and nobody seems to be able (or want) to add new parameters into RTMPDump source to send such custom commands and to compile a new working version.

Because it isn't really possible to do that. Often it's not just a custom command with standard data that needs to be sent, but you need to read the incoming data, do something with it and then send that specific data in the custom command. Also, in the case of Cam4 the custom command isn't always sent. 9 out of 10 times it is, but certain specific data received from Cam4 needs to be checked to see if the custom command must be sent or not. There's pretty much no way you can create a general rtmpdump version to cover all this.

Quote:

Originally Posted by troller12 (Post 79979)
PS: Would be nice if you could also add a player output command as | to pipe the stream into a player.If you do then I would build a nice GUI which I could post on this topic if anyone wants a GUI. :)

See the last post on the previous page.

rodlogic 09-22-2015 07:45 AM

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


 
I have written a quick n dirty windows batch file for the cam4cmdline to allow input of model name and selection of play or save (obviously editing of paths will be required) if any one would like me to post.
It is not the most elegant piece of coding !

troller12 09-22-2015 02:10 PM

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


 
Hi again,

ah ok so isn't really easy to handle that problem to add a fix into RTMPDump.Really pitty.So I have seen another cam site who does also use same command. :)

Thanks for your new CMD tool version with player output so now its working better.So I made a GUI now (I do code in assembly) which is almost done so just need to make some more little tests to be sure that everything is working well.Below a picture...

...just added some test names but you can add tons of name / tabs etc.

greetz

itsme 09-22-2015 02:45 PM

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


 
Quote:

Originally Posted by troller12 (Post 79979)
Hi,

nice tool Elgero.So I see you do send the necessary receiveRTMPResponse command at send API.
Code:

00C0D26C  03 00 00 00 00 00 47 11 00 00 00 00 00 02 00 13  .....G......
00C0D27C  72 65 63 65 69 76 65 52 54 4D 50 52 65 73 70 6F  receiveRTMPRespo
00C0D28C  6E 73 65 00 40 00 00 00 00 00 00 00 05 11 0A 0B  nse.@........
00C0D29C  01 0D 63 6C 69 65 6E 74 06 15 31 38 31 31 33 37  .client181137
00C0D2AC  30 38 30 37 0D 72 65 73 75 6C 74 06 07 31 31 30  0807.result110
00C0D2BC  01 01 01

Unfortunately you do code in NET and nobody seems to be able (or want) to add new parameters into RTMPDump source to send such custom commands and to compile a new working version.

PS: Would be nice if you could also add a player output command as | to pipe the stream into a player.If you do then I would build a nice GUI which I could post on this topic if anyone wants a GUI. :)

greetz

I think most people don't want to play cat and mouse with just another site, if you disclose all information and make it available to the plebs you will have to patch your program over and over. cam4 started to implement some checks here and there (hello log2.cam4admin.com)

I even posted the source code of the current cam4 swf, (only missing some basic math, hehe. ) but yet nobody seems to care about a public fix, do it on your own and keep it to yourself.

here a little motivation for you to do it on your own: http://i.imgur.com/8R38blr.jpg

troller12 09-22-2015 03:53 PM

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


 
Hi itsme,

so my knowledge about rtmp/* handling (Headers AMF) is almost 0 (didn't checked this yet) so that I only can use / control extern tools as RTMPDump & Co but of course I would like to code any own stream dumper (maybe later if possible) which I can update / expand etc to be independently to use other dumpers.

About your tool picture: What the heck! :) Looks very massive but nice.Seems that you handle all three cam sites at once. :) But it also seems (if I see it correctly) that you do download the entire cam traffic too. :) Anyway,so maybe you should post your tool on this topic so then all would be more happy so I think.

greetz

rastamanx 09-22-2015 06:01 PM

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


 
Quote:

Originally Posted by itsme (Post 80011)
here a little motivation for you to do it on your own: http://i.imgur.com/8R38blr.jpg

I miss my lurk4 :<

troller12 09-23-2015 02:19 PM

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


 
Hi guys,

ok I finished my GUI and hope that I didn't forgot anything etc but if so then just post any bug infos.I created a detailed infos text file of the main features and also made some example pics which you can find inside of my package so that nothing can go wrong.

Some infos: My GUI should work on all Windows OS from XP - higher (only testst on XP SP3 and not testst on higher & 64 bit systems).The CMD tool by Elgero needs NET 4.0 (Client Profile should be enough) so keep this in your mind.Send any feedback if something dosen't work with my GUI etc.If you don't know whether or which NET version you have installed on your system then you can use a Net Detector tool...

...to get quickly infos about it.
Code:

Cam4 - Loader 1.0.rar (422.66KB)
https://www.sendspace.com/file/n3qnq6

Thats all so far.Have fun and keep watching. :)

PS: Special thanks to Elgero for the streamer tool.

greetz

backgreem 09-24-2015 11:42 AM

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


 
Great job ..thanks a lot

Othello 09-24-2015 05:06 PM

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


 
I just registered here to say thank you for this amazing tool :) cam4 is fun again :)

rouxerx 09-25-2015 08:07 AM

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


 
Quote:

Originally Posted by Elgero (Post 80001)
New version. Requires .NET 4.0. No source code.

http://upstore.net/EtuKFMK

Code:

-m <model>          Name of the model to download.
 -o <output>        Specify the output path. Use - for StdOut.
 -h                  Display this help message.

 Example #1 - Saving the stream to disk.
    cam4cmdline -m modelname -o "C:\Downloads\output.flv"

 Example #2 - Sending the stream to StdOut and play with video player.
    cam4cmdline -m modelname -o - | "C:\videoplayer\mpc-hc64.exe" -


Thanks Elgero! On my PC, the program doesn't terminate when the broadcast ends though. The filesize and time just freeze. Any tips on how I can resolve this? Also, it would be great if the program could automatically save the stream to file like in the old version. Would this feature be in the pipeline?

Elgero 09-26-2015 08:21 AM

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


 
Quote:

Originally Posted by rouxerx (Post 80090)
Thanks Elgero! On my PC, the program doesn't terminate when the broadcast ends though. The filesize and time just freeze. Any tips on how I can resolve this? Also, it would be great if the program could automatically save the stream to file like in the old version. Would this feature be in the pipeline?

That's a small bug that I have fixed now.

I really don't like cam4, but people kept asking me over and over again to fix cam4cmdline, so I quickly modified my code to make it work with cam4. I literally tested the application for two minutes and then posted it here.

What do you exactly mean with "automatically save the stream to file like in the old version"? Let me know first, so I don't have to keep posting new versions.

ulysses81 09-26-2015 03:19 PM

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


 
Thanks Elgero and Troller12 for the tool!

I have just a question:
Can I use some special characters (as parenthesis) in the paths of the cam4cmdlineof the cam4cmdline?

My vlc path contains some parenthesis :(

Thank you!

c4170001 09-26-2015 06:32 PM

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


 
Quote:

Originally Posted by ulysses81 (Post 80119)
Thanks Elgero and Troller12 for the tool!

I have just a question:
Can I use some special characters (as parenthesis) in the paths of the cam4cmdlineof the cam4cmdline?

My vlc path contains some parenthesis :(

Thank you!

As per the example, just wrap the path in quotes. The following would work fine:

cam4cmdline -m modelname -o - | "C:\Program Files (x86)\VideoLAN\VLC\vlc.exe" -

rouxerx 09-27-2015 07:00 PM

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


 
Quote:

Originally Posted by Elgero (Post 80108)
That's a small bug that I have fixed now.

I really don't like cam4, but people kept asking me over and over again to fix cam4cmdline, so I quickly modified my code to make it work with cam4. I literally tested the application for two minutes and then posted it here.

What do you exactly mean with "automatically save the stream to file like in the old version"? Let me know first, so I don't have to keep posting new versions.

Wow... Elgero, you're a genius! cam4cmdline is really a great application :)

In the old version, we typed the cam4 user name and the application would start recording and save the file in a directory of the user and the file name would be the user name with a date and time stamp. e.g. username: hellothere, file saved in "cam4\hellothere\hellothere_(2015-09-27_23-59).flv". It would be great if the updated application could do this as well.

Elgero 09-28-2015 03:36 AM

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


 
Quote:

Originally Posted by rouxerx (Post 80159)
In the old version, we typed the cam4 user name and the application would start recording and save the file in a directory of the user and the file name would be the user name with a date and time stamp. e.g. username: hellothere, file saved in "cam4\hellothere\hellothere_(2015-09-27_23-59).flv". It would be great if the updated application could do this as well.

The version posted below contains a 'run.bat' file to do that.

Elgero 09-28-2015 03:37 AM

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


 
New version. No source code.

http://upstore.net/ERmVGCe

Read included README.txt file to see how to use the application.

Changes:

Code:

.NET Framework 4.0 isn't required anymore. At least .NET Framework 2.0 is required now.
Fixed a small bug that prevented the console window from closing when a download had finished.
File buffer is now flushed properly when closing the console window.


wizard 09-28-2015 08:12 AM

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


 
Many, many thanks Elgero.

My deepest respect to you.

rouxerx 09-28-2015 06:00 PM

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


 
Thanks Elgero!

david00 10-01-2015 02:43 AM

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


 
Thanks Elgero :D

Horadrim 10-01-2015 08:10 AM

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


 
Elegro, thank you for your wonderful work! I have one suggestion - if you could add the model`s name to the "Starting Live Stream" message. This way if someone captures few streams at once, it will be easier to interrupt the unwanted ones. Currently is kinda hard to distinguish which console is for which stream.

Elgero 10-01-2015 09:36 PM

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


 
Quote:

Originally Posted by Horadrim (Post 80249)
Elegro, thank you for your wonderful work! I have one suggestion - if you could add the model`s name to the "Starting Live Stream" message. This way if someone captures few streams at once, it will be easier to interrupt the unwanted ones. Currently is kinda hard to distinguish which console is for which stream.

Are you using the batch file? Because if you run cam4cmdline manually, then the filename you have entered should already be displayed in the console window.

If you're using the batch file, then open it with notepad and add the following line

Code:

echo Saving as: %fname%
so it looks like this

Code:

if not exist "cam4\%model%" mkdir "cam4\%model%" && echo Created new directory: cam4\%model%

echo Saving as: %fname%

cam4cmdline -m %model% -o "cam4\%model%\%fname%"


Horadrim 10-02-2015 01:00 PM

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


 
I`m using the GUI.

Elgero 10-02-2015 01:29 PM

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


 
The GUI is not made by me, I only made the CLI. People are contacting me with all kinds of questions about 'Cam4 Loader' and I had no clue what people were talking about. After reading the last few pages of this thread I see that people are talking about an application made by troller12. I have absolutely nothing to do with it and I have no idea how it works. You should contact troller12 regarding the GUI.

Stronghold 10-03-2015 03:23 PM

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


 
This might be a noob question but does it record the stream in standard def. quality only?

Elgero 10-04-2015 06:09 AM

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


 
I just did a quick test and it downloads HD cams (1280x720) fine.

mushty007 10-04-2015 01:37 PM

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


 
Thanks , anyone knows how to record bongacams stream :)

troller12 10-04-2015 03:25 PM

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


 
Hi,

bongacams works sometimes randomly like this...
Code:

WARNING: You haven't specified an output file (-o filename), using stdout
Connecting ...
INFO: Connected...
ERROR: rtmp server sent error
Starting Live Stream
INFO: Metadata:
INFO:  hasVideo                TRUE
INFO:  width                  640.00
INFO:  height                  480.00
INFO:  framerate              29.97
INFO:  videocodecid            avc1
INFO:  videodatarate          768.00
INFO:  videoonly              FALSE
INFO:  avcprofile              66.00
INFO:  avclevel                31.00
INFO:  hasAudio                TRUE
INFO:  audiocodecid            mp4a
INFO:  audiosamplerate        44100.00
INFO:  audiodatarate          56.00
INFO:  audiochannels          2.00
INFO:  stereo                  TRUE
INFO:  audiosamplesize        16.00
INFO:  audioonly              FALSE
INFO:  aacaot                  1.00
29.109 kB / 0.00 sec
ERROR: rtmp server sent error
1408.712 kB / 16.76 sec

greetz

blade91440 10-05-2015 04:45 PM

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


 
hello how can i automated download cam4 ? whith cam4cmd ?

Winstontoo 10-06-2015 11:14 AM

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


 
Is anyone else having the cam4 command line close after a minute of capture?

melauf00 10-06-2015 12:15 PM

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


 
Quote:

Originally Posted by Winstontoo (Post 80353)
Is anyone else having the cam4 command line close after a minute of capture?

I do.:(

Elgero 10-06-2015 01:08 PM

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


 
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.

offthecuff 10-06-2015 04:24 PM

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.

@Elgero

thanks for your work

they work
till i terminate them

melauf00 10-06-2015 06:49 PM

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.


Perfectly understandable, thanks for all that you did for us anyway, you're great !;)

rastamanx 10-06-2015 08:23 PM

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


 
Quote:

Originally Posted by Elgero (Post 80358)
This is exactly what "itsme" meant with do it on your own and keep it to yourself.

Well, I'd suggest you do the same as itsme did at first : release it privately.
Either vet users through PMs or something before sending it, instead of making it publicly available.
Btw itsme, if there's still a way to get a current l4 version, hit me up.

Elgero 10-07-2015 09:29 AM

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


 
Quote:

Originally Posted by rastamanx (Post 80367)
Well, I'd suggest you do the same as itsme did at first : release it privately.
Either vet users through PMs or something before sending it, instead of making it publicly available.
Btw itsme, if there's still a way to get a current l4 version, hit me up.

Sorry, but I don't really have time to answer 30 private messages per day from people asking for a download link. There's also no point in doing that. There's no difference between posting a public download link and telling everybody that they can private message me to get the download link.

Btw, it seems to work again now. cam4 really has no idea what they want :rolleyes:
Enjoy the download tool as long as it keeps on working :)

rastamanx 10-07-2015 01:32 PM

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


 
Quote:

Originally Posted by Elgero (Post 80376)
Btw, it seems to work again now. cam4 really has no idea what they want :rolleyes:

Yeah, it kinda broke compatibility with chrome, so I guess they rolled back. Couldn't watch cams logged in yesterday.

Elgero 10-08-2015 10:08 AM

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


 
That's other proof what a crapfest that webcam site is. If you have a website that you use to make money and has well over 100.000 visitors per day, then don't just implement updates, but first make sure they work properly in all major browsers. They're just hurting their own business... not that I care.

It seems that preventing people from downloading webcam streams is much more important to cam4 than providing paying customers with a good working website. They're wasting their time and money, because if people have access to the public webcam streams, then they can download/record them. It's a cat and mouse game they can never win, because every hobbyist programmer with some rtmp protocol knowledge can bypass the protection (LOL) with some spare time. In the end all you have to do is send the exact same data to the server as your browser does and you can download the webcam streams. They've beaten me though. I can't be bothered to spend time on patching cam4cmdline every week.

wizard 10-09-2015 06:18 AM

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


 
Quote:

Originally Posted by Elgero (Post 80401)
That's other proof what a crapfest that webcam site is. If you have a website that you use to make money and has well over 100.000 visitors per day, then don't just implement updates, but first make sure they work properly in all major browsers. They're just hurting their own business... not that I care.

It seems that preventing people from downloading webcam streams is much more important to cam4 than providing paying customers with a good working website. They're wasting their time and money, because if people have access to the public webcam streams, then they can download/record them. It's a cat and mouse game they can never win, because every hobbyist programmer with some rtmp protocol knowledge can bypass the protection (LOL) with some spare time. In the end all you have to do is send the exact same data to the server as your browser does and you can download the webcam streams. They've beaten me though. I can't be bothered to spend time on patching cam4cmdline every week.

Just try not to get upset to much with them ;)

atrust 10-16-2015 11:10 PM

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


 
Quote:

Originally Posted by Elgero (Post 80169)
New version. No source code.

http://upstore.net/ERmVGCe

Read included README.txt file to see how to use the application.

Changes:

Code:

.NET Framework 4.0 isn't required anymore. At least .NET Framework 2.0 is required now.
Fixed a small bug that prevented the console window from closing when a download had finished.
File buffer is now flushed properly when closing the console window.



hi, Elgero
Would you please upload the version of cam4cmdline you posted on 09-28-2015 again?
I want to study about that.
Many many thanks!!

Sly35 10-18-2015 11:10 AM

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


 
Quote:

Originally Posted by atrust (Post 80581)
hi, Elgero
Would you please upload the version of cam4cmdline you posted on 09-28-2015 again?
I want to study about that.
Many many thanks!!

File is not available.


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