I have got an image sequence that I need convert to another format. It's very
important that I keep the original name prefix and the first sequental number.
The script is suppose to work like this : I drag 'n drop a folder containing a sequence.
It reads the content and generates a playlist file. Then a render program uses this
playlist file to identify the order of the sequence and the format.
Then it converts it to another format with the same name prefix and start frame.
example of playlist:
201_02_C1_01_01_0000333.tif
201_02_C1_01_01_0000334.tif
201_02_C1_01_01_0000335.tif
201_02_C1_01_01_0000336.tif
201_02_C1_01_01_0000337.tif
201_02_C1_01_01_0000338.tif
201_02_C1_01_01_0000339.tif
201_02_C1_01_01_0000340.tif
201_02_C1_01_01_0000341.tif
201_02_C1_01_01_0000342.tif
@echo off
--create sequence playlist (this I was able to do :))
dir %1\*.tif /b /o > %1\playlist.txt
--autmatically get sequence name prefix code ??? - help
201_02_C1_01_01 = %prefix%
--autmatically get sequence first sequential number code (which is 0000333) ??? - help
0000333 = %number%
c:\render\custom_convert_render.exe %1\playlist.txt c:\test\%prefix%_%number%.dpx
exit
The custom convert render works like this :
[.exe] [playlist] [new fileformat]
I hope you can understand this, can you help me out to fill in the huge gaps ? 8-)
PeZiK