> Are you saying that when you run with this patch you can see artist - > title (or anything, for that matter) > in the window title of the demos/player?
Just the title but it's an improvement over nothing. > I tried the attached patch and did not notice any change in behavior > on windows/xp. > > It would be amazing if all that was needed was just a 2-line patch > like this to fix the issue. I hoped indeed that it was a simple matter > of telling Qt to use the right piece of software, but I am still not > sure what that is. > vlc uses taglib, iirc. That's essentially what that patch does. On Windows we use DirectShow for multimedia functionality and DirectShow uses plugins to implement format and codec support and so it's the plugins which ultimately determine what is and isn't supported. With MP3 there are multiple possible plugins and that patch will try and forcibly select one known to have better meta-data support. Short of abandoning DirectShow which given the lack of suitable alternatives isn't really an option there isn't a lot we can do to improve the situation. Using something like taglib requires parsing the media files ourselves which is something we're currently well isolated from. Andrew > On Tue, Nov 30, 2010 at 10:20 PM, <[email protected]> wrote: > >> Installing the Windows Media Format SDK version 11 made no > difference > >> when running the player example from mobility 1.1 > >> > >> I have the same problem with Phonon. > >> > >> Which means if I want to write a cross-platform metadata loader that > >> works with MP3s on windows, I can't use Phonon or Multimedia. That's > >> nuts. > >> > >> I wish someone would test this particular configuration on windows > some > >> day. > >> I can't be the only person who is trying to do it. > > > > On further inspection it would seem DirectShow is favouring another > mp3 filter which doesn't support any meta-data api. We can force it to > use the WMAsfReader filter for files we think might be mp3s the way we > already do for http streams. Try the attached patch and see if it > helps any. > > > > Andrew > > > >> On Sun, Nov 28, 2010 at 10:59 PM, <[email protected]> > wrote: > >> >> On linux, running demos/player from qtmobility 1.1, > >> >> I play an mp3 file, and I can see the track's artist - title in > the > >> >> windowtitle, which is obtained from the id3 metadata. > >> >> > >> >> If I run the same example on windows, I see nothing in the window > >> >> title while playing a track. > >> >> It seems as if mp3 metadata can not be obtained via Qt > MultimediaKit > >> >> in mobility 1.1. > >> >> > >> >> I was wondering if it's just my windows setup, or do others have > the > >> >> same issue? > >> > > >> > To access meta-data from some formats on Windows you will need the > >> Window Media Format SDK which is included in Windows SDK versions as > >> old as 6.0A. This is because the windows media filters (which > include > >> the mp3 parser) use their own interfaces for meta-data access > instead > >> of IAMMediaContent defined in the DirectShow sdk which supports only > a > >> limited set of properties. > >> > > >> > Andrew > >> > > > _______________________________________________ Qt-mobility-feedback mailing list [email protected] http://lists.trolltech.com/mailman/listinfo/qt-mobility-feedback
