Hey davll I know exactly how to record MFC streams using Linux. Here are detailed instructions on how I record MFC streams. Keep in mind that I will be showing you how I record MFC streams and if for some reason my way doesn't exactly work the way that you would like it to then tough s&%t. Please don't waste your time asking me any additional questions because I won't be able to help you. I use Debian Jessie in conjunction with the following programs installed:
1. tcpdump
2. rtmpSnoop
3. livestreamer
Get rtmpSnoop from github tcpdump and livestreamer I assume you have those already installed by now.
Follow these steps:
1.right before entering a cam show I start tcpdump in the terminal as root.
tcpdump -w camhoe.tcpdump -s 0 -i eth0
This creates a pcap like file named "camhoe" in the home directory. Replace eth0 with wlan0 if you are using wifi.
2. Right after running the command shown in step 1 click and enter the cam show you want to record. Let your web browser finishing loading wait 5 or 10 seconds and close the terminal that is running tcpdump. Now you should have a .tcpdump file labeled "camhoe" in your home directory which you will use in the next step.
3. Analyze the camhoe.tcpdump file with rtmpsnoop in the terminal as root. First cd to the directory that rtmpsnoop is located. I use this command as root:
./rtmpSnoop.py -f '/home/bostonkid9096/camhoe.tcpdump'
if you forgot to chmod +x rtmpSnoop.py so that it is executable then run:
python rtmpSnoop.py -f '/home/bostonkid9096/camhoe.tcpdump'
once that is successfuly completed you will see something like this in your terminal:
Reading packets from dump file '/home/bostonkid/camhoe.tcpdump'...
* RTMP Stream found!
*************************************
url: rtmp://video467.myfreecams.com:1935/NxServer/mp4:mfc_114220501.f4v
app: NxServer
pageUrl:
http://www.myfreecams.com/mfc2/stati...&t arget=main
swfUrl:
http://www.myfreecams.com/mfc2/flash/MfcVideo150223.swf
tcUrl: rtmp://video467.myfreecams.com:1935/NxServer
playPath: mp4:mfc_114220501.f4v
flashVer: LNX 18,0,0,233
extra: N:105863501 S: N:114220501 S

OWNLOAD N:14220501
3. Using livestreamer we can record and save the stream. This next step is important so pay attention:
remove rtmp from the tcUrl and replace with hlsvariant. Also you need to take just: mfc_114220501.f4v from the playPath and add it to the end of the tcurl. It should look like this:
Tcurl before your adjustment:
rtmp://video467.myfreecams.com:1935/NxServer
Tcurl after your adjustment + adding the playPath at the end
hlsvariant://video467.myfreecams.com:1935/NxServer/mfc_114220501.f4v_aac
Finally you need to add /playlist.m3u8 at the end the tcurl. The final tcurl product that will be used with livestreamer will look exactly like this:
"hlsvariant://video467.myfreecams.com:1935/NxServer/mfc_114220501.f4v_aac/playlist.m3u8"
Take your newly adjusted tcurl and run it with livestreamer to save and record the show. livestreamer will allow you to choose to record the cam show using best quality or worst. Here is the commands for both.
High Quality run:
livestreamer "hlsvariant://video467.myfreecams.com:1935/NxServer/mfc_114220501.f4v_aac/playlist.m3u8" best -o moviename.ts
Low Quality recording run:
livestreamer "hlsvariant://video467.myfreecams.com:1935/NxServer/mfc_114220501.f4v_aac/playlist.m3u8" worst -o moviename.ts
Final product is moviename.ts which can be converted to mp4 or avi format if necessary. Otherwise vlc can play it as is without any problems.
Good Luck