Jump to content
Sign in to follow this  

Capture to disk and Mplay

Recommended Posts

Hi guys,


I'm trying to create a capture and write out a image sequence to disk while viewing it through mplay as it renders via python.


I'm currently using viewwrite, it can write to disk no problem, and it can capture to mplay ok, but it can't do them together. Apparently when using ip or md as the output it's supposed to write the images to $HOUDINI_TEMP_DIR, but it doesn't create any files. I've tried changing the path and using the -s spool directory augment, makes no difference.

Also tried using a openGL ROP, but same result.


Does anybody know of another method, or a way to get this to work? Any help would be appreciated.


I'm running Linux Centos 6 & Houdini 13.0.376 if it helps.



Share this post

Link to post
Share on other sites

So I contacted support and asked them about this, and they said that Flipbooking sends the images directly to mplay via network sockets, and that the docs are out of date (the -s spool directory command and the $HOUDINI_TEMP_DIR for viewwrite aren't used anymore).

That means viewwrite won't save any images to disk, no matter how nicely you ask it. And there's no alternative, you can't have mplay playing back the images while saving them to disk.


In short, this can't be done, you either can use mplay or save to disk, not both.

Share this post

Link to post
Share on other sites


Has any progress been made on this? I realise you can write to disk using 

viewwrite -f 1 10 Build.panetab1.world.persp1 '$F.jpg'

and write to mplay using

viewwrite -f 1 10 Build.panetab1.world.persp1 ip

but I'd really like a way to script writing images to disk from mplay. Even knowing if/where mplay temp images are located would be a start.

Share this post

Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
Sign in to follow this