[FFmpeg-devel] Patch for timestamp pattern in filename
Stefano Sabatini
stefasab at gmail.com
Thu Jan 29 11:26:06 CET 2015
On date Wednesday 2015-01-28 14:03:06 +0100, Matthijs Tempels encoded:
> From 15952b6cb38ac2f532a2f35d50e9dc4f8320c1c5 Mon Sep 17 00:00:00 2001
> From: Matthijs Tempels <matthijs at townsville.nl>
> Date: Wed, 28 Jan 2015 13:59:54 +0100
> Subject: [PATCH] Added the %t option to the filename pattern to add a
> yyyyMMdd_HHmmssfff pattern to the filename
>
> ---
> libavformat/utils.c | 18 +++++++++++++++++-
> 1 file changed, 17 insertions(+), 1 deletion(-)
This is not documented anywhere.
Also what's your use case?
Did you have a look at:
commit 202947a0665ea523022afb0a6c50eed96bcd6b69
Author: Pedro E. M. Brito <pedroembrito at gmail.com>
Date: Sun Dec 28 05:35:34 2014 -0200
libavformat/segment.c: Add strftime expansion for segment filename templates
Allows expansion of the filename template with strftime() with the option
-strftime 1 (disabled by default). This allows segments to be named by time of
creation, adding some flexibility.
Fixes Ticket 4104 (add strftime to segment muxer)
?
In case it fixes the problem for you, you could consider documenting
the option in doc/formats.texi.
--
FFmpeg = Free & Fabulous Merciful Portable Elitarian Gargoyle
More information about the ffmpeg-devel
mailing list