Linux - GeneralThis Linux forum is for general Linux questions and discussion.
If it is Linux Related and doesn't seem to fit in any other forum then this is the place.
Notices
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
I appologize if a similar topic has been posted before.
I have a problem recording a Windows Media Audio 9 stream with mplayer. The issue seems to happen only with some Windows Media Audio 9 streams and not with others.
For example, I have tried to record streams from the following radio stations, both streaming Windows Media Audio 9:
1) http://64.34.147.109:3690/CFMJAM -- does not work
2) http://ccri.eonstreams.com/ccri_ne_omaha_kfab_am.asf -- works
When I try to record the first stream with mplayer, I get a dump of the stream, but then I cannot play it in Windows Media Player. On the contrary, if I try to record the second stream, Windows Media Player is able to play the file. I am using the same command for both stations:
Can you tell me if you have the same issue with the above stream. Also, I'd like to know if any1 knows of another way I can record the stream without using mplayer or maybe how I can properly record a playable file with mplayer.
For those of you interested, here is the solution:
I realized that the mime-type of the stream that wasn't recorded properly was not recognized. It has a mime-type "application/x-mms-framed", while the stream that I am able to record has a mime-type "video/x-ms-asf". Looking in mplayer's source code (libmpdemux/network.c), I noticed that "video/x-ms-asf" is in the mime-type table and "application/x-mms-framed" was not. So what I had to do is simply add the new mime-type and recompile. Now, the code for mime_type_table looks like:
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.