smok3
9th October 2008, 21:07
a. if i would want to make an automagic sprintf syntax for imagereader using command line tools (scriptable), what could i use?
b. or is there another (absolute way), say making a long script with all few thousand frames mentioned?
c. can i use a more generic syntax like t:\path\*.png or something?
p.s. i have tried an older plugin called coronasequence, but that can't read png files as it seems...
edit: this
imagereader("file_0000.png",start=0,end=0,fps = 25) + \
imagereader("file_0001.png",start=0,end=0,fps = 25) + \
imagereader("file_0002.png",start=0,end=0,fps = 25)
seems to work as RAM playback :), not what i wanted, but interesting find.
edit2: i got coronasequence working with wildcards (it needed full path, like "t:\path\*.png")
--------------------------
edit3: solution, needs warp enterprise imagesequence plugin,
corona.bat
@echo off
echo coronaSequence(^"%~d1%~p1*%~x1^", sort=1) > corona_%~n1.avs
usage:
corona.bat someframe_0000.png
will return file named corona_someframe_0000.avs with something like:
coronaSequence("t:\path\*.png", sort=1)
--------------------------
edit4: or advanced corona.bat, if you need to be a lil more specific
::corona.bat
@echo off
:: cut off last 4 chars from filename string to be used for
:: wildcard starting part of the string
set somestring=%~n1
set somestring1=%somestring:~0,-4%
echo %somestring1%
:: and cut last5 chars for the new avs filename
set somestring2=%somestring:~0,-5%
echo coronaSequence(^"%~d1%~p1%somestring1%*%~x1^", sort=1) > corona_%somestring2%.avs
echo window will autoclose in 10s...
sleep 10
b. or is there another (absolute way), say making a long script with all few thousand frames mentioned?
c. can i use a more generic syntax like t:\path\*.png or something?
p.s. i have tried an older plugin called coronasequence, but that can't read png files as it seems...
edit: this
imagereader("file_0000.png",start=0,end=0,fps = 25) + \
imagereader("file_0001.png",start=0,end=0,fps = 25) + \
imagereader("file_0002.png",start=0,end=0,fps = 25)
seems to work as RAM playback :), not what i wanted, but interesting find.
edit2: i got coronasequence working with wildcards (it needed full path, like "t:\path\*.png")
--------------------------
edit3: solution, needs warp enterprise imagesequence plugin,
corona.bat
@echo off
echo coronaSequence(^"%~d1%~p1*%~x1^", sort=1) > corona_%~n1.avs
usage:
corona.bat someframe_0000.png
will return file named corona_someframe_0000.avs with something like:
coronaSequence("t:\path\*.png", sort=1)
--------------------------
edit4: or advanced corona.bat, if you need to be a lil more specific
::corona.bat
@echo off
:: cut off last 4 chars from filename string to be used for
:: wildcard starting part of the string
set somestring=%~n1
set somestring1=%somestring:~0,-4%
echo %somestring1%
:: and cut last5 chars for the new avs filename
set somestring2=%somestring:~0,-5%
echo coronaSequence(^"%~d1%~p1%somestring1%*%~x1^", sort=1) > corona_%somestring2%.avs
echo window will autoclose in 10s...
sleep 10