ffmpeg: Free Software's WMA decoder
mmu_man writes "This morning, after the usual spams, I got this from the ffmpeg-devel mailing list:
Here it is, something we waited for long. Now we have a FreeSoftware (LGPL) WMA (Windows Media Audio) decoder. WMA is the highly proprietary audio codec M$ is pushing along with its user-locking tools like DRM. this will free us from the ugly DLL hacks required to play DivX until now.
Note there isn't any encoder yet, but who would like to encode into WMA while we have better and more open solutions?
With this new codec, ffmpeg really proves itself as the most complete audio/video grabbing, convertion and streaming solution, for Linux, but also FreeBSD, Windows and even BeOS. Note ffmpeg codecs are used in a lot of other FreeSoftware projects, like mplayer."
...MS decide this is illegal and start suing? I mean, clearly there's the whole DMCA thing. Does this decoder ignore MS's DRM system? I would have read the article, but I don't speak C...
Real Daleks don't climb stairs - they level the building.
Sure, I'm all in favour of being able to play more movies on my linux system - even though I'm unlikely to own (m)any wmv movies...
But my question is how legal is this?
What is to stop MS attacking open source in the same way as RIAA attacked - and closed - napster?
yes, yes, one is a concept, the other is a program - but RIAA wants to make ANY file sharing program which is similar to napster illegal, and their certainly making progress toward that goal...
If a percentage of open source developers ignore the law - such as a percentage of napster users did - whats going to happen in the future?
I remember someone mentioning in an earier discussion that the WMA encoder fooled many people into thinking their encoded audio sounded "better" by applying a compressor/dynamics (6:1 ratio was it?), leaving the dynamic range 'squished' and making music sound louder (which isn't really "better"). Can anybody confirm this?
If an open version of a WMA encoder is released, it would be interesting to see how it would perform versus the MS encoder in this respect.
--
Maciek
-- Maciek
Could someone explain what WMA has to do with Divx?
Unfortunately, how long will it be before MS "improves" WMA encoding now? I think it is an unsafe target decoding MS files as they can change everything and you are back to development.
However, with MS new licensing and the fact that most tools are fairly robust. You might grab share if you can record and playback. Though with examples like Star Office I wonder how much grabbing you would do.
Does this decode the latest version of WMA files? What does it do about/with the DRM component of such files? And in consideration of this, will MS use the DCMA (or some "you must have agreed to the EULA not to reverse engineer if you've ever downloaded a WMA file in your life" argument) to shut this effort down?
Can this source code be subjected to DMCA?
Can its author be sued for reverse engineering?
Is it planned that DRM features will be added at some point, or the above applies..
have you been defaced today?
I'm sure I remember a /. article from someone who was closed down by Microsoft (read: sent threatening letters) for attempting to produce a WMA decoder. The argument then was that the WMA format was covered by various patents.
What's to stop the same thing happening to this one?
Are they sure that this isn't covered by a patent? I remember almost two years ago that VirtualDub had to remove support for ASF files because Microsoft had a patent on some part of it. The VirtualDub guys just removed support rather than fight MS. I hope this doesn't turn out to be the same situation.
Prevent email address forgery. Publish SPF records for y
A while ago I was going to switch all my WMAs over to MP3 format (Acid doesn't like WMAs as input), but when I went into Nero (which can decode/encode multiple files with one command) it said that it's not allowed to decode WMA files - something about Microsoft saying it's bad.
Have any of you seen this?
I [may] disapprove of what you say, but I will defend to the death your right to say it.
The only pitty is that there are no real stable interfaces to the library, which makes a lot of projects to statically link the libraries :(
:X Oh well, that's what makes life (and coding) interesting of course ;) -and trying to capture possible problems with m4 macros >:)-
We changed the upstream sources a bit to provide libavcodec and libavformat as shlibs and started using dynamic linking.
As long as ppl use the sources provided with the debs and compile, no problem, but it's hacking time again when someone gets a CVS release
Genius doesn't work on an assembly line basis. You can't simply say, "Today I will be brilliant."
I'm afraid that a free WMA decoder promotes Microsoft standards, instead of promoting the use of open standards.
I think it would actually be better to never make anything else than OGG decoders to conquer the push from software giants.
Also, would be nice if you linked up to www.xvid.org, that also is free.
I don't want to start a flame war there but did you know that:
* FFmpeg was started by a french group (maybe just a french guy)
* DivX was invented by a french guy
* another beautiful player, VideoLAN, is made by a French group
As the french say, "we might not have petrol in France, but we have ideas".
Artaxerxes
With all the discussion of is this or isn't this a patent/lawsuit problem, it seems an important question is being missed. How did they make the (co)dec? The article itself doesn't mention it and short of digging into their dev site, I don't know how to figure that out. Anyone involved with the project care to share?
I can think of two very different ways to get at it. Try and dig the decoder out of MS code or give it a bunch of training files and tweak the decoder until it sounded right. (ouch that sounds like a painful project) If the latter, then I don't really see how there could be any sort of lawsuit issues, unless there's a EULA problem (can't use WMP in developing competing software or something). It's a bit reminiscent of the Samba approach. Also, without a encoder, (IANAL) you shouldn't run into problems even if the wma format itself is patented.
No, that would not fit into your "the GPL is a Communist conspiracy" theory. In fact the GPL is put on code for extremely selfish reasons that would make Ayn Rand proud.
Winamp Plugin.
Using this library to build a standalone WMA decoder plugin that doesn't use the system libraries (and hence, isn't obnoxious about where it will output too) would be really really nice, especially after MS told Nullsoft to cripple their system library one.
Actually, an interesting thing I noticed the other day, is that a bunch of divx's are being released with downsampled or original AC3 tracks, so if you have alsa and a spdif capable soundcard (cmi, fm801), you can get dolby goodness. A websearch indicates they were probably encoded with a patched version of nandub. mplayer handles this great to: mplayer -ao alsa9 -ac hwac3 .avi
Of course, if you don't have all that, mplayer will happily do the AC3 decoding and output regular audio.
fnord.