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
Rendering to disk?
12723 14 3- PeterV
- Member
- 11 posts
- Joined: July 2005
- Offline
- edward
- Member
- 7721 posts
- Joined: July 2005
- Online
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.
- 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
- PeterV
- Member
- 11 posts
- Joined: July 2005
- Offline
- edward
- Member
- 7721 posts
- Joined: July 2005
- Online
- PeterV
- Member
- 11 posts
- Joined: July 2005
- Offline
- PeterV
- Member
- 11 posts
- Joined: July 2005
- Offline
- edward
- Member
- 7721 posts
- Joined: July 2005
- Online
- PeterV
- Member
- 11 posts
- Joined: July 2005
- Offline
- edward
- Member
- 7721 posts
- Joined: July 2005
- Online
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.
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.
- PeterV
- Member
- 11 posts
- Joined: July 2005
- Offline
- edward
- Member
- 7721 posts
- Joined: July 2005
- Online
- jcarney
- 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.
- jcarney
- Member
- 10 posts
- Joined: July 2005
- Offline
- todge666
- Member
- 15 posts
- Joined: July 2005
- Offline
- tallkien
- Member
- 225 posts
- Joined: July 2005
- Offline
-
- Quick Links