[FFmpeg-devel] Patch for timestamp pattern in filename

Stefano Sabatini stefasab at gmail.com
Fri Jan 30 14:56:25 CET 2015

On date Friday 2015-01-30 14:13:53 +0100, Matthijs Tempels encoded:
> Hi, Just missed you on IRC :-/
> > Op 30 jan. 2015, om 12:59 heeft Stefano Sabatini <stefasab at gmail.com> het volgende geschreven:
> > The simpler approach I can image is to add another option like
> > -epoch_micros which replaces a %Nd pattern with a number of
> > microseconds since epoch (you can extract and parse them later).
> > At some point we would need something more generic, supporting things
> > like:
> > 
> > %{strftime:%Y-%m-%d_%H:%M:S}-%{gettimeofday:%m}
> > 
> > similar to what is done in drawtext (see text expansion).
> Yes i found that to make time captions in a video.. it would be great to have the same mechanism work for the filenames and media titles etc etc 

OTOH, I'm not against a simple -timeofday option in segment.c printing
a *specific* time specification, if that solves the problem for
you. Then we can deprectate it if we come with a more generic
FFmpeg = Fantastic and Fast Miracolous Portable Exuberant Guru

More information about the ffmpeg-devel mailing list