Audio/video stream recording forums

Attention Visitor:
You may have to register or log in before you can post:
  • Click the register link to sign up.
  • Registered members please fill in the form below and click the "Log in" button.
To start viewing messages, select the forum that you want to visit from the selection below.

Go Back   Audio/video stream recording forums > Streaming media recording forum > Video stream recording (Adult streaming videos)
Register FAQ Members List Calendar Mark Forums Read

Reply Post New Thread
 
Thread Tools Display Modes
  #821  
Old 05-06-2017, 03:21 AM
antihero antihero is offline
Junior Member
 
Join Date: Jun 2012
Posts: 22
antihero is on a distinguished road
Default

Re: www.myfreecams.com: How can I record free sex web-cam chat (rtmp:// .flv)


Quote:
Originally Posted by horacio View Post
In my opinion, it would be necessary to analyze the python script ...
the python script gets the JSON model data directly from the websocket-server - thats the big different to all the other MFC recorders!

Code:
              server = 0
        print(" => Connecting to MFC Server <= ")
        print ""
        try:
                xchat = [ 7, 8, 9, 10, 11, 12, 13, 14, 15, 16, 17, 18, 19, 
                          20, 22, 23, 24, 25, 26, 27, 28, 29, 30, 31, 32, 
                          33, 34, 35, 36, 39, 40, 41, 42, 43, 44, 45, 46, 
                          47, 48, 49, 56, 57, 58, 59, 60, 61 
                         ]
                host = "ws://xchat"+str(random.choice(xchat)) + ".myfreecams.com:8080/fcsl"
                ws = create_connection(host)
                ws.send("hello fcserver\n\0")
                ws.send("1 0 0 20071025 0 guest:guest\n\0")
        except:
                print(colored(" => We're fucked <= ", 'yellow', 'on_red'))
                sys.exit()
        rembuf = ""
        quitting = 0
        while quitting == 0:
                sock_buf =  ws.recv()
                sock_buf = rembuf+sock_buf
                rembuf = ""
                while True:
                        hdr = re.search (r"(\w+) (\w+) (\w+) (\w+) (\w+)", sock_buf)
                        if bool(hdr) == 0:
                                break

                        fc = hdr.group(1)

                        mlen = int(fc[0:4])
                        fc_type = int(fc[4:])

                        msg = sock_buf[4:4+mlen]

                        if len(msg) < mlen:
                                rembuf = ''.join(sock_buf)
                                break

                        msg = urllib.unquote(msg)

                        if fc_type == 1:
                                ws.send("10 0 0 20 0 %s\n\0" % camgirl)
                        elif fc_type == 10:
                                read_model_data(msg)
                                quitting = 1

                        sock_buf = sock_buf[4+mlen:]

                        if len(sock_buf) == 0:
                                break
        ws.close()
Reply With Quote
  #822  
Old 05-06-2017, 06:08 AM
horacio horacio is offline
Senior Member
 
Join Date: Oct 2012
Posts: 213
horacio is on a distinguished road
Default

Re: www.myfreecams.com: How can I record free sex web-cam chat (rtmp:// .flv)


Quote:
Originally Posted by antihero View Post
the python script gets the JSON model data directly from the websocket-server - thats the big different to all the other MFC recorders!
Many thanks for your analysis @antihero. Can this method be applied to other similar recorders like yours camgirlzREC?
Reply With Quote
  #823  
Old 05-06-2017, 09:17 AM
John1915 John1915 is offline
Junior Member
 
Join Date: May 2017
Posts: 8
John1915 is on a distinguished road
Default

Re: www.myfreecams.com: How can I record free sex web-cam chat (rtmp:// .flv)


I'm at home now and will start working on my little app. I'm gonna have a better look at the script posted to see if i can find a faster way for doing this.

Just to be clear:
I pulled ALL the data I could find because I thought that's what mfmax and horacio were looking for. I personally made my own "mfc recorder" last week, but because it was supposed to run 24/7 on a NAS, there was no need for a gui and pulling anything aside from name, uid, camserv and vs. If you only want data that's "relevant", I totally agree that my OnlineModels app is currently displaying way too much unnecessary stuff. I can change that easily, would just have to know what people would actually like to have it output and what could be discarded.

UPDATE:
I got this to "work", but am not very happy with the result, so I'll keep looking.
It has reduced the time per model to ~250ms from ~350ms. That's an improvement but still a far cry from refreshing within the matter of seconds.

Last edited by John1915 : 05-06-2017 at 10:21 AM. Reason: update
Reply With Quote
  #824  
Old 05-06-2017, 10:32 AM
John1915 John1915 is offline
Junior Member
 
Join Date: May 2017
Posts: 8
John1915 is on a distinguished road
Default

Re: www.myfreecams.com: How can I record free sex web-cam chat (rtmp:// .flv)


Quote:
Originally Posted by horacio View Post
Many thanks for your analysis @antihero. Can this method be applied to other similar recorders like yours camgirlzREC?
From what I could tell camgirlzREC also doesn't pull the additional data from each model, only the "original list", like OnlineModels-0.1 does.
I'm guessing that it would just take too long to get all the data, since nobody(?) has found a way yet to speed this process up fast enough. As i said before, it could be accomplished by using a cache and loading the additional info when the app is already running. It's just a question if it's even worth the effort, because most people won't use the recorder app to find new models anyways but rather browse the website and then add models by name or id, please correct me if I'm wrong, but at least that's how I would do it.
Reply With Quote
  #825  
Old 05-06-2017, 10:35 AM
SoCalGuy82 SoCalGuy82 is offline
Junior Member
 
Join Date: May 2017
Posts: 1
SoCalGuy82 is on a distinguished road
Default

Re: www.myfreecams.com: How can I record free sex web-cam chat (rtmp:// .flv)


Quote:
Originally Posted by antihero View Post
camgirlzREC 1.1.1

changelog:
# when you close the app, all recordings will be stopped

downloads: (ffmpeg and ffmplay included)
win32: http://www28.zippyshare.com/v/U1GdElQ6/file.html
win64: http://www94.zippyshare.com/v/RxnrJ6nL/file.html

exe only: http://www25.zippyshare.com/v/AXE0J4Zy/file.html
Will you be releasing a version for Mac OS X?
Reply With Quote
  #826  
Old 05-06-2017, 11:13 AM
antihero antihero is offline
Junior Member
 
Join Date: Jun 2012
Posts: 22
antihero is on a distinguished road
Default

Re: www.myfreecams.com: How can I record free sex web-cam chat (rtmp:// .flv)


Quote:
Originally Posted by John1915 View Post
From what I could tell camgirlzREC also doesn't pull the additional data from each model, only the "original list", like OnlineModels-0.1 does.

I'm guessing that it would just take too long to get all the data, since nobody(?) has found a way yet to speed this process up fast enough.
Yes, I'm parsing the data from this url:
'http://www.myfreecams.com/php/FcwExtResp.php?' + fileno

I think there is also a fast way, to get the data from all models at once from the websockset server. But i don't know how to do it...

mfc-node 2.0 (https://github.com/sstativa/mfc-node/releases) parse the data of all models in about 2 sec.

Quote:
mfc-node
List of changes:

WebSocket was replaced by MFCAuto package (with a recent update on myfreecams servers, it is hard to get data such as age, city, country, etc. by using WebSocket connection, however MFCAuto knows how to retrieve this data)
MFCAuto: https://github.com/ZombieAlex/MFCAuto
Reply With Quote
  #827  
Old 05-06-2017, 01:56 PM
John1915 John1915 is offline
Junior Member
 
Join Date: May 2017
Posts: 8
John1915 is on a distinguished road
Default

Re: www.myfreecams.com: How can I record free sex web-cam chat (rtmp:// .flv)


Quote:
Originally Posted by antihero View Post
mfc-node 2.0 (https://github.com/sstativa/mfc-node/releases) parse the data of all models in about 2 sec.
First of all, Thank You! for bringing this to my attention!
I downloaded and ran mfc-node but unfortunately, this is the result, that i got:



It seems like the latest MFC update did also affect this script.
For now, i will make the download of additional data optional via command line argument and handle it on a per model basis. IMHO the information you get from the standard query should be enough for 99% of use cases, and the people who NEED that extra data, should be okay with having to wait 5-10 minutes for it to be downloaded. (like I mentioned, caching this data and only pulling it for newly signed in models should give you refresh times of ~5 seconds while having this extra bit of information)
Reply With Quote
  #828  
Old 05-06-2017, 05:57 PM
John1915 John1915 is offline
Junior Member
 
Join Date: May 2017
Posts: 8
John1915 is on a distinguished road
Default

Re: www.myfreecams.com: How can I record free sex web-cam chat (rtmp:// .flv)


Here is version 0.2 of OnlineModels:

OnlineModels-0.2.4.exe
http://www76.zippyshare.com/v/h9kXsNwh/file.html
OnlineModels-0.2.4-source.zip
http://www76.zippyshare.com/v/Ej03YuG7/file.html

Changes:
- you can download additional data over the websocket query by starting "OnlineModels-0.2.4.exe all" (usually takes around 8 minutes)
- additional data is: msg, age, blurb, chat_bg, city, country, ethnic, occupation, kbit, lastnews, mg, missmfc
- starting the program without the "all" parameter will output a file similar to version 0.1
- there is some more useful output in the console (progress when downloading additional data; total time needed)
- some "under the hood" changes to make the code less shitty
- added some javadoc entries and comments to enhance readability

Plans for version 0.3:
- add txt output
- add functionality to select output data (e.g.: only output name, userid, topic and download url)

If you have any recommendations/bug reports/feature requests, feel free to contact me either via pm or by replying in this thread.
Reply With Quote
  #829  
Old 05-06-2017, 06:25 PM
supersonic80 supersonic80 is offline
Senior Member
 
Join Date: Mar 2016
Posts: 138
supersonic80 is on a distinguished road
Default

Re: www.myfreecams.com: How can I record free sex web-cam chat (rtmp:// .flv)


Quote:
Originally Posted by John1915 View Post
First of all, Thank You! for bringing this to my attention!
I downloaded and ran mfc-node but unfortunately, this is the result, that i got:
There are two versions of the script, the "master" version was affected by recents changes, however "v2" version (can be found in releases) uses MFCAuto package which returns "extended" data.

I don't know to much about MFCAuto, but in my opinion it extract basic data then collect additional data by monitoring changes and adding them to the list of the models (but this is slow process).
Reply With Quote
  #830  
Old 05-06-2017, 07:01 PM
horacio horacio is offline
Senior Member
 
Join Date: Oct 2012
Posts: 213
horacio is on a distinguished road
Default

Re: www.myfreecams.com: How can I record free sex web-cam chat (rtmp:// .flv)


Quote:
Originally Posted by John1915 View Post

Changes:
- you can download additional data over the websocket query by starting "OnlineModels-0.2.4.exe all" (usually takes around 8 minutes)
- additional data is: msg, age, blurb, chat_bg, city, country, ethnic, occupation, kbit, lastnews, mg, missmfc
- starting the program without the "all" parameter will output a file similar to version 0.1
- there is some more useful output in the console (progress when downloading additional data; total time needed)
- some "under the hood" changes to make the code less shitty
- added some javadoc entries and comments to enhance readability

Plans for version 0.3:
- add txt output
- add functionality to select output data (e.g.: only output name, userid, topic and download url)

If you have any recommendations/bug reports/feature requests, feel free to contact me either via pm or by replying in this thread.
OnlineModels-0.2.4.exe working fine. Now, I'm clear why we should wait about 8 minutes if they want to have all the data.
Many thanks for accepting my proposal about the file name. I'm very glad what you're planning for version 0.3 so for now I do not have any extra requirement.
In version 0.3, everyone can choose exactly the data they are interested in, even in plain text file, thats super!
Reply With Quote
Reply Post New Thread
Tags: , , , , , , , , , , , , ,



Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Forum Jump


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


Powered by All-streaming-media.com; 2006-2011
vB forum hacked with Zoints add-ons