Jump to content

Video as an animated texture source.


hopbin9

Recommended Posts

Yes, this is possible. Someone please correct me if this is wrong. You'll have to convert the video to just single frame images first. When plugging in the image file use $F to represent which image of the sequence you want ($F is local variable for the current frame). Or use $F4 for padding of four, $F5 for padding of five, etc. An example is below to give you an idea.

Image sequence for texture:

image0001.png

image0002.png

image0003.png

image0004.png

image0005.png

image...

Example path for Houdini:

$HIP/textures/image$F4.png

Link to comment
Share on other sites

Thanks,

I can do that, but was wondering if I can avoid having to convert the video to image sequences.

As far as I know the Texture VOP node supports only single frame image formats. You'll have to convert the video to images first. Any compositing application should handle this or if you don't have access to any you can use ffmpeg, replace the paths and width/height accordingly.

ffmpeg -i foo.avi -r 1 -s WxH -f image2 foo-%04d.png

Link to comment
Share on other sites

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.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...