How to edit and modify metadata and covers in Matroska MKV files, Puddletag and EasyTag only allows me in mp3 and mp4?
Maybe MKVToolNix could help. It is available in the Gnome Software Store as Flatpak and APT Package:
Sorry, MKVToolnix doesn't work for me. With this program I can add covers but I can't extract them afterwards, and I can't view the metadata that I'm interested in and use, year, artist, genre, etc.
I've currently solved it with Windows, the problem is that with Linux, I can't find the equivalent to the Windows program. EasyTag and Puddletag do work for mp3 and mp4, but not for mkv, I think the codecs are missing.
On Windows you need to install Download K-Lite Codec Pack Full Lite Codec to be able to work with MKV with the covers and metadata, but I don't know about it on Linux.
Hmm ... Maybe Tagger could help. But the Problem ist, that I don't know if it supports MKV Files. There are supported File Types written but there stands ''and more''.
It doesn't work. Thank you for your attention.
I use ffmpeg
for this.
Sadly, it doesn't have a GUI so you have to use the terminal.
Here are some examples
- View The Metadata of The File:
ffmpeg -hide_banner -i "video-name.mkv"
- Set/Edit Metadata:
ffmpeg -hide_banner -i "video-name.mkv" -c copy -map 0 -metadata title="Your Title" -metadata artist="Artist Name" -metadata comment="Comments go here" output.mkv
-metadata metaname="metavalue"
(replace metaname and metavalue)
- Set Thumbnail/Cover:
ffmpeg -hide_banner -i "video-name.mkv" -attach "cover.jpg" -map 0 -c copy -metadata:s:t mimetype="image/jpg" -metadata:s:t:0 filename="cover.jpg" "output.mkv"
- Extract the Embedded Thumbnail/Cover:
ffmpeg -hide_banner -i "video-name.mkv" -map 0:v -map -0:V -c copy cover.jpg
-x-
Note: Using ffmpeg
will be pain in the eyes in the beginning due to lots of output text and scrolling .
But, it's really a good tool.
I have installed Puddletag and Avidemux. With Avidemux I convert video files from MKV to MP4 and everything is fine.
This topic was automatically closed 90 days after the last reply. New replies are no longer allowed.