[FFmpeg-devel] [patch] allow wordexp globs in image2 file sequence import

Brian Olson icic
Thu Jan 6 21:42:36 CET 2011

On Jan 5, 2011, at 4:27 PM, Michael Niedermayer wrote:

> On Tue, Jan 04, 2011 at 08:44:58AM -0500, Brian Olson wrote:
>> On Jan 4, 2011, at 12:19 AM, Michael Niedermayer wrote:
>>> Theres another question i have unless i missed it. For what use case is this
>>> intended?
>> My files are numbered, but not trivially sequentially numbered. They're date-time stamps, %Y%m%d_%H%M%S.jpg or 20110104_080700.jpg
>> With the right wordexp pattern I could grab the files every minute in a day, every hour for the last week, or other patterns.
> %d_%06d.jpg
> will work too if you fix the code
> i dont think this needs non standard dependancies

Won't that then count up one by one? 00000000_000001.jpg through 99999999_999999.jpg ?
Reporting that it has several million frames if the first one is 20110101_010100.jpg and the last 20110103_235900.jpg ?
Or does it even get past the first one that isn't there?
How do I specify skips, to only use the frames at even one minute, ten minute, or one hour intervals, or other intervals?
I think all of these things are cleaner my way.

More information about the ffmpeg-devel mailing list