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.
|