[FFmpeg-user] Image sequence naming convention

Alexander Strasser eclipse7 at gmx.net
Wed Dec 10 00:02:00 CET 2014


Hi Andreas!

On 2014-12-08 19:27 +0100, Andreas Weller wrote:
> I did a bunch of camera shots with my raspberry pi camera. In my script
> I use the following naming scheme for the files created: `date
> --iso-8601=seconds`.jpg
> 
> Now I would like to further process them with ffmpeg.
> 
> What's the correct way to call ffmpeg with these files? Most examples on
> the net simply do it like -f image2 "output_%05d.jpg" - but this
> obviously doesn't work.

  Depending on your build (you need glob) this should work:

  ffmpeg -pattern_type glob -i /tmp/prefix-\*.jpg  <output options>...


  Alexander

P.S.
Just try it, if your build does not have glob support it will error
out telling you so.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 181 bytes
Desc: not available
URL: <https://ffmpeg.org/pipermail/ffmpeg-user/attachments/20141210/b7234e08/attachment.asc>


More information about the ffmpeg-user mailing list