Edit video Metadata without losing quality

1

I want to edit video metadata (mp4, mkv in x264) on linux without losing quality. ffmpeg re-encode the video, I don't want that. Is there a solution or an another program ?

This is my solution actually :

ffmpeg -i VIDEO_IN -vcodec copy -acodec copy -metadata title="$title" VIDEO_OUT

Kaayo25

Posted 2017-05-18T23:42:07.603

Reputation: 73

2What's wrong with your example command? It should not re-encode. – llogan – 2017-05-19T00:03:08.973

1I think the use of the word copy in the command is what is confusing the original poster. It seems to imply re-encoding if you don’t understand the idea when the reality—and it depends on the format—the streams are just copied and remuxed meaning new file is created but encoding doesn’t happen again. I think I got it right? If not I’ll get a wet noodle immediately. – JakeGould – 2017-05-19T04:05:34.987

No answers