Looking at the docs, it is not apparent to me whether ffmpeg would allow me to convert an image sequence to a video in reverse order, for example using this sequence:
frame-1000.jpg
frame-999.jpg
frame-998.jpg
...
frame-1.jpg
Is it possible to give a "step direction" for the frame indices?
Due to happenstance of your naming scheme, you're in luck.
FFmpeg's image sequence demuxer has a start number option and I've confirmed that it accepts negative values.
So,
Here the '-' has to be interpreted as part of the number series, so it's
frame%d
and notframe-%d
.There is a reverse video filter, so something like
ffmpeg -i frame-%d.jpg -vf reverse reversed.mp4
would work also.