Copy file attributes with ffmpeg

1

I'm using the following command to remux audio with ffmpeg (i.e. to copy audio stream to another video file):

ffmpeg -i ../../data/1.mp4 -i out.avi -c copy -map 0:0 -map 1:0 -shortest out.mp4

Is there a possibility to also copy the file attributes (timestamp of video file and of frames etc.)?

machinery

Posted 2018-04-07T18:06:53.140

Reputation: 137

Please specify what you mean exactly by the timestamp of the video file. Is it the file creation / modification date? Or possibly EXIF metadata inside the file? And what do you mean with timestamps of video frames? These are copied over to the output file anyway. – slhck – 2018-04-08T10:20:11.837

@slhck I mean EXIF metadata inside the file. With timestamps of video frames I mean absolute timestamp of each frame or timestamp of each frame relative to start of video. – machinery – 2018-04-08T13:40:29.047

No answers