On date Thursday 2013-07-18 19:21:36 -0300, Ramiro Polla encoded:
Hello,
Attached patch adds option to use strftime() for img2enc filename, as such: ffmpeg -f video4linux2 -r 1 -re -i /dev/video0 -strftime 1 "%Y-%m-%d_%H-%M-%S.jpg"
Ramiro
From 5af884e6129f4dbac5ea06a50c3127fc89726e98 Mon Sep 17 00:00:00 2001 From: Ramiro Polla <ramiro.polla@gmail.com> Date: Thu, 18 Jul 2013 19:17:11 -0300 Subject: [PATCH] img2enc: add option to use strftime() for filename
--- libavformat/img2enc.c | 11 +++++++++++ 1 file changed, 11 insertions(+)
Please send documentation updates, also the example stays better in the docs than in the log. Also note that this solution is suboptimal, since we should support some form of pattern or an expansion mode like for the image2 demuxer. -- FFmpeg = Faithless Frenzy Murdering Ponderous Evil Gymnast