setup mplay.exe like framecycler...

   3302   3   1
User Avatar
Member
78 posts
Joined: April 2008
Offline
Is there a commandline switch to set mplay.exe up so that if I double click (on win64 here) on a single file in a sequence it will open it in mplay.exe and load the entire sequence. I took a look at the commands and the -f command looks right, but you have to substitute the frame number for $F and fill in youself the sequence start, end and step… I'm not a scripting kind of guy but I assume this should be doable… no?

I made 3 .tga files called bob_1.tga, bob_2.tga, bob_3.tga. I dumped them into the /bin folder just to test with…

mplay.exe -f 1 3 1 bob_$F.tga

Gives me the desired result, but That dosen't really help me for just double clicking in windows (or using open with…) and pointing win to the shortcut (with commandline switches) of mplay….

Thanks for the help.

Michael
http://www.elementvfx.com [elementvfx.com]
User Avatar
Member
78 posts
Joined: April 2008
Offline
I think I have it setup correctly (the second one you made) but when I drag onto it nothing happens… Is it possible I don't have the right version of python installed?
http://www.elementvfx.com [elementvfx.com]
User Avatar
Member
1390 posts
Joined: July 2005
Offline
If you didn't install it manually, you don't have it for sure. By default it should be in CPython2.5/. 2.4 is also fine. It must be also in your PATH. Does > python call in command line respond? If not, you should add Python path to your env. variable.

If you don't have python at all, theoretically you could use Houdini's one for that, but I've never tried this. You should have a Python interpreter on your system anyway, so go and grab it: http://www.python.org/download [python.org]


cheers,
sy.

PS I haven't used it for a while since I'm now mostly on Linux but I hope it should still work with new h9.1. If not I'll fix it anyway.
  • Quick Links