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

Michael Niedermayer michaelni
Thu Jan 6 23:28:53 CET 2011

On Thu, Jan 06, 2011 at 03:42:36PM -0500, Brian Olson wrote:
> 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 ?

depends on how you expand my "fix the code" :)
it could very well check what files are in the directory and match them against
the pattern.


> 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.

wordexp is more powerfull, yes, you can even do $(echo foobar >> ~/.bashrc)
this is something that we shouldnt just allow by default i think

Michael     GnuPG fingerprint: 9FF2128B147EF6730BADF133611EC787040B0FAB

Avoid a single point of failure, be that a person or equipment.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 198 bytes
Desc: Digital signature
URL: <http://lists.mplayerhq.hu/pipermail/ffmpeg-devel/attachments/20110106/646158e1/attachment.pgp>

More information about the ffmpeg-devel mailing list