Learn how to download or rip any Samurai.FM stream as m4a and convert the m4a to mp3.
Samurai.FM hosts all the audio files in the m4a file format and streams them through the RTMP protocol. To find the rtmp stream URL you need an advanced network sniffer. To download the m4a audio file hosted at such a rtmp stream URL you need a downloaded tool that supports the rtmp protocol. Both these functions are combined in one great program already, CooJah 6. Make sure to carefully read this little post on how to install and configure CooJah 6 as unfortunately its InstallShield is in Chinese. Don't start to worry now! The graphical user interface is entirely in English.
After you have installed and configured CooJah 6 go to Samurai.FM and sniff your first Samuraif.FM rtmp stream URL. In this example I am going to use Tanith's set at Tresor from 16th Feb 2011. Go to that page or any other page on Samurai.FM from where you would like to download music.
Now run CooJah 6 and start sniffing your network traffic. Then hit the red play button on the Samurai.FM page. You will see the rtmp stream URL appearing immediately in CooJah 6.
That is it for the first step already! As you can see the URL starts with rtmp.
Download Samurai.FM RTMP Stream
Now all that is left to do is right-click on the rtmp stream URL found by CooJah 6 and select Download by Blader, the integrated download tool.
Blader will now open with the New Task window. There you can select the download path and rename the audio file if you like. Make sure not to change the filename extension and leave Download live video unchecked. What I like to point out here is that you can see the entire request header. This is an truly awesome feature and very important if you like to write your own command line for RTMPDump.
Once you have selected the download path and chosen a filename hit OK and Blader will start downloading the audio stream directly from Samurai.FM.
Convert M4A To MP3
Once the m4a file is downloaded you can convert it to a mp3 audio file. There are many free and unfortunately crappy tools to do this. Therefore I highly recommend using the excellent WinFF for this purpose. WinFF is a program with graphical user interface that uses FFMpeg, a command line tool to convert multimedia files between formats. Since most of you don't like dealing with command lines use WinFF. You can download WinFF from here. WinFF is really easy to use and very powerful as it has a lot of options for tweaking conversions to your desired results.
Once downloaded and installed in WinFF click on Add to select the m4a file you downloaded with Blader. For Output Details select Audio in the Convert to: drop down menu and MP3 in the Preset: drop down menu. Last not least select your Output Folder. Now hit convert and let WinFF do its job.
A command window will open and show you the details about the conversion. Once finished it will ask you to hit any key to close that command window.
You can now enjoy your perfectly converted mp3 downloaded from Samurai.FM and converted with WinFF anywhere and anytime you like.
Hopefully you have enjoyed this little insight to Samurai.FM and can now download all the podcasts, mixes or sets that you like without any restrictions. If you find a mix that you have problems downloading drop me a comment and I will help you find the right rtmp stream URL.