Gmail Agenda Documenten Reader Het internet meer »
Onlangs bekeken groepen | Help | Aanmelden
Google Discussiegroepen Startpagina
Metadata from OGG, FLAC and zero duration
Er zijn momenteel te veel onderwerpen in deze discussiegroep die als eerste worden weergegeven. Als je dit onderwerp als eerste wilt weergeven, moet je deze optie verwijderen van een ander onderwerp.
Er is een fout opgetreden bij het verwerken van je verzoek. Probeer het opnieuw.
Markeren
  Berichten 26 - 31 van 31 - Alles samenvouwen  -  Alles naar het vertalen Vertaald (alle originelen weergeven) < Ouder 
De groep waarnaar je een bericht verzendt, is een Usenet-groep. Berichten die je in deze groep verzendt, zijn zichtbaar voor iedereen op het Internet
Je antwoord is niet verzonden.
Uw bericht is geplaatst
 
Van:
Aan:
Cc:
Reactie op:
Cc toevoegen | Reactie toevoegen | Onderwerp bewerken
Onderwerp:
Validatie:
Typ ter verificatie de tekens uit de onderstaande afbeelding of de getallen die je hoort wanneer je klikt op het pictogram voor toegankelijkheid. Luister en typ de nummers die je hoort
 
AJD  
Profiel weergeven   Naar het vertalen Vertaald (origineel weergeven)
 Meer opties 14 jul 2009, 08:54
Nieuwsgroepen: microsoft.public.windowsmedia.player
Van: AJD <flyer...@gmail.com>
Datum: Mon, 13 Jul 2009 23:54:27 -0700 (PDT)
Lokaal: di 14 jul 2009 08:54
Onderwerp: Re: Metadata from OGG, FLAC and zero duration
On Jul 9, 2:42 pm, Tim De Baets <TimDeBa...@discussions.microsoft.com>
wrote:

> So the only way to add real third-party metadata support is to trick WMP
> into thinking that it's handling a default format instead (such as mp3). I
> was eventually able to do this, by hooking into WMP and intercepting the call
> that compares the audio/x-other and audio/mp3 mime types. After that, WMP
> would use a metadata editor object (IWMMetadataEditor) to get the metadata of
> the third-party format, just like it does for mp3. Of course, this failed for
> the third-party format, so I had to hook into this too, allowing me to return
> any metadata I want, including tags that are read-only in the library such as
> Duration. This seemed to fix the zero-duration bug and seeking worked
> perfectly. WMP indeed only uses the Duration tag in the library and ignores
> the duration returned by the DirectShow filter, when a file is played from
> the library.

Which call compares the mime types? I haven't been able to find it.
This seems promising as a temporary solution, and it doesn't seem like
there is any other way to do it.

    Doorsturen  
Je moet je aanmelden voordat je berichten kunt plaatsen.
Als je een bericht wilt verzenden, moet je eerst deelnemen aan deze discussiegroep.
Werk je bijnaam bij op de pagina met abonnementsinstellingen voordat je een bericht plaatst.
Je hebt geen toestemming om berichten te plaatsen.
Tim De Baets  
Profiel weergeven   Naar het vertalen Vertaald (origineel weergeven)
 Meer opties 14 jul 2009, 15:37
Nieuwsgroepen: microsoft.public.windowsmedia.player
Van: Tim De Baets <tdeba...@nospam.com>
Datum: Tue, 14 Jul 2009 15:37:30 +0200
Lokaal: di 14 jul 2009 15:37
Onderwerp: Re: Metadata from OGG, FLAC and zero duration

AJD wrote:
> Which call compares the mime types? I haven't been able to find it.
> This seems promising as a temporary solution, and it doesn't seem like
> there is any other way to do it.

WMP calls _wcsicmp from msvcrt.dll to compare the strings. Are you
interested in writing a third-party metadata plug-in too? It's probably
unnecessary to start from scratch; Cristian Adam is already showing
interest to make such a plug-in. It will likely have pluggable tag
support (just like WMP Tag Support Extender), allowing you to write a
tag support dll for whatever third-party format you like.

Regards

--
Tim De Baets
http://www.bm-productions.tk


    Doorsturen  
Je moet je aanmelden voordat je berichten kunt plaatsen.
Als je een bericht wilt verzenden, moet je eerst deelnemen aan deze discussiegroep.
Werk je bijnaam bij op de pagina met abonnementsinstellingen voordat je een bericht plaatst.
Je hebt geen toestemming om berichten te plaatsen.
AJD  
Profiel weergeven   Naar het vertalen Vertaald (origineel weergeven)
 Meer opties 14 jul 2009, 23:14
Nieuwsgroepen: microsoft.public.windowsmedia.player
Van: AJD <flyer...@gmail.com>
Datum: Tue, 14 Jul 2009 14:14:18 -0700 (PDT)
Lokaal: di 14 jul 2009 23:14
Onderwerp: Re: Metadata from OGG, FLAC and zero duration
On Jul 14, 9:37 am, Tim De Baets <tdeba...@nospam.com> wrote:

> WMP calls _wcsicmp from msvcrt.dll to compare the strings. Are you
> interested in writing a third-party metadata plug-in too? It's probably
> unnecessary to start from scratch; Cristian Adam is already showing
> interest to make such a plug-in. It will likely have pluggable tag
> support (just like WMP Tag Support Extender), allowing you to write a
> tag support dll for whatever third-party format you like.

Which call is the one calling _wcsicmp?

I am interested in writing a plug-in, but not in taking the same
approach that Christian has. It would make much more sense to link
WMP's metadata/property handlers to the shell handlers so that were
one to write metadata support for the shell then WMP would also have
that support.


    Doorsturen  
