Werbung: SecurityConsole.de verwaltet Ihre Computer mit Security Essentails aus der Cloud!
30 Tage kostenfrei testen und 20% Rabatt für Ihre Bestellung mit Promocode: WBF2685582
(Promocode gültig bis 31.12.2011)

Group:  English: Entertainment » microsoft.public.windowsmedia.sdk
Thread: Still having problems with lossless codec

HTVi
TV Discussion Newsgroups

Still having problems with lossless codec
Matthew Shaver <yumecorp[ at ]newsgroup.nospam> 4/19/2007 6:36:02 PM
I have some new interesting test results. I re-encoded a file using the
Windows Media Encoder utility to create a WMV file with a lossless audio
stream and the file plays fine on my system.

I tried using the wmvcopy sample program to copy this new file and that
succeeds. Note though that this program copies the data in its
compressed form.

Then I modified the WMVRecompress sample program to use the the source
file's profile for the output file. This modified program works fine
when copying files which don't contain a lossless audio stream but when
I try to copy the file which contains a lossless audio stream I get the
NS_E_AUDIO_CODEC_NOT_INSTALLED error back from the BeginWriting() call.

So the writer does not like the profile I got from the reader. Given
this it is not surprising that I get the same error for my constructed
profile. So this seems to be some fundamental problem with my setup or
the tools in general.

Before doing these latest tests I upgraded to the following environment:

Visual Studio 2005 and all the latest patches.
Windows Media Format 11 SDK
Windows SDK for Windows Vista

Is there anything else I can install to make sure my environment is OK?

Re: Still having problems with lossless codec
Matthew Shaver <yumecorp[ at ]newsgroup.nospam> 4/21/2007 12:56:04 AM
Matthew Shaver wrote:
[Quoted Text]
> I have some new interesting test results. I re-encoded a file using the
> Windows Media Encoder utility to create a WMV file with a lossless audio
> stream and the file plays fine on my system.
>
> I tried using the wmvcopy sample program to copy this new file and that
> succeeds. Note though that this program copies the data in its
> compressed form.
>
> Then I modified the WMVRecompress sample program to use the the source
> file's profile for the output file. This modified program works fine
> when copying files which don't contain a lossless audio stream but when
> I try to copy the file which contains a lossless audio stream I get the
> NS_E_AUDIO_CODEC_NOT_INSTALLED error back from the BeginWriting() call.
>
> So the writer does not like the profile I got from the reader. Given
> this it is not surprising that I get the same error for my constructed
> profile. So this seems to be some fundamental problem with my setup or
> the tools in general.
>
> Before doing these latest tests I upgraded to the following environment:
>
> Visual Studio 2005 and all the latest patches.
> Windows Media Format 11 SDK
> Windows SDK for Windows Vista
>
> Is there anything else I can install to make sure my environment is OK?
>

I installed the modified WMVRecompress program on another XP machine and
again get the audio codec not found error when copying a file with a
lossless audio track. So that would seem to mean that the problem is
not the setup of my development machine.

So for some reason the Encoder can create a file with a lossless audio
track but a program using the latest SDK cannot re-encode that file
using the same profile. Seems to me that something fundamental is broken.

Any help would be appreciated.
Re: Still having problems with lossless codec
sasha <abc[ at ]fox.net> 4/21/2007 6:20:26 AM

[Quoted Text]
> Any help would be appreciated.

Bizzare things like order in which streams are added to a profile make
things not work sometimes...

Home | Search | Terms | Imprint Contact
Newsgroups Reader - provided by WiredBox.Net
Suche nach Orten, Städten, Postleitzahlen, Vorwahlen, Kfz-Kennzeichen