IIIROFLIII Posted April 20, 2020 Share Posted April 20, 2020 Hi All, I have a little question about Mplay. I want to make an HDA which can launch a sequence image file in Mplay. Actually I use the subprocess.Popen(['mplay', 'path']) command. But I want to configure this Mplay session (setting FPS and other things;) But I don't understand how to do it. I search in the documentation and internet, and I can't find a hou.something which can launch Mplay, maybe to have a connection between Mplay and the current houdini session. Can you give me a basic structure of python code to do this kind of things? Thanks Quote Link to comment Share on other sites More sharing options...
msmahesh Posted April 27, 2020 Share Posted April 27, 2020 import subprocess subprocess.Popen(r"C:\Program Files\Side Effects Software\Houdini 18.0.391\bin\mplay.exe -f 1 100 1 -r 30 D:\Houdini\render\preview\v014\v014.$F.jpg") you can use flags to configure mplay session like -f for frame range -r for fps etc, check out the docs for more info: https://www.sidefx.com/docs/houdini/mplay/mplay_options.html Quote Link to comment Share on other sites More sharing options...
IIIROFLIII Posted April 27, 2020 Author Share Posted April 27, 2020 Oh god exactly what I need, Thanks msmahesh ! Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.