Audio/video stream recording forums
|
| Attention Visitor: |
You may have to register or log in before you can post:
|
|
|||||||
|
|
|
Thread Tools | Display Modes |
|
#741
|
|||
|
|||
Re: www.myfreecams.com: How can I record free sex web-cam chat (rtmp:// .flv)Quote:
Thanks! I will try it. |
|
#742
|
|||
|
|||
Re: www.myfreecams.com: How can I record free sex web-cam chat (rtmp:// .flv)Quote:
We look forward to it! Looks like a really amazing job. ![]() |
|
#743
|
|||
|
|||
Re: www.myfreecams.com: How can I record free sex web-cam chat (rtmp:// .flv)Looks awesome so far, looking forward to giving it a try once you release it. Will it record the HD feeds from MFC? MFCRecorder did not do that.
|
|
#744
|
|||
|
|||
Re: www.myfreecams.com: How can I record free sex web-cam chat (rtmp:// .flv)Hi all,
I'm an experienced developer and have recently got the source code to the MFCRecorder app but as most of you are aware it's stopped working due to changes in how MFC exposes the json containing the models list. I've had a look over the mfc-node project and it seems that they have changed the URL and fileno parameters required to get this file. So, as before you have to connect to the URL: ws://xchat20.myfreecams.com:8080/fcsl via a socket and sens the usual handshaking stuff but instead of looking for fileno in the response there are now four params: - respkey,type,opts & serv Also, the url containing the models JSON is: - http://www.myfreecams.com/php/FcwExtResp.php? with the above params appended via the query string. BUT, even with these changes I get a 404 when trying to download the models JSON via the C# code. Does anyone have any ideas what I'm missing, do I need to include some cookie etc. Any help is much appreciated!!! |
|
#745
|
|||
|
|||
Re: www.myfreecams.com: How can I record free sex web-cam chat (rtmp:// .flv)Hey guys, why all that? Just use the nice "pay" Tool tubedigger.
http://www.tubedigger.com/ Here is a Video how nice this works https://my.pcloud.com/publink/show?c...oPR93Pl8fg74pV |
|
#746
|
|||
|
|||
Re: www.myfreecams.com: How can I record free sex web-cam chat (rtmp:// .flv)Have you tried to open your URL in the browser? I don't think it is cookies, because I've just copied the url from Chrome and successfully opened in Safari.
Quote:
|
|
#747
|
|||
|
|||
Re: www.myfreecams.com: How can I record free sex web-cam chat (rtmp:// .flv)Quote:
People are doing things here that my brain burns as I read it and trying to understand. That is why this is the best forum on the net, do not disturb us even hundreds of spambots ![]() |
|
#748
|
|||
|
|||
Re: www.myfreecams.com: How can I record free sex web-cam chat (rtmp:// .flv)re: supersonic80's post....
I used fiddler to get the URL that the mobile site uses to get the models JSON and when I pasted into a browser (chrome) I got a 404... http://www.myfreecams.com/php/FcwExt...=1493199950826 ?? |
|
#749
|
|||
|
|||
Re: www.myfreecams.com: How can I record free sex web-cam chat (rtmp:// .flv)Have you seen the MyFreeCams plugin in Streamlink? Maybe it will help ...
Code:
import json
import random
import re
from streamlink.plugin import Plugin
from streamlink.plugin.api import http
from streamlink.stream import HLSStream
try:
from websocket import create_connection
HAS_WEBSOCKET = True
except ImportError:
HAS_WEBSOCKET = False
DATA_URL = "https://www.myfreecams.com/php/FcwExtResp.php?respkey={respkey}&type={type}&opts={opts}&serv={serv}"
HLS_VIDEO_URL = "http://video{0}.myfreecams.com:1935/NxServer/ngrp:mfc_{1}.f4v_mobile/playlist.m3u8"
WEBSOCKET_SERVERS = [7, 8, 9, 10, 11, 12, 20, 22, 23, 24, 25, 26, 27, 28, 29, 39]
_session_re = re.compile(r'''\04522opts\04522\:(?P<opts>\d+),\04522respkey\04522\:(?P<respkey>\d+),\04522serv\04522\:(?P<serv>\d+),\04522type\04522\:(?P<type>\d+)''')
_url_re = re.compile(r"https?\:\/\/(?:\w+\.)?myfreecams\.com\/(?:\#(?P<username>\w+)|id\=(?P<user_id>\d+))")
# USERNAME URL = https://www.myfreecams.com/#UserName
# CUSTOM ID URL = https://www.myfreecams.com/id=01234567
class MyFreeCams(Plugin):
@classmethod
def can_handle_url(cls, url):
return _url_re.match(url)
def _get_streams(self):
match = _url_re.match(self.url)
username = match.group("username")
user_id = match.group("user_id")
if not HAS_WEBSOCKET:
self.logger.error("websocket-client is not installed")
self.logger.info("You can install it with:")
self.logger.info("pip install websocket-client")
self.logger.info("https://pypi.python.org/pypi/websocket-client")
return
# https://www.myfreecams.com/_js/serverconfig.js
xchat = "xchat{0}".format(random.choice(WEBSOCKET_SERVERS))
ws_host = "wss://{0}.myfreecams.com/fcsl".format(xchat)
ws = create_connection(ws_host)
# https://www.myfreecams.com/js/wsgw.js
# https://www.myfreecams.com/js/FCS.js
send_msg_hello = "hello fcserver\n\0"
# FCTYPE_LOGIN = 1
send_msg_login = "1 0 0 20071025 0 guest:guest\n\0"
send_msg_ping = "1 0 0 0 0\n\0"
# FCTYPE_LOGOUT = 99
send_msg_logout = "99 0 0 0 0"
ws.send(send_msg_hello)
ws.send(send_msg_login)
loop_number = 0
status_regex = False
while status_regex is not True:
if loop_number is 20:
# quit script after 20 trys
self.logger.error("Is your connection ok?")
return
# send message to the websocket server
ws.send(send_msg_ping)
data_ws = ws.recv()
try:
mfc_session = _session_re.search(data_ws)
data_opts = mfc_session.group("opts")
data_respkey = mfc_session.group("respkey")
data_serv = mfc_session.group("serv")
data_type = mfc_session.group("type")
if mfc_session is not None:
status_regex = True
except:
loop_number += 1
self.logger.debug("-- RESEND WEBSOCKET DATA -- {0} --".format(loop_number))
ws.send(send_msg_logout)
ws.close()
if username:
re_uid = r"\d+"
re_username = username
elif user_id:
re_uid = int(user_id)
re_username = r"\w+"
# regex for http data
_data_channel_re = re.compile(r'''
\133(?:\s+)?(["'](?P<username>{0})["']\,?\d+,(?P<uid>{1})[^\135]+)\135
'''.format(re_username, re_uid), re.VERBOSE | re.IGNORECASE)
# get data from http server
cookies = {"cid": "3149", "gw": "1"}
res = http.get(DATA_URL.format(
opts=data_opts,
respkey=data_respkey,
serv=data_serv,
type=data_type
), cookies=cookies)
data_channel = _data_channel_re.search(res.text)
data_channel = data_channel.group(0)
data_channel = json.loads(data_channel)
# data_channel[0] "nm"
# data_channel[1] "sid"
# data_channel[2] "uid"
# data_channel[3] "vs"
# data_channel[4] "pid"
# data_channel[5] "lv"
# data_channel[6] "camserv"
if not data_channel:
# abort if the regex can't find the username
self.logger.error("Stream is offline or username/user_id is invalid")
return
username = data_channel[0]
uid = int(data_channel[2])
uid_video = uid + 100000000
vs = int(data_channel[3])
camserver = int(data_channel[6])
self.logger.info("USER ID: {0}".format(uid))
self.logger.info("USERNAME: {0}".format(username))
self.logger.debug("VIDEO STATUS: {0}".format(vs))
if vs is 0:
# FCVIDEO_TX_IDLE = 0
if camserver >= 840:
server = camserver - 500
elif camserver < 839:
server = 0
if server:
hls_url = HLS_VIDEO_URL.format(server, uid_video)
self.logger.debug("HLS URL: {0}".format(hls_url))
for s in HLSStream.parse_variant_playlist(self.session, hls_url).items():
yield s
__plugin__ = MyFreeCams
|
|
#750
|
|||
|
|||
Re: www.myfreecams.com: How can I record free sex web-cam chat (rtmp:// .flv)Hmm...
I used Developers Tools in Chrome and the link worked perfectly, however my link did not have this param '_=1493199950826' Quote:
|
|
| Thread Tools | |
| Display Modes | |
|
|