01, 02, ... instead of 1, 2, ... in file naming

3 views
Skip to first unread message

steven.wangen

unread,
Apr 18, 2010, 11:29:02 PM4/18/10
to mdig
Hey Joel -

Have you ever found a naming convention that works in that movie
script that will specify the number of digits for the rep? My movie
will go through frames 1-10, then 2, then 20-29, then 3, then 30-39,
etc. There's the obvious editing of file names, but I was just
curious if there was an argument that can be added to the ${i}
argument to specify the number of digits - haven't been able to find
anything yet.

-Steve


--
Subscription settings: http://groups.google.com/group/mdig-user/subscribe?hl=en

Joel Pitt

unread,
Apr 19, 2010, 10:47:03 PM4/19/10
to mdig...@googlegroups.com
It depends on how you've designed the expression.

I'd probably try to use an explicit for loop across a `seq 1 100`
command (if you were going up to 100).

the convert command just needs an ordered list of pictures to turn
into a movie - and you can create this anyway you like...

You can also put an "echo " in front of the command to see what the
actual command executed is (without actually executing anything)
Reply all
Reply to author
Forward
0 new messages