Hello everyone,
I'm looking for some help with the creation of a batch file for mkvtoolnix gui.
I have a folder with a lot of mkv files that I want the Header info cleared.
I usually do this manually, by using the header editor in mkvtoolnix gui and select Remove element under the Segment information > title type.
As you can imagine this takes such a long time and is tedious to do for a lot of files.
I am hoping someone can create a batch file to automate this process.
I have a windows laptop and assume video folder is in d drive and mkvtoolnix is installed in default location.
Any help is greatly appreciated as I have no skills in coding for something like this.
[Attachment 58501 - Click to enlarge]
		
			+ Reply to Thread
			
		
		
		
			
	
	
				Results 1 to 2 of 2
			
		- 
	
- 
	Hi. 
 I'm not sure where you're going with this.
 I use ffmpeg to clear the metadata of MP4 & MKV files.
 Perhaps this will be what you need.
 
 Cheers.Code:echo off :: Clear all metadata if not exist NEW\*.* md NEW for %%a in ("*.mp4", "*.mkv") do call :process "%%a" goto :end :process ffmpeg.exe -i "%~1" -map_chapters -1 -map_metadata -1 -metadata title="" -metadata comment="" -c:v copy -c:a copy -y "NEW\%~1" goto :eof :end
Similar Threads
- 
  Easy way to use mkvtoolnix as batch helpBy xonathan in forum Newbie / General discussionsReplies: 3Last Post: 31st Aug 2023, 23:36
- 
  Using MKVtoolnix Chapter EditorBy hurricane1951 in forum EditingReplies: 25Last Post: 13th Feb 2023, 07:56
- 
  Open MKVToolNix GUI in Header Editor by default (instead of Multiplexer)By Moutya in forum Newbie / General discussionsReplies: 4Last Post: 1st Jan 2021, 15:13
- 
  Batch edit with MKVToolnix not working?By Greatestguru in forum Video ConversionReplies: 1Last Post: 4th Sep 2020, 04:42
- 
  Batch header edit with MKVToolNix GUI?By everapt in forum Newbie / General discussionsReplies: 1Last Post: 23rd Mar 2018, 12:07


 
		
		 View Profile
				View Profile
			 View Forum Posts
				View Forum Posts
			 Private Message
				Private Message
			 
 
			
			
 Quote
 Quote