Super User is a question and answer site for computer enthusiasts and power users. It's 100% free, no registration required.

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

I have a whole pile of MPEG2 and MP4 files. I want to add metadata to the files, such as title, author, year, etc. I can use AtomicParsley to add this information to MP4 files, but I can't see how to do this with MPEG2 files. Is this possible? If so, are there any linux FLOSS command line tools to add this data?

share|improve this question

FFmpeg should do the trick in Linux:

ffmpeg -metadata title="TITLE" -metadata artist="ARTIST" -metadata date=DATE -metadata genre="GENRE" -metadata comment="COMMENT" -acodec copy -vcodec copy -i old.avi new.avi

I found this on a thread on an Arch Linux discussion board.

UPDATE: I should point out that this is not a perfect solution since you're not actually adding or editing metadata to the existing file but making a duplicate of the file with the specified metadata. Not an ideal "solution," but it's the best I've found so far.

share|improve this answer

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.