Message 1 of 1
Post-render to convert image files to AVI (programatic RAMviewer)
Not applicable
11-23-2019
01:56 PM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report
I sometime need to avoid using the manual process of RAMviewer to put together a series of different camera videos on the same scene, but have higher video quality not available if I specify the AVI format in 3dsmaxcmd. My program will take the height/width of the first encountered image file and use that as the H/W of the AVI file, maintaining quality.
I am providing a free tool with examples in a binary release., and the java source on github.
A use example looks like:
for %%A in (
PreviewCamera002
PreviewCamera003
PreviewCamera004
PreviewCamera005
) do (
set camera=%%A
call:3dsmaxcmdFunc
)
goto:eof
:3dsmaxcmdFunc
echo Rendering Batch: %camera%
3dsmaxcmd ^
"%scene%" ^
-outputName "%BASE% %camera% %SFX%" ^
-camera %camera% -start %startFrame% -end %endFrame% -nthFrame %nthFrame% -width %width% ^
-height %height% -pixelAspect 1 -showRFW:0 -skipRenderedFrames:1 -sceneState "%sceneState%" -continueOnError ^
-preset "%preset%"
java -jar "C:/Program Files/Java/imageToVideo.jar" -r "%BASE% %camera% ????%SFX%" "%BASE% %camera%.avi"
goto:eofYou are most welcome.