[FFmpeg-user] is it possible to add meta data of encoded date

Moritz Barsnick barsnick at gmx.net
Wed Mar 9 15:20:12 CET 2016


On Tue, Mar 08, 2016 at 23:33:11 -0500, jim shupert wrote:
> ffmpeg -i input -c copy -map 0 -metadata creation_time="2013-07-24 
> 10:13:48" output.mp4
[...]
> What am i missing that will enable me to 'punch in' this meta data While 
> transcoding

Well, then while transcoding, add this to your command:
  -metadata creation_time="`date +'%F %T'`"
(i.e. using the Unix/GNU date command and backticks).

Note that this will record the time when your command is launched, not
when it is finished.

Moritz


More information about the ffmpeg-user mailing list