Thursday, November 27, 2008

MPlayer is far from being perfect :/

While coding the MPlayer Phonon backend, I encounter several MPlayer limits:
- Wrong VBR MP3 length detection
- The DirectX video output driver is not compatible with Aero (Windows Vista) There is a new Direct3D video output driver that works fine from what I have tested, see source code
- Slave mode is somewhat very poor compare to a full API (like libvlc, GStreamer...)
- No CDDA (Audio CD) under Windows
- No release since more than a year, you have to recompile MPlayer yourself to bypass the obsolete 1.0rc2
- A lot of minor bugs and limitations that make my code complex...

I will report all the bugs I encounter. I guess I will do it when phonon-mplayer will be on KDE repository. This way I will probably get more chances to be listen by the MPlayer devs. (Yes, marketing is important even inside the OpenSource world)

I have to try out the GStreamer Phonon backend under Windows.
The guys from SongBird already use GStreamer on all the major platforms (MacOSX, Linux, Windows) cf
http://blog.songbirdnest.com/2008/03/26/gstreamer-progress/
http://blog.songbirdnest.com/2008/07/18/gstreamer-in-nightlies/
"We now use GStreamer as our main media playback system, across all platforms"
"GStreamer for all, all for GStreamer"

6 comments:

Diego Rondini said...

Any news? Mplayer and VLC Phonon backends were a great idea but I can't see news about them since last year.

BulletXt said...

any news? We really need mplayer or vlc backend for phonon!! Windows default one sucks!!!

tkrotoff said...

The VLC backend is inside KDE repository: http://websvn.kde.org/trunk/playground/multimedia/phonon-backends/vlc/
I'm not the VLC backend maintainer anymore and I guess the current source code does not compile under Windows.

For the MPlayer backend, I'm still fixing some obvious bugs before to move it inside KDE playground. The MPlayer backend works under Windows.

You can also try the DirectShow backend (DS9) + ffdshow

Diego Rondini said...

Thanks for the reply!
Please consider updating the homepage of the project so that users know about the project status!

sarasini said...

Hi, i am writing a qt phonon application under windows. I have recompiled qt with phonon support with msvc 2005

I have copied phonon-mplayer.dll from quarkplayer inside MYAPP/phonon_backend/

I have this:

WARNING: bool __thiscall Phonon::FactoryPrivate::createBackend(void) phonon backend plugin could not be loaded

WARNING: bool __thiscall Phonon::FactoryPrivate::createBackend(void) phonon backend plugin could not be loaded

WARNING: bool __thiscall Phonon::FactoryPrivate::createBackend(void) phonon backend plugin could not be loaded

WARNING: bool __thiscall Phonon::FactoryPrivate::createBackend(void) phonon backend plugin could not be loaded

WARNING: bool __thiscall Phonon::FactoryPrivate::createBackend(void) phonon backend plugin could not be loaded

WARNING: Phonon::createPath: Cannot connect Phonon::MediaObject ( no objectName ) to Phonon::AudioOutput ( no objectName ).

WARNING: bool __thiscall Phonon::FactoryPrivate::createBackend(void) phonon backend plugin could not be loaded

I have also tried to recompile phonon-mplayer.dll. but the problem still remain

what's wrong?


Thanks
sarasini AT gmail DOT com

tkrotoff said...

@sarasini a blog comment is not the place where to post compilation errors. http://groups.google.com/group/phonon-vlc-mplayer