[Ffmpeg-devel] [PATCH] Wildcard and catalog image sequences

Michel Bardiaux mbardiaux
Tue Aug 29 16:18:35 CEST 2006


First attempt, awaiting comments.

Basic idea: -fimage2 supporting 2 new kinds of (input) sequences:

-f image2 'dir/x*.jpg' Guess what?

-f image2 @some_url where some_url designates a text file (or whatever)
containing the url of each image, 1 per line.

There are a few pending issues:

1. In img.c (-fimage) I support only numbered. It supports only
    GIF now and will be deprecated. IMHO no debate.

2. Numbered sequences only for output. IMHO no debate.

3. Wildcard patterns use only * and ? (no [] or {} as in most
    UNIX shells). Assume /-separated path components.
    Case-sensitive. Sorted case-sensitive. Using opendir.
    The latter is autoconfigured, but I have no idea how to correctly 
support
    case-insensitivity and / in filenames, since cross-compilation has to
    be supported.

4. In @-sequences, I trim any \r or space at end of line. Debatable.

5. No doc patch yet.

Cheers,
-- 
Michel Bardiaux
R&D Director
T +32 [0] 2 790 29 41
F +32 [0] 2 790 29 02
E mailto:mbardiaux at mediaxim.be

Mediaxim NV/SA
Vorstlaan 191 Boulevard du Souverain
Brussel 1160 Bruxelles
http://www.mediaxim.com/
-------------- next part --------------
An embedded and charset-unspecified text was scrubbed...
Name: wild-20060829T140600Z.pat
URL: <http://lists.mplayerhq.hu/pipermail/ffmpeg-devel/attachments/20060829/b14e103f/attachment.asc>



More information about the ffmpeg-devel mailing list