Google Groups no longer supports new Usenet posts or subscriptions. Historical content remains viewable.
Dismiss

Codec State

31 views
Skip to first unread message

Alaa Masoud

unread,
Dec 22, 2002, 8:14:05 AM12/22/02
to
Hello All,

I have a problem setting codec state.
I called IAMVfwCompressDialogs::ShowDialog(), then i set
custome config, then clicked Ok. After that, I called
IAMVfwCompressDialogs::GetState(pv, &cb) twice, the first
to know the required size and the second to actually get
the state. After that i saved the *pv to a file. Now when
i get codec state from the file, i called
IAMVfwCompressDialogs::SetState(pv, cb) but when I showed
the dialog, the settings weren't as i saved them in my
file!! I tried this on Microsoft Video 1 & DivX 5.0.2
codecs. Same results

I tried ICSetState, the function failed!

If someone has done this before, plz tell me what did u do.

Thanks in advance.

Alaa,

Alessandro Angeli [MVP::DigitalMedia]

unread,
Dec 22, 2002, 3:58:42 PM12/22/02
to
This has been discussed before, see if any of the earlier threads helps you
(in the end, all point out that SetState() does not work but
SendDriverMessage() does):

- "howto: set Compress parameter with Microsoft MPEG-4 Video Codec V2 ?"
by Frank Telbert
on Thursday, 15 August 2002 16:22
in <microsoft.public.win32.programmer.directx.video>

- "Compressors!!"
by Alaa Masoud
on Monday, 11 November 2002 22:41
in <microsoft.public.win32.programmer.directx.video>

- "Microsoft MPEG 4 V2 interface definitions...."
by Thomas Tomiczek [MVP]
on Sunday, 03 November 2002 20:33
in <microsoft.public.win32.programmer.directx.video>

"Alaa Masoud" <ala...@geocities.com> wrote in message
news:017a01c2a9bc$0106bdc0$8af82ecf@TK2MSFTNGXA03...

0 new messages