I am trying to copy metadata for encoded mp4 files from the source file and I have found this command that does exactly this.
I would like to write this command to batch process an entire directory on linux but not sure how?Code:ffmpeg -i source.mov -i encoded.mp4 -map 1 -map_metadata 0 -c copy encoded_fixed.mp4
I guess it should start with something like this?
Code:for i in *.mov do ???
+ Reply to Thread
Results 1 to 4 of 4
-
-
-
Thank you. It's something like that I need but I could not get it to work.
The example used is assuming both in and out file have the same name and ending. In my case the source is .mov and the out is .mp4 and I don't know how to edit that script to make that work? -
Given my limitied programming skills, I renamed the mp4 files to mov, ran the script and renamed them back.
Similar Threads
-
MKV Batch Metadata Removal Tool - JMkvPropedit??
By BJ12 in forum Newbie / General discussionsReplies: 18Last Post: 13th Apr 2021, 19:18 -
ffmpeg remove metadata
By osmium in forum EditingReplies: 2Last Post: 18th Feb 2020, 12:57 -
ffmpeg: Extract Video and KLV Metadata
By leket in forum Newbie / General discussionsReplies: 2Last Post: 5th Sep 2018, 06:12 -
(HELP PLEASE) FFmpeg - Batch Remove metadata
By uppon2 in forum Newbie / General discussionsReplies: 14Last Post: 3rd Jun 2016, 06:47 -
Can somebody explain the FFMPEG usage of -metadata ?
By Videogamer555 in forum EditingReplies: 7Last Post: 15th May 2015, 15:06