Je moet je aanmelden voordat je berichten kunt plaatsen.
Als je een bericht wilt verzenden, moet je eerst deelnemen aan deze discussiegroep.
Werk je bijnaam bij op de pagina met abonnementsinstellingen voordat je een bericht plaatst.
Je hebt geen toestemming om berichten te plaatsen.
Tim De Baets  
Profiel weergeven   Naar het vertalen Vertaald (origineel weergeven)
 Meer opties 14 jul 2009, 23:58
Nieuwsgroepen: microsoft.public.windowsmedia.player
Van: Tim De Baets <tdeba...@nospam.com>
Datum: Tue, 14 Jul 2009 23:58:02 +0200
Lokaal: di 14 jul 2009 23:58
Onderwerp: Re: Metadata from OGG, FLAC and zero duration

AJD wrote:

> Which call is the one calling _wcsicmp?

_wcsicmp gets called directly by wmp.dll, from within its internal
MLSDBHelper::FindMediaInStoreByURL procedure (according to the symbols).
If you view wmp.dll's imports, you will see that _wcsicmp is one of them.

> I am interested in writing a plug-in, but not in taking the same
> approach that Christian has. It would make much more sense to link
> WMP's metadata/property handlers to the shell handlers so that were
> one to write metadata support for the shell then WMP would also have
> that support.

That's actually an interesting idea, but property handlers are not
available on XP. Also, the only property handler I have found so far
that could be useful is the one for m4a files. As far as I know, no
property handlers for other audio formats exist.

Regards

--
Tim De Baets
http://www.bm-productions.tk


    Doorsturen  
Je moet je aanmelden voordat je berichten kunt plaatsen.
Als je een bericht wilt verzenden, moet je eerst deelnemen aan deze discussiegroep.
Werk je bijnaam bij op de pagina met abonnementsinstellingen voordat je een bericht plaatst.
Je hebt geen toestemming om berichten te plaatsen.
AJD  
Profiel weergeven   Naar het vertalen Vertaald (origineel weergeven)
 Meer opties 15 jul 2009, 07:10
Nieuwsgroepen: microsoft.public.windowsmedia.player
Van: AJD <flyer...@gmail.com>
Datum: Tue, 14 Jul 2009 22:10:59 -0700 (PDT)
Lokaal: wo 15 jul 2009 07:10
Onderwerp: Re: Metadata from OGG, FLAC and zero duration
On Jul 14, 5:58 pm, Tim De Baets <tdeba...@nospam.com> wrote:

> AJD wrote:

> > Which call is the one calling _wcsicmp?

> _wcsicmp gets called directly by wmp.dll, from within its internal
> MLSDBHelper::FindMediaInStoreByURL procedure (according to the symbols).
> If you view wmp.dll's imports, you will see that _wcsicmp is one of them.

I've been looking through MLSDBHelper::FindMediaInStoreByURL for a
while and have been unable to find the function responsible for
creating the object which implements IWMMetadataEditor. Though the
mime check is there the object seems to be created somewhere else
entirely.

Which functions did you hook? I'm currently using WMP12, so this may
have changed from 11.

> That's actually an interesting idea, but property handlers are not
> available on XP. Also, the only property handler I have found so far
> that could be useful is the one for m4a files. As far as I know, no
> property handlers for other audio formats exist.

Property handlers aren't particularly difficult to write, and I
currently have a FLAC property handler half-implemented (as I
mentioned in a previous post I had used this to check whether WMP
accessed them for duration info--it does not). I just don't see the
point in duplicating code for a 3rd party plug-in when I can get WMP /
and/ shell support from the same extension. I do not plan on targeting
XP, only Vista and up.

Cheers


    Doorsturen  
Je moet je aanmelden voordat je berichten kunt plaatsen.
Als je een bericht wilt verzenden, moet je eerst deelnemen aan deze discussiegroep.
Werk je bijnaam bij op de pagina met abonnementsinstellingen voordat je een bericht plaatst.
Je hebt geen toestemming om berichten te plaatsen.
Tim De Baets  
Profiel weergeven   Naar het vertalen Vertaald (origineel weergeven)
 Meer opties 15 jul 2009, 15:06
Nieuwsgroepen: microsoft.public.windowsmedia.player
Van: Tim De Baets <tdeba...@nospam.com>
Datum: Wed, 15 Jul 2009 15:06:05 +0200
Lokaal: wo 15 jul 2009 15:06
Onderwerp: Re: Metadata from OGG, FLAC and zero duration

AJD wrote:
> I've been looking through MLSDBHelper::FindMediaInStoreByURL for a
> while and have been unable to find the function responsible for
> creating the object which implements IWMMetadataEditor. Though the
> mime check is there the object seems to be created somewhere else
> entirely.

WMP calls WMCreateEditor to retrieve a reference to a metadata editor
object, I haven't checked where it does that though (that's not
important anyway).

> Which functions did you hook? I'm currently using WMP12, so this may
> have changed from 11.

_wcsicmp and WMCreateEditor. I haven't tested anything on WMP 12 yet.

Regards

--
Tim De Baets
http://www.bm-productions.tk


    Doorsturen  
Je moet je aanmelden voordat je berichten kunt plaatsen.
Als je een bericht wilt verzenden, moet je eerst deelnemen aan deze discussiegroep.
Werk je bijnaam bij op de pagina met abonnementsinstellingen voordat je een bericht plaatst.
Je hebt geen toestemming om berichten te plaatsen.
Einde van berichten < Ouder 
« Terug naar Discussies « Nieuwer onderwerp     Ouder onderwerp »

Discussiegroep maken - Google Discussiegroepen - Google Startpagina - Servicevoorwaarden - Privacybeleid
©2010 Google