00:41
I would like to preserve the creation time metadata when I convert videos using ffmpeg/avconv. Here is the file I'm trying to convert:
$ ffmpeg -i in.avi
ffmpeg version 0.8.6-4:0.8.6-0ubuntu0.12.04.1, Copyright (c) 2000-2013 the Libav developers
built on Apr 2 2013 17:00:59 with gcc 4.6.3
Input #0, avi, from 'in.avi':
Metadata:
creation_time : 2013-08-12 06:59:14
encoder : CanonMVI06
Duration: 00:00:12.26, start: 0.000000, bitrate: 14549 kb/s
Stream #0.0: Video: mjpeg, yuvj422p, 640x480, 30 tbr, 30 tbn, 30 tbc
Stream (...)
00:12
I have this command that I run via cmd in a folder and it executes without problems:
for %i in (*) do ffmpeg -y -i "%i" -vcodec copy -acodec copy -map 0:v -map 0:a "%i.mp4"
Now I want to create a batch file that I can just open and it will execute this command in the current folder.
However for the life of me I cannot get anything to work.
Ive tried googling the answer and tried lots of answers from here also, but it seems my knowledge is lacking a bit.
If anyone can give any tips that would be appreciated, thanks.
I apologize beforehand if something is blatantly (...)