View Full Version : Filetype association problems...
Blue_MiSfit
27th February 2007, 11:35
Okay, so I know this is a stupid problem, but I cant seem to fix it.
I did a fresh install today (what a nice change), and in the process of getting my media playback stuff working properly (ffdshow for almost everything, core AVC for H.264, haali splitter and mplayerc).
I want AVIs, MP4s, OGMs, and MKVs to open in media player classic when I double click them. AVI and MKV work fine (with the proper icon and everything), but OGM is quite borked.
First, the icon is corrupted, it's some wierd white apple nonsense. Second, when I double click on the file, it opens an instance of Media Player Classic, but it errors out saying file not found. If I drag the file into Media Player Classic, it works perfectly. Somehow I totally destroyed the file type association...
I've tried deleting the association and using 'open with' to remake it, but the same problem shows itself.
How the frack do I get this working again???
Thanks folks.
~MiSfit
jeffy
27th February 2007, 12:14
I found in some other thread "You should deselect ogm association in winamp"
EDIT:
If you know regedit, export the following branch
HKEY_LOCAL_MACHINE\SOFTWARE\Classes\.ogm and post the result here.
sillKotscha
27th February 2007, 12:15
assumed you have installed:
current versions of:
- Real Alternative 1.51
- QuickTime Alternative 1.77
- Haali Media Splitter (27/02/2007 - v1.7.89.0)
- ffdshow (I use: ffdshow_rev967_20070226_xxl.exe)
I have configured it as follows...
for video filter:
http://img3.freeimagehosting.net/uploads/2069c15ada.jpg (http://www.freeimagehosting.net/)
http://img3.freeimagehosting.net/uploads/1b92e838be.jpg (http://www.freeimagehosting.net/)
http://img3.freeimagehosting.net/uploads/9ec20cf31d.jpg (http://www.freeimagehosting.net/)
http://img3.freeimagehosting.net/uploads/735009e9d3.jpg (http://www.freeimagehosting.net/)
for audio filter:
http://img3.freeimagehosting.net/uploads/b5b82b2592.jpg (http://www.freeimagehosting.net/)
http://img3.freeimagehosting.net/uploads/7d0025ae34.jpg (http://www.freeimagehosting.net/)
for (on-the-fly) direct audio->AC3 transcode:
http://img3.freeimagehosting.net/uploads/366f886897.jpg (http://www.freeimagehosting.net/)
http://img3.freeimagehosting.net/uploads/b47295e2ac.jpg (http://www.freeimagehosting.net/)
http://img3.freeimagehosting.net/uploads/82e5ca673a.jpg (http://www.freeimagehosting.net/)
MPC's internal filter setup:
http://img3.freeimagehosting.net/uploads/ccc3d61baa.jpg (http://www.freeimagehosting.net/)
http://img3.freeimagehosting.net/uploads/42dcc59724.jpg (http://www.freeimagehosting.net/)
MPC'S video format setup:
http://img3.freeimagehosting.net/uploads/d631461f1a.jpg (http://www.freeimagehosting.net/)
http://img3.freeimagehosting.net/uploads/e8f84dd910.jpg (http://www.freeimagehosting.net/)
http://img3.freeimagehosting.net/uploads/b9fcf1404a.jpg (http://www.freeimagehosting.net/)
http://img3.freeimagehosting.net/uploads/eea1ffaa38.jpg (http://www.freeimagehosting.net/)
note: QuickTime is set to DirectShow...
hope it helps...
P.S: sorry for those many pictures but I think seeing is better than difficult describing :)
P.P.S: deselect MP4 in winamp...
foxyshadis
27th February 2007, 17:15
I'd just export the .mkv registry branch, rename all the .mkv references to .ogm, and import it. Well, might want to delete the .ogm association through explorer (not just the registry key or the Open With junk will be left). The Open With method in explorer is really bad and tends to cause issues with opening files a lot, along with killing any secondary options.
Blue_MiSfit
27th February 2007, 23:29
Forgive me, I'm new to manually editing the registry for filetype associations.
here's my current MatroskaVideo entry:
[HKEY_LOCAL_MACHINE\SOFTWARE\Classes\MatroskaVideo]
@="Matroska File"
"InfoTip"="prop:Type;{f29f85e0-4ff9-1068-ab91-08002b27b3d9}2;{64440490-4c8b-11d1-8b70-080036b11a03}2;{64440490-4c8b-11d1-8b70-080036b11a03}3;{6444048f-4c8b-11d1-8b70-080036b11a03}13;{0628D335-3AEF-4267-BD9F-CB6CD7712C99}2;Size"
"TileInfo"="prop:{f29f85e0-4ff9-1068-ab91-08002b27b3d9}2;{6444048f-4c8b-11d1-8b70-080036b11a03}13;{0628D335-3AEF-4267-BD9F-CB6CD7712C99}2"
"Details"="prop:Type;{f29f85e0-4ff9-1068-ab91-08002b27b3d9}2;{64440490-4c8b-11d1-8b70-080036b11a03}2;{64440490-4c8b-11d1-8b70-080036b11a03}3;{6444048f-4c8b-11d1-8b70-080036b11a03}13;{0628D335-3AEF-4267-BD9F-CB6CD7712C99}2;{0628D335-3AEF-4267-BD9F-CB6CD7712C99}1;Size"
"EditFlags"=dword:00000000
[HKEY_LOCAL_MACHINE\SOFTWARE\Classes\MatroskaVideo\DefaultIcon]
@="C:\\Program Files\\Haali\\MatroskaSplitter\\splitter.ax"
[HKEY_LOCAL_MACHINE\SOFTWARE\Classes\MatroskaVideo\shell]
@="open"
"mplayerc.exe.bak"="open"
[HKEY_LOCAL_MACHINE\SOFTWARE\Classes\MatroskaVideo\shell\open]
@="&Open"
[HKEY_LOCAL_MACHINE\SOFTWARE\Classes\MatroskaVideo\shell\open\command]
@="\"D:\\Archives\\Video Software\\Players\\Media Player Classic\\mplayerc.exe\" \"%1\""
"mplayerc.exe.bak"="C:\\Program Files\\Windows Media Player\\wmplayer.exe /Open \"%L\""
[HKEY_LOCAL_MACHINE\SOFTWARE\Classes\MatroskaVideo\shell\play]
@="&Play"
[HKEY_LOCAL_MACHINE\SOFTWARE\Classes\MatroskaVideo\shell\play\command]
@="C:\\Program Files\\Windows Media Player\\wmplayer.exe /Play \"%L\""
I exported this...
I'm guessing that if I change all references to MatroskaVideo to OggMedia or something similar, then everything should be peachy (Haali splitter can parse OGM, right?).
I don't see any reference to the .mkv extension that I would need to change to .ogm - so how would my machine know what file's this entry references?
Thanks everyone!!
~MiSfit
[edit]
Okay, I think I misread the posts. You guys are talking about the .ogm and .mkv entries, not OggMedia / MatroskaVideo.
Here's my .mkv entry:
Windows Registry Editor Version 5.00
[HKEY_LOCAL_MACHINE\SOFTWARE\Classes\.mkv]
"PerceivedType"="video"
"Content Type"="video/x-matroska"
@="MatroskaVideo"
so if I change it to the following:
Windows Registry Editor Version 5.00
[HKEY_LOCAL_MACHINE\SOFTWARE\Classes\.ogm]
"PerceivedType"="video"
"Content Type"="video/x-matroska"
@="MatroskaVideo"
It should work, since OGM and MKV use the same splitter?
Thanks
~MiSfit
sillKotscha
27th February 2007, 23:49
It should work, since OGM and MKV use the same splitter?
only if you installed the haali splitter on its own...
for ogm it is also possible:
Directshow Filters for Ogg Vorbis, Speex, Theora and FLAC (http://www.illiminable.com/ogg/)
Ogg DirectShow Filters 0.9.9.6 (http://www.free-codecs.com/download/Ogg_DirectShow_Filters.htm)
for mkv...
Matroska Splitter (http://sourceforge.net/project/showfiles.php?group_id=82303&package_id=84361)
Blue_MiSfit
28th February 2007, 00:48
Well, I only installed the haali splitter.
As I said, everything works perfectly if I drag and drop the file into MPC, so I know my directshow stuff is all rosy. It's just these damned infernal Windows double click associations!!!
~MiSfit
setarip_old
28th February 2007, 08:39
First, the icon is corrupted, it's some wierd white apple nonsense.Sounds like it's associated with the Quicktime Player.
Open the Control Panel, select "Quicktime" - then select "FileTypes" - click on the "+" next to "Videos" and DEselect the problematic items.
You should then be able to rightclick on a file of each type, select "Open with", select your player and choose to "Always open with"...
Blue_MiSfit
28th February 2007, 10:16
I don't have QuickTime anything installed.
As Foxyshadis mentioned, the "open with" dialog is crap :)
I appreciate the advice, but I know the problem lies in the registry.
I think the white apple commend was inaccurate. That is only the 16x16 icon (the icon you see when in list view mode). When in "icons" mode, it's a white page with the media player classic logo in the middle.
Why exactly it's a white page with an apple in the middle in list view is beyond me, but I've seen this before...
Anyway, hopefully somebody can hold my hand through editing the registry :D
MiSfit
foxyshadis
28th February 2007, 10:56
http://foxyshadis.slightlydark.com/random/sample_clip.png
This junk? Yet another artifact of using Open With. :p Creates an icon-within-an-icon of the program's main icon. I have a few formats still using it; so many things change my icons all the time that I just stopped bothering to change them back. It can be done in the registry (the DefaultIcon key) or in Explorer's file type associator thing.
You're pretty much on the right track with the registry stuff. You have nothing to lose from tinkering, your ogm associations are already messed up anyway. ;) If you do want separate ogm/mkv associations, you need to go the first route, change them all to something like OggMedia, and then tack on the .ogm part with a pointer to the new class instead of MatroskaVideo.
I doubt it'd hurt anything to just have one format, though, aside from seeing them all named Matroska now. :p
You should still make sure to use the Explorer associator to delete the old file association completely first, or at least reset it - if the lower button shows "advanced" it'll use the generic association, if it shows "restore" it's in open with mode and leaves crud in mysterious places I haven't found, so it'll ignore any changes you make in Classes. Restore will reset it though. (Change will set it back into Open With mode.)
Blue_MiSfit
28th February 2007, 13:09
You nailed it foxyshadis :D I was going to make a similar image!
And indeed making .ogm point at the MatroskaVideo class (I think my nomenclature is correct ;)) worked perfectly. I could care less that Windows thinks it's Matroska, because Haali knows better hehe
Anyway, all's well, and I know how to fix this foolish nonsense in the future. What dreadful design Microsoft!
Regards,
~MiSfit
vBulletin® v3.8.5, Copyright ©2000-2012, Jelsoft Enterprises Ltd.