PDA

View Full Version : Convert chapters using Winbatch script


FrozenDog
15th February 2008, 21:52
Greets all, lately I've been working on PAL->NTSC conversions and wanted to convert and import chapters into Scenarist. (I'm using version 3.1.0.193444 along with SceneImport v1.2) I searched but the only information I could find was that I had to convert chapter timings manually. So I wrote a little Winbatch script to do the calculations for me. I originally set the script for pal->ntsc only, but later realized I could use it for any frame rate conversion in either format working in drop frame or non-drop frame mode.

Some of you might be using Scenarist v3.1.5 which Sonic added chapter import but in comma separated value format. So, I added the option to output a .csv file as well.

In order to play with this script, you'll need to download and install Winbatch(free w/nag screen) (http://www.winbatch.com/) and have a copy of IFOUpdate (http://www.jdobbs.com/Pages/Downloads.htm).


modified script - no extra files needed
allows for ripping from virtual drive to alternate location
NOTE: this script will not convert from NTSC->PAL.

FrozenDog
1st March 2008, 23:53
After further testing, I learned that the above script does not properly handle calculations when converting from NTSC to PAL. Since my final objective was to output an NTSC title, I had no reason to test the PAL functionality. This re-written script will now convert chapters from NTSC-->PAL. Also added the option to output a MAESTRO.CHP file after reading this post (http://forum.doom9.org/showthread.php?t=135392).