Audio/video stream recording forums
|
Attention Visitor: |
You may have to register or log in before you can post:
|
|
|
Thread Tools | Display Modes |
#821
|
|||
|
|||
Re: www.myfreecams.com: How can I record free sex web-cam chat (rtmp:// .flv)Quote:
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() |
#822
|
|||
|
|||
Re: www.myfreecams.com: How can I record free sex web-cam chat (rtmp:// .flv)Many thanks for your analysis @antihero. Can this method be applied to other similar recorders like yours camgirlzREC?
|
#823
|
|||
|
|||
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 |
#824
|
|||
|
|||
Re: www.myfreecams.com: How can I record free sex web-cam chat (rtmp:// .flv)Quote:
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. |
#825
|
|||
|
|||
Re: www.myfreecams.com: How can I record free sex web-cam chat (rtmp:// .flv)Quote:
|
#826
|
|||
|
|||
Re: www.myfreecams.com: How can I record free sex web-cam chat (rtmp:// .flv)Quote:
'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:
|
#827
|
|||
|
|||
Re: www.myfreecams.com: How can I record free sex web-cam chat (rtmp:// .flv)Quote:
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) |
#828
|
|||
|
|||
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. |
#829
|
|||
|
|||
Re: www.myfreecams.com: How can I record free sex web-cam chat (rtmp:// .flv)Quote:
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). |
#830
|
|||
|
|||
Re: www.myfreecams.com: How can I record free sex web-cam chat (rtmp:// .flv)Quote:
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! |
Thread Tools | |
Display Modes | |
|
|