[MPlayer-dev-eng] [PATCH] Winamp input plugin support (e.g., mp3pro)

Jörg Walter jwalt at garni.ch
Thu Oct 14 21:15:02 CEST 2004


Hi!

I've written an audio decoder plugin which loads winamp input plugins. This 
finally allows you to listen decently to those pesky internet radios who 
still don't get that mp3pro is a bad choice.

Get it at http://cvs.garni.ch/viewcvs/MPlayer-Winamp/
(cvs pserver not working, sorry. something is broken.)

I've in fact only tested it with Thomson's mp3pro winamp plugin, nothing else.
But it works great - didn't encounter any real problems, it's maybe a litle 
slow when loading the plugin.

It works similar to the xmms-winamp plugin, spawning a subprocess and 
communicating with it via pipes. This means you need a full wine installation 
with devel files, and that's why loading it is slow. This was the easiest 
alternative, as Winamp-Plugins are always using multithreading and are doing 
their own file I/O- you can't feed them data through direct calls or 
callbacks, they are doing their own file open/socket stuff. In this plugin, 
the subprocess plays from a named pipe created by the parent process.

I do not plan to update this code, as it does it's job for me: play internet 
streams nicely. But if you want to include it, I'd gladly assist if problems 
arise.

P.S.: I don't want to announce it on -users, as building the plugin is not for 
the uninitiated. Wine is a little picky in who is it's friend.

-- 
CU
  Joerg

PGP Public Key at http://ich.bin.kein.hoschi.de/~trouble/public_key.asc
PGP Key fingerprint = D34F 57C4 99D8 8F16 E16E  7779 CDDC 41A4 4C48 6F94




More information about the MPlayer-dev-eng mailing list