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

Re: manually add input pins to a DSF in registry

1 view
Skip to first unread message

Joe Flynn

unread,
Apr 25, 2005, 10:42:56 PM4/25/05
to

George W. Bush wrote:
> i'm trying to get my system to use divx to decode divx streams in mp4
> container. the problem is once these streams are put in mp4 they loose their
> divx fourcc and get mp4v tag instead. and mp4v is not among divx' input pins
> although it handles it just fine if the filter is connected manually. thats
> what i can do in graphedit or zoomplayer (customized graphs).
> i'd like to add this mp4v decoding functionality to divx on system level -
> add this sub-type to the filter's list of acceptable stream formats in
> registry or wherever it has to be done. i have the media sub-type numbers
> ready. is it really possible to do so?
> if i'm in the wrong place asking this question here - sorry, where should i
> post it then?


It depends on the O/S - but you can attempt the following.

For Win9x you can add the following entry into the [drivers32] section
of the SYSTEM.INI file:

vidc.mp4v=DivX.dll


For Win2k/XP systems you can add the string entry “vidc.mp4v” into the
registry location [HKEY_LOCAL_MACHINE\Software\Microsoft\Windows
NT\CurrentVersion\Drivers32]. You will need to assign the value
“DivX.dll” to this entry.

Also, be advised that in the past I have run into issues with
case-sensitivity on the FOURCC entry.


Joe Flynn


George W. Bush

unread,
Apr 26, 2005, 7:36:02 AM4/26/05
to
"Joe Flynn" wrote:

thanks a lot Joe for your answer. i'm gonna try that tonight.
does your last statement mean i should create like two such entries one for
mp4v and one for MP4V?

Joe Flynn

unread,
Apr 26, 2005, 7:25:54 PM4/26/05
to

George W. Bush wrote:


> "Joe Flynn" wrote:
>
>>Also, be advised that in the past I have run into issues with
>>case-sensitivity on the FOURCC entry.
>>
>>
>
>

> does your last statement mean i should create like two such entries one for
> mp4v and one for MP4V?
>

With the issue I was referring to (see link) there would be eight
different case-specific permutations of your “mp4v” FOURCC code. I don’t
think that you will have to worry about this issue but just to be safe I
would recommend examining the case of the FOURCC code that the encoder
is embedding into your files and then setting Registry/INI file settings
to match.


http://groups-beta.google.com/group/microsoft.public.win32.programmer.directx.video/browse_thread/thread/25318bbdf33060da/2dbd27ee302ecfd6?q=ifiltermapper2+case&rnum=1&hl=en#2dbd27ee302ecfd6

Joe Flynn

George W. Bush

unread,
Apr 27, 2005, 11:44:02 AM4/27/05
to
> also from this article in msdn
> http://msdn.microsoft.com/library/default.asp?url=/library/en-us/directshow/htm/layoutoftheregistrykeys.asp
> i understood that a filter's supported formats are stored in binary form in
> Filter CLSID [CLSID_DivXDeux] -> FilterData key. i edited this key to add
> descriptions for mp4v and MP4V tags just the way these two are in 3ivX's
> FilterData key. but apparently there are some more complicated rules by which
> i have to play in order to successfully edit this thing. it must be some kind of
> checksum protection or something like that. my system still can't see this
> new mp4v divx functionality neither in graphedit nor in WMP although these
> new FilterData key entries are there.
>
> so i would really want to find out is it still possible to succeed in
> editing this key manually. or maybe there is some piece of software out there
> that would allow me to do that even easier.

i finally figured it out:
these THREE keys need to be edited (XP):
[HKEY_CLASSES_ROOT\CLSID\{083863F1-70DE-11d0-BD40-00A0C911CE86}\Instance\{78766964-0000-0010-8000-00AA00389B71}]

[HKEY_CLASSES_ROOT\CLSID\{083863F1-70DE-11d0-BD40-00A0C911CE86}\Instance\CLSID_DivXDeux]

[HKEY_CLASSES_ROOT\CLSID\{CF49D4E0-1115-11CE-B03A-0020AF0BA770}\Instance\CLSID_DivXDeux]

in FilterData in each of these keys any pair of unused fourccs (upper +
lower case) should be replaced with the required pair of MP4V and mp4v.
deleting or adding lines in the list of fourccs don't seem to work - only
replacing. guess that was my mistake the first time.

and there we go. graphedit lists MP4V and mp4v among divx's input pins. WMP
picks it to play mp4-divx files. and 3ivX is history.

0 new messages