Hey guys,
So today I was cleaning up my hard drive and found some mkv files with covers embedded in them. Now these covers were unrelated attachments to the movie so I decided to remove them using mkvpropedit and the JMkvpropedit GUI, however adding and removing the cover attachment seemed like a tiring job as I had a bunch of them. So I created a simple batch script that I could drag and drop files into which seemed like a simple solution
I also made a script to add jpg covers (main cover and small-size cover)Code:%~dp0/mkvpropedit %* --delete-attachment "1" --delete-attachment "2" --delete-attachment "3" --delete-attachment "4"
Make sure, mkvpropedit and the cover.jpg, small_cover.jpg files are in the same directory as the batch file.Code:%~dp0/mkvpropedit %* --add-attachment "%~dp0cover.jpg" --add-attachment "%~dp0small_cover.jpg"
Hope this helps someone. You can edit them and make similar scripts. mkvpropedit is part of MKVToolnix
+ Reply to Thread
Results 1 to 3 of 3
-
-
Can you please elaborate as to how exactly do you remove the jpg attachments
As in, an easy to follow tutorial.
Thanks for your help -
@koolestani Use this script to remove covers from all .mkv files in the current directory
(Windows batch script)
Code:set MKVTOOLNIX_BIN="C:\Program Files\MKVToolNix\mkvpropedit.exe" for %%a in (*.mkv) do ( echo Modifyfing info within "%%a" %MKVTOOLNIX_BIN% "%%a" --delete-attachment mime-type:image/jpeg ) echo All files processed.



Quote