Group:  English: Entertainment » microsoft.public.windowsmedia.sdk
Thread: [ codecdata ] field in BitmapInfoHeader

DotNetBag
.NET Development Newsgroups

HTVi
TV Discussion Newsgroups

Our Hot Pick: Rising Antivirus 2006 - Certified by TUV & Checkmark! Get 10% discount by entering this coupon code: ONDISCOUNT10
Rising Antivirus 2006

[ codecdata ] field in BitmapInfoHeader
YannB 27.06.2007 07:54:01
Hi,

I'm trying to paste two .WMV files with same picture resolution and codec
type (CBR, 2000kbps).
Some times, this process failed (pictures destoyed in the second part). If I
export profile information in à .PRX file, I can see only one difference :
codecdata. ItThis filed could be "4DC11A01" for the first video, and
"4D1C080100" for the second one. My problem appears only if this codecdata
are different !

- what does this codecdata mean ?
- could this field change for new created .WMV video, after a codec or
media player update ?
- Is it possible to paste two video files with different codecdata ?
Re: field in BitmapInfoHeader
Jeremy Noring <kidjan[ at ]gmail.com> 02.07.2007 19:57:28
On Jun 27, 12:54 am, YannB <Y...[ at ]discussions.microsoft.com> wrote:
[Quoted Text]
> Hi,
>
> I'm trying to paste two .WMV files with same picture resolution and codec
> type (CBR, 2000kbps).
> Some times, this process failed (pictures destoyed in the second part). If I
> export profile information in à .PRX file, I can see only one difference :
> codecdata. ItThis filed could be "4DC11A01" for the first video, and
> "4D1C080100" for the second one. My problem appears only if this codecdata
> are different !
>
> - what does this codecdata mean ?
> - could this field change for new created .WMV video, after a codec or
> media player update ?
> - Is it possible to paste two video files with different codecdata ?

That is the codec private data; it's four bytes that the decoder uses
when decoding the video. (actually, in WMFSDK 11, MSFT changed it to
be five bytes) I'm assuming you're trying to append two clips
together, perhaps with WMVAppend? If this is the case, it probably
won't work if the private data differs in any way.

What did you use to encode the two video clips, and do you know what
causes the clips to have differing extra data? I know I've seen third-
party encoders that produce different codec private data than the
WMSDKs, which can be a real pain to deal with if you're using the
WMFSDK.

Home | Search | Terms | Imprint | Contact
Newsgroups Reader - provided by WiredBox.Net