Hi,
I am trying to convert a image sequence that starts on frame 0001, but image magick keep insisting to give me my output starting from frame 000.
I am using the command:
convert inputSequence.%04d.dpx[1-32] outputSequence.%04d.jpg[1-32]
But my sequence gets renamed to:
inputSequence.0001.dpx >>> outputSequence.0000.jpg
inputSequence.0002.dpx >>> outputSequence.0001.jpg
Am I forgetting any extra option to force Image Magick to start on frame 0001 as it is supposed to?
Thank you very much for you attention
Rodrigo Guimaraes
Convert Image Sequence
- fmw42
- Posts: 25562
- Joined: 2007-07-02T17:14:51-07:00
- Authentication code: 1152
- Location: Sunnyvale, California, USA
Re: Convert Image Sequence
This topic properly belongs in the User's forum.
Magick Scripting Language is quite different from the command line. see http://www.imagemagick.org/script/conjure.php for Magick Scripting and http://www.imagemagick.org/script/convert.php for command line.
If you want to number your output images starting with 1 use -scene 1.
convert inputSequence.%04d.dpx[1-32] -scene 1 outputSequence.%04d.jpg
But note that frame numbers for the input start with 0. So by using 1-32, you are skipping the first frame.
see
http://www.imagemagick.org/script/comma ... .php#scene
http://www.imagemagick.org/script/comma ... php#output
see also
viewtopic.php?f=1&t=16827&p=62303&hilit ... ard#p62306
Magick Scripting Language is quite different from the command line. see http://www.imagemagick.org/script/conjure.php for Magick Scripting and http://www.imagemagick.org/script/convert.php for command line.
I do not believe that you can define frame numbers as [1-32] for output images.convert inputSequence.%04d.dpx[1-32] outputSequence.%04d.jpg[1-32]
If you want to number your output images starting with 1 use -scene 1.
convert inputSequence.%04d.dpx[1-32] -scene 1 outputSequence.%04d.jpg
But note that frame numbers for the input start with 0. So by using 1-32, you are skipping the first frame.
see
http://www.imagemagick.org/script/comma ... .php#scene
http://www.imagemagick.org/script/comma ... php#output
see also
viewtopic.php?f=1&t=16827&p=62303&hilit ... ard#p62306
Re: Convert Image Sequence
Hi Fred
Thanks for clearifying it for me. I used the -scene and now it worked.
Also, thanks for the links. Very handy indeed.
Best regards
Rodrigo Guimaraes
Thanks for clearifying it for me. I used the -scene and now it worked.
Also, thanks for the links. Very handy indeed.
Best regards
Rodrigo Guimaraes