Play AVS Script in Windows Media Player

View previous topic View next topic Go down

Play AVS Script in Windows Media Player

Post by MysteryX on Sun Jun 14, 2015 4:19 am

I'm having issues playing AVS (AviSynth) script files in Windows Media Player. I actually need to play those in the WMP ActiveX control within an application. I first ask users to install K-Lite Codec Pack Basic.

Someone recommended me to go in Codec Tweak Tool, Preferred Splitters, and change AviSynth Script to LAV. That worked for the WMP ActiveX, but not WMP stand-alone application, for a while, but after playing with installs even that doesn't work anymore on my computer.

When I try to play a file in WMP, it doesn't do anything, it simply refuses to play because it doesn't recognize the codec. The only way to play it is File | Open, select the file, it complains it doesn't recognize the codec, but this time the file shows up in the playlist and I can double-click on it and this time it will play.

It *can* play the file but refuses to try. How can I get WMP to recognize AVS files and attempt to play them? Is there a way to achieve that configuration programmatically?

MysteryX

Posts : 3
Join date : 2015-06-14

View user profile https://www.spiritualselftransformation.com

Back to top Go down

Re: Play AVS Script in Windows Media Player

Post by Admin on Mon Jun 15, 2015 12:01 am

This will remove the unknown file type warning:
Code:
Windows Registry Editor Version 5.00

[HKEY_LOCAL_MACHINE\SOFTWARE\Wow6432Node\Microsoft\Multimedia\WMPlayer\Extensions\.avs]
"PerceivedType"="video"
"Permissions"=dword:0000000f
"Runtime"=dword:00000007

Admin
Admin

Posts : 2987
Join date : 2011-06-17

View user profile http://codecs.forumotion.net

Back to top Go down

Re: Play AVS Script in Windows Media Player

Post by MysteryX on Mon Jun 15, 2015 4:53 am

Great, that works for Windows Media Player stand-alone, but not for Windows Media Player ActiveX control. We're getting close!

What else could cause the ActiveX control to fail?

MysteryX

Posts : 3
Join date : 2015-06-14

View user profile https://www.spiritualselftransformation.com

Back to top Go down

Re: Play AVS Script in Windows Media Player

Post by MysteryX on Mon Jun 15, 2015 3:07 pm

Damit. I found the problem. My fault!

I had added a line of code for testing that shouldn't be there.

MysteryX

Posts : 3
Join date : 2015-06-14

View user profile https://www.spiritualselftransformation.com

Back to top Go down

Re: Play AVS Script in Windows Media Player

Post by Sponsored content Today at 10:49 pm


Sponsored content


Back to top Go down

View previous topic View next topic Back to top


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