PDA

View Full Version : wmv1 and wmv2 editing


Maxsmi
2nd December 2010, 05:59
Hello, I'm trying to edit some files with wmv1 and wmv2 video. Actually, what I'm doing is trying to merge some parts of wmv files or try to re-encode a part of the file(of course, using the same fourcc) and then merge it with the original file. As a result I get files with invalid parts. One part then can be decoded correctly but the other part is invalid.

In case of wmv1 I suppose that something is wrong with internal sequence/picture header parameters.
The case of wmv2 is probably more complex, because the format uses "CodecPrivateData" as a part of mediatype, necessary for the decoder to correctly process source file. This means I should set up encoder parameters the way it produce the private data exactly the same as in the source file.

The problem is I can't find any piece of information on the structures of my interest. Neither wmv1 sequence headers nor wmv2 sequence/private data.

I would really appreciate any kind of help on this problem.
Thanks .