Log in

View Full Version : WMV2 private data


Maxsmi
17th February 2011, 11:39
I have an ASF file with WMV2 video. The video has the following private data :

C2 AC BD 00

I use a WMVideo8 Encoder DMO (v6.1.7600.16385; Windows7)

There are a few parameters supported by the encoder ( http://msdn.microsoft.com/en-us/library/ff819510(v=VS.85).aspx ). I need to know which parameter should i use to modify the 4th bit of 3d byte (to receive the private data like C2 AC B5 00) ?

benwaggoner
18th February 2011, 19:08
I have an ASF file with WMV2 video. The video has the following private data :

C2 AC BD 00

I use a WMVideo8 Encoder DMO (v6.1.7600.16385; Windows7)

There are a few parameters supported by the encoder ( http://msdn.microsoft.com/en-us/library/ff819510(v=VS.85).aspx ). I need to know which parameter should i use to modify the 4th bit of 3d byte (to receive the private data like C2 AC B5 00) ?
Woah. Why? A WMV2 file must be nearly a decade old now.

I think you will probably need to use the Windows Media Format SDK, which can set a lot of the advanced parameters. It still offers access to WMV8 on Win7.

http://msdn.microsoft.com/en-us/library/dd757738(VS.85).aspx

I don't think the Windows Media Encoder SDK will support those parameters, nor is it a supported product anymore.

And unless there's a compelling reason to use WMV8, you're going to have a lot more flexibility with VC-1/WMV9. WMV9 Advanced Profile even lets you use elementary streams in an ASF file, so you can put private data in both the ES and the container.

The VC-1 Encoder SDK will give you more control over the VC-1 bitstream encoding compared to the Format SDK.

http://www.microsoft.com/downloads/en/details.aspx?familyid=5031c859-e8da-41bc-98e3-c13add5378b0&displaylang=en

I'm REALLY curious about what it is you're trying to do here!

Maxsmi
2nd March 2011, 12:43
Woah. Why? A WMV2 file must be nearly a decade old now.

I think you will probably need to use the Windows Media Format SDK, which can set a lot of the advanced parameters. It still offers access to WMV8 on Win7.

http://msdn.microsoft.com/en-us/library/dd757738(VS.85).aspx

I don't think the Windows Media Encoder SDK will support those parameters, nor is it a supported product anymore.

And unless there's a compelling reason to use WMV8, you're going to have a lot more flexibility with VC-1/WMV9. WMV9 Advanced Profile even lets you use elementary streams in an ASF file, so you can put private data in both the ES and the container.

The VC-1 Encoder SDK will give you more control over the VC-1 bitstream encoding compared to the Format SDK.

http://www.microsoft.com/downloads/en/details.aspx?familyid=5031c859-e8da-41bc-98e3-c13add5378b0&displaylang=en

I'm REALLY curious about what it is you're trying to do here!

I've already tried to explain it like here http://forum.doom9.org/showthread.php?t=158254 and also here http://forum.doom9.org/showthread.php?t=158411 (you answered my question). That's why I cannot accept your advise about VC-1/WMV3 encoder. I tried the advanced parameters, and posted the questions on MS forums, but have been replied that the parameters I need are either unsupported/undocumented or whatever. Anyway, thanks for your answers and if you have some more information related to those formats, please let me know. I'd really appreciate any kind of help.