[FFmpeg-user] Video creation date in output filename.

Francois Visagie francois.visagie at gmail.com
Thu Oct 24 08:10:28 CEST 2013


> -----Original Message-----
> From: ffmpeg-user-bounces at ffmpeg.org [mailto:ffmpeg-user-
> bounces at ffmpeg.org] On Behalf Of sg at teksavvy.com
> Sent: 23 October 2013 21:19
> To: ffmpeg-user at ffmpeg.org
> Subject: [FFmpeg-user] Video creation date in output filename.
> 
> Hi,
> 
> I'm sure there's a way to do this, but I wasn't able to find it online.
> Maybe I'm confusing the use of metadata.
> 
> What I'd like to do is have ffmpeg create an output filename based on the
> input video's creation date. So have the output filename look something
like
> 20131023-blah.avi
> 
> Is this possible?

You should be able to include environment variables in the filename. On
Windows you can use %DATE% and %TIME%, although your script will need to
filter out special characters like '/' first.



More information about the ffmpeg-user mailing list