How to get AVS to open with MPC-HC?

2 posters

Go down

How to get AVS to open with MPC-HC? Empty How to get AVS to open with MPC-HC?

Post by OnlyOne Wed Apr 22, 2015 9:08 pm

How do I get an Avisynth file to open with MPC-HC when I right-click it and press "play" in the windows context menu? I accidentally accomplished this in Windows XP but I forgot how I did it. My intention back then was to get MPC-HC to show up in the "Open with" list because it didn't. But then I was satisfied with how useful it was to accomplish this just by pressing "play". I'm on Windows 7 now.
I want notepad to be the default program to open .AVS with but to be able to conveniently open with AVS when I want to.

OnlyOne

Posts : 33
Join date : 2013-03-08

Back to top Go down

How to get AVS to open with MPC-HC? Empty Re: How to get AVS to open with MPC-HC?

Post by Admin Wed Apr 22, 2015 10:43 pm

MPC-HC should show up in the "Open with" menu. If not, you can add it yourself.

Using the play command would require messing with the Registry to manually create that association.

Admin
Admin

Posts : 7384
Join date : 2011-06-17

https://codecs.forumotion.net

Back to top Go down

How to get AVS to open with MPC-HC? Empty Re: How to get AVS to open with MPC-HC?

Post by OnlyOne Sun Apr 26, 2015 8:45 am

It does show up in open with menu but it's more convenient with the play button. Yes I messed with the registry to do it last time. On Windows XP MPC wasn't showing up in the Open With menu so I was trying to force it in via the registry and accidentally I ended up registering MPC to the Play button in the context menu and I was pleased with this serendipity.

But now I am on Windows 7 and I totally forgot how I did this registry trick.

OnlyOne

Posts : 33
Join date : 2013-03-08

Back to top Go down

How to get AVS to open with MPC-HC? Empty Re: How to get AVS to open with MPC-HC?

Post by Admin Sun Apr 26, 2015 1:37 pm

Something like this:
Code:
Windows Registry Editor Version 5.00

[HKEY_CLASSES_ROOT\avsfile\shell\play]
@="&Play with MPC-HC"
"Icon"="C:\\Program Files (x86)\\K-Lite Codec Pack\\MPC-HC\\mpc-hc.exe,0"

[HKEY_CLASSES_ROOT\avsfile\shell\play\command]
@="\"C:\\Program Files (x86)\\K-Lite Codec Pack\\MPC-HC\\mpc-hc.exe\" \"%1\""
Assuming the current file association uses avsfile as ProgID. You can see in HKEY_CLASSES_ROOT\.avs which ProgID is used.

Admin
Admin

Posts : 7384
Join date : 2011-06-17

https://codecs.forumotion.net

Back to top Go down

How to get AVS to open with MPC-HC? Empty Re: How to get AVS to open with MPC-HC?

Post by OnlyOne Mon Apr 27, 2015 6:30 am

Thank you! You are a god. In XP the trick must've been in HKEY_CLASSES_ROOT\.avs but in Windows 7 there is nothing there.
There's no ProgID. Oh well.
Thanks again.

OnlyOne

Posts : 33
Join date : 2013-03-08

Back to top Go down

How to get AVS to open with MPC-HC? Empty Re: How to get AVS to open with MPC-HC?

Post by Admin Tue Apr 28, 2015 1:57 pm

Look at
HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\Explorer\FileExts\.avs\OpenWithProgids

Admin
Admin

Posts : 7384
Join date : 2011-06-17

https://codecs.forumotion.net

Back to top Go down

How to get AVS to open with MPC-HC? Empty Re: How to get AVS to open with MPC-HC?

Post by OnlyOne Tue Apr 28, 2015 11:49 pm

Ah yes, it does say avsfile. Everything is good. Thanks Admin.
By the way, the previous question I asked about working with 10-bit video in avisynth is doable by working with the stack16 trick from dither tools. It's rough but it works.
And I know the question wasn't entirely relevant to KLCP so I didn't mean to clutter up the board.

OnlyOne

Posts : 33
Join date : 2013-03-08

Back to top Go down

How to get AVS to open with MPC-HC? Empty Re: How to get AVS to open with MPC-HC?

Post by Sponsored content


Sponsored content


Back to top Go down

Back to top


 
Permissions in this forum:
You cannot reply to topics in this forum