Rendering to disk?

   12706   14   3
User Avatar
Member
11 posts
Joined: July 2005
Offline
I created a small animation and want to render to a file in order to view it in either Real or Divx but can't seem to find the info. I have been saving it as filename.$F.pic or .avi and it saves 300 files..one for each frame..but is there a way to merge them and play them back in one file as a video.

Thanks in advance,
Pete
User Avatar
Member
7710 posts
Joined: July 2005
Offline
I am assuming that you are on Windows. To combine all your images into an .avi file, you will need to use the command line tools. I'll try to outline a series of steps for compressing into DivX on Windows since I've done that before. I'm doing this off the top of my head so please point out any mistakes.

- I am assuming that you have the DivX codec from www.divx.com
- Make sure that you rendered out your images in a resolution that is evenly divisible by 4 in both width and height. This took me awhile before I figured out that the DivX codec was incapable of encoding arbitrary sizes. I just did a web search and apparently if you have the Flask DivX encoder, it only encodes resolutions that are divisible by 16.
- I'll assume that you rendered out your sequence as filename.$F.tiff. If your file sequence was rendered out differently. Then substitute with the appropriate file name below.
- Ok, now from the Start Menu, go to Programs > Side Effects Software > Houdini 5.5.xxx (ie. where you launch Houdini from), and choose Command Line Tools
- This brings up a DOS prompt with its enviroment initialized to use Houdini's command line tools.
- Use the cd command to change your current working directory to where your pictures were rendered. If you've have never done this before, you might want to type help cd first. For example, if you rendered to cmypics. Then type cd /d cmypics
- Now type mcp -f FSTART FEND filename.$F.tiff -o -r FPS -w WIDTH -h HEIGHT filename.avi. Replace FSTART with your first frame number, FEND with your last frame number, FPS with your frame rate, WIDTH with your picture width, HEIGHT with your picture height.
- A dialog will pop up asking you to choose your encoder after entering this command. Find the DivX codec and press the OK button.
- That should be it. You may be tempted to use other codecs to compress but I've found that very little of the default codecs that comes with Windows have encoding capability and even then, poor compression or poor quality. Of course, if you have some other encoding capable codecs installed, then you might want try those but no guarentees.
- Note that if you want more details on how to use mcp, the command is mcp - (that's a single hyphen after mcp)

Hope that helps.
Edited by - Sept. 16, 2003 23:04:14
User Avatar
Member
11 posts
Joined: July 2005
Offline
Thanks edward, I'll give it a shot. Now by Command Lines Tool are you refering to the Textport?

Pete
User Avatar
Member
7710 posts
Joined: July 2005
Offline
No, I mean go to the Start button at the bottom left corner of your screen. Start > Programs > Side Effects Software > Houdini 5.5.xxx > Command Line Tools. It's in the same menu from where you launch Houdini.
User Avatar
Member
11 posts
Joined: July 2005
Offline
Yeah, I figured it out after a little trial and error. I'm going to try it right now and will let you know how I made out.
Thanks,
Pete
User Avatar
Member
11 posts
Joined: July 2005
Offline
Me again edward. I have a small problem..it tells me it can't read in file #1 of 1. Could it be because when I render the file it saves it as a .picnc file ( non-commercial)?

Pete
User Avatar
Member
7710 posts
Joined: July 2005
Offline
oh yeah…. then use filename.$F.picnc instead then.
User Avatar
Member
11 posts
Joined: July 2005
Offline
I tried that..same problem.
User Avatar
Member
7710 posts
Joined: July 2005
Offline
Try this:
mcp -f FSTART FEND filename.$F.picnc -o -r FPS -w WIDTH -h HEIGHT filename.avi

All on one line replacing FSTART with your first frame number and then FEND with your last frame number. If you use $F, then you need to give it a frame range. Replace FPS, WIDTH, HEIGHT as mentioned above.

Edit: er, I meant .picnc of course.
User Avatar
Member
11 posts
Joined: July 2005
Offline
That was it, I owe you a case of beer. I really appreciate it.
Thank you very much. I'm going to cut and paste this somewhere where I'll have it.
You're the man.

Thanks again,
Pete
User Avatar
Member
7710 posts
Joined: July 2005
Offline
No prob. Ok, so for anyone else who is interested, I've modified the original post to take into account everything so you should be able to just save that somewhere for future reference.
User Avatar
Member
10 posts
Joined: July 2005
Offline
edward
No prob. Ok, so for anyone else who is interested, I've modified the original post to take into account everything so you should be able to just save that somewhere for future reference.

How about 9 months in the future? :wink:

Thanks for putting this up for us n00bies!
Never ask a man where he's from. If he's from Texas, he'll tell you soon enough. If he ain't, don't embarass him.
User Avatar
Member
10 posts
Joined: July 2005
Offline
bringing forward again for us nobbies!
Never ask a man where he's from. If he's from Texas, he'll tell you soon enough. If he ain't, don't embarass him.
User Avatar
Member
15 posts
Joined: July 2005
Offline
If you use $F, then you need to give it a frame range

what do u mean use a frame range explain plzzzzzzz



helppppppppp!!!!!!!!!!!!!!!!!!!!!!!!
Todge
User Avatar
Member
225 posts
Joined: July 2005
Offline
If you use $F, then you need to give it a frame range

what do u mean use a frame range explain plzzzzzzz
mcp -f 1 300 …. (for example) for a range of ONE to THREE HUNDRED
  • Quick Links