Re: WMProfile problems



Nadav wrote:

> Still IWMMediaProps::SetMediaType keep returning
> NS_E_INVALID_STREAM, what may cause that? is there any
> problem with my WM_MEDIA_TYPE or MPEGLAYER3WAVEFORMAT
> structures?

As I wrote before, the GUIDs in your WM_MEDIA_TYPE are all
wrong. As far as the values in your MPEGLAYER3WAVEFORMAT, I
don't remember: as I said I explain how to fill them up in
some old post you can find on groups.google.com.

> can the WMProfile manage codecs other then
> Windows media codecs?

The WMProfile object doesn't care. The WMWriter does: if set
to compress (default), you must feed it uncompressed data
and it will output data compressed by the WM codecs only; if
set to not compress, you must feed it pre-compressed data
and it will just store it as it is.

--
// Alessandro Angeli
// MVP :: Digital Media
// a dot angeli at psynet dot net


.



Relevant Pages

  • Re: which lossless codec for music?
    ... the point of WAV PCM. ... Some of the higher bitrate codecs are still fairly passable. ... But if you wanna compress PCM, you should first convert to 8-bit (no ... size of an MP3 with noticibly reduced quality. ...
    (comp.compression)
  • Re: MP3 to OGG converters
    ... MP3 and OGG codecs lose some information. ... But, if you compress this again with a different algorithm, the process is ... MP3 is like a Pic A', ... loseless codecs can't compress the same rate than lossy codecs. ...
    (Fedora)
  • Re: Movie Maker file recognition problem
    ... needs to compress them. ... Adding too many codecs can result in problems.... ... My experience is such that users who can handle MPEG2 files in Movie Maker ... See my website's Import Movie Source Files> Video> MPEG page. ...
    (microsoft.public.windowsxp.moviemaker)
  • Re: Using WMV for timeshifting live source?
    ... > I am looking at various video and audio codecs to compress a live ... > stream for timeshifting purposes. ... WMFSDK for documentation on those filters--some is included in the ...
    (microsoft.public.windowsmedia.sdk)