View Full Version : Need help with video file extensions and registry please
kageon1
28th December 2007, 02:04
Hello everyone, I searched all over the internet and this forum and didn't find much answers to my problem. I have no problem playing these videos in WMP so its not a codec/splitter issue. Since I'm not that good at editing the Windows Registry I was wondering if someone could make a .reg for me that does the following:
- Video preview thumbnail support for .flv, .mkv, .mp4/m4v, and .ogm file extensions
- Associate the above file extensions to be recognizable in Explorer/ Windows
- Add support for these file extensions on the Media files (all types) list in the Open Dialog for WMP11:
http://i14.tinypic.com/8faniux.jpg
This is for Windows Vista, I'd appreciate it if anyone could help me out, :thanks:
kageon1
31st December 2007, 19:32
Bump.
GrofLuigi
1st January 2008, 00:48
For your No. 3 you could try something like this:
REGEDIT4
[HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Multimedia\WMPlayer\Extensions\.flv]
"Permissions"=dword:f
"Runtime"=dword:7
[HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Multimedia\WMPlayer\Extensions\.mkv]
"Permissions"=dword:f
"Runtime"=dword:7
[HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Multimedia\WMPlayer\Extensions\.mp4]
"Permissions"=dword:f
"Runtime"=dword:7
[HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Multimedia\WMPlayer\Extensions\.m4v]
"Permissions"=dword:f
"Runtime"=dword:7
[HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Multimedia\WMPlayer\Extensions\.ogm]
"Permissions"=dword:f
"Runtime"=dword:7
It's nothing special, just allows these extensions to be indexed in media library/opened in WMP. Much more is needed for full support, I hope someone with more knowledge could help further. For preview you would need custom shell extension that understands windows explorer (ffdshow is a candidate, but it specifically deregisters itself from this).
Note: tested on WMP9 XPSP2.
GL
GrofLuigi
1st January 2008, 00:57
For #2, this is how Media Player Classic does it:
REGEDIT4
[HKEY_CLASSES_ROOT\.mp4]
@="mp4file"
[HKEY_CLASSES_ROOT\mp4file\shell]
@="open"
[HKEY_CLASSES_ROOT\mp4file\shell\open]
@="&Open"
[HKEY_CLASSES_ROOT\mp4file\shell\open\command]
@="\"C:\\Program Files\\MPC\\mplayerc.exe\" \"%1\""
You would need to replace the path to the exe with your chosen app, and repeat with all five extensions.
Again, this is XP, so Vista may need something else.
GL
* edit * - If it doesn't work, you should replace HKEY_CLASSES_ROOT either with HKEY_LOCAL_MACHINE\SOFTWARE\Classes or with HKEY_CURRENT_USER\SOFTWARE\Classes
Xin-Hong
1st January 2008, 11:39
for #1 (but only with mkv) you should try http://www.matroska.org/downloads/shellextension/index.html
zachdms
30th January 2008, 03:42
As regards #3, the advice above is for the Library, not the File Open dialog. To get them in the right category, not just Other, look here (http://owlet.spaces.live.com/blog/cns!D48B90C1DDF5D401!297.entry?wa=wsignin1.0) - the MLS entry in particular is key.
If you add the extensions to HKCR\Applications\wmplayer.exe\SupportedTypes , WMP will show up in Vista's Open With dialog for that type.
As regards WMP's actual File Open dialog, you can extend that through the HKLM\Software\Microsoft\MediaPlayer\Player\Extensions entries. You probably don't support MUI so that key is irrelevant to you. Don't use numbered entries: those are reserved for Microsoft. Use named entries. There's also a MAX_PATH limit on the joined string, so don't walk over that or you'll end up with an invalid search filter. There's more discussion of this here (http://www.cccp-project.net/smf/index.php?topic=1964.30).
Note that as far as I'm aware chunks of this aren't documented or supported - it's simply possible to figure out what MS is doing here if you pay attention. There's no guarantee that non-documented functionality would work on any next version. =\ Anyways, good luck.
vBulletin® v3.8.5, Copyright ©2000-2012, Jelsoft Enterprises Ltd.