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

Brian Olson icic
Fri Dec 31 18:11:26 CET 2010


It seemed cumbersome to me to have to symlink/rename my image sequence files to fit
ffmpeg -i prefix%05d.jpg
so I hacked libavformat/img2.c to use <wordexp.h> file globbing, and now I can
ffmpeg -i '*.jpg'
(and other shell-expnsion patterns like ? * [] {})

This is my first attempt at submitting to ffmpeg. I hope you like it. Feedback welcome. Hopefully I didn't break the conventions too much.

Brian Olson
http://bolson.org/

-------------- next part --------------
A non-text attachment was scrubbed...
Name: img2_wordexp.diff
Type: application/octet-stream
Size: 3887 bytes
Desc: not available
URL: <http://lists.mplayerhq.hu/pipermail/ffmpeg-devel/attachments/20101231/e368df19/attachment.obj>



More information about the ffmpeg-devel mailing list