You are not logged in.

#1 2008-01-28 13:20:15

chicha
Member
From: France
Registered: 2007-04-20
Posts: 271

How to edit video files (mp4, avi ...) meta data (Title, author ...) ?

Hello all,

After transcoding a DVD into MP4 using Avidemux I would like to change the video meta data title so that it looks great when listed into my favorite portable video reader.

It seems Avidemux uses the file name as title, but do not provide any way to change it afterwards. I also know how to set the title using ffmpeg, but I do not want to re-encode the video each time I want to do that !

Does anybody know about a simple tool (command line or gui) to change MP4 and other video formats meta data such the movie title ?

Thank you very much for sharing your experience !
Cheers,

Chicha.

Offline

#2 2008-01-28 14:40:31

chicha
Member
From: France
Registered: 2007-04-20
Posts: 271

Re: How to edit video files (mp4, avi ...) meta data (Title, author ...) ?

I think I have found the solution : easytag. I thought this tool was only for mp3 files but apparently it can edit MP4 files. I will test it at home an report here if it works great.
Any other tool welcome, in particular command line ones wink

++
Chicha

Offline

#3 2010-03-17 23:56:15

shtrom
Member
Registered: 2009-06-10
Posts: 8
Website

Re: How to edit video files (mp4, avi ...) meta data (Title, author ...) ?

Easytag works fine for MP4 files, but doesn't consider even showing AVI files in its list. I ended up using FFmpeg for similar purposes.

From what I've seen around, it seems to have supported command line arguments like "-title" or "-comment". My version (22511-1) does no like them. It however supports a generic "-metadata" argument.

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

The list of metadata names FFmpeg supported at some point in time (r20910, 2009-12-21) can be found here [0].

For some reason, my vlc (1.0.5-5) doesn't show them in the media information, but mplayer does.

[0] http://multimedia.cx/eggs/supplying-ffm … -metadata/

Last edited by shtrom (2010-03-17 23:59:03)

Offline

#4 2010-03-18 00:07:22

skottish
Forum Fellow
From: Here
Registered: 2006-06-16
Posts: 7,942

Re: How to edit video files (mp4, avi ...) meta data (Title, author ...) ?

shtrom wrote:

Easytag works fine for MP4 files, but doesn't consider even showing AVI files in its list. I ended up using FFmpeg for similar purposes.

From what I've seen around, it seems to have supported command line arguments like "-title" or "-comment". My version (22511-1) does no like them. It however supports a generic "-metadata" argument.

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

The list of metadata names FFmpeg supported at some point in time (r20910, 2009-12-21) can be found here [0].

For some reason, my vlc (1.0.5-5) doesn't show them in the media information, but mplayer does.

[0] http://multimedia.cx/eggs/supplying-ffm … -metadata/

FFmpeg's metadata handling is in flux. If one builds an unpatched version from subversion right now, the metadata doesn't line up properly in some cases. This may be why VLC isn't seeing the data. It's for sure why MPD from Git is having trouble right now. The patch below fixes a lot of it. I added a comment on a bug report that I filed with FFmpeg previously to try to get them to commit it:

http://lists.mplayerhq.hu/pipermail/ffm … 83487.html

Offline

#5 2013-10-03 06:55:44

yanglifu90
Member
Registered: 2013-03-05
Posts: 2

Re: How to edit video files (mp4, avi ...) meta data (Title, author ...) ?

Should be

ffmpeg -metadata title="TITLE" -i old.avi -acodec copy -vcodec copy new.avi

i.e. put -i in.ogv before -acodec copy -vcodec copy.

Last edited by yanglifu90 (2013-10-03 07:07:53)

Offline

#6 2013-10-03 16:03:06

ewaller
Administrator
From: Pasadena, CA
Registered: 2009-07-13
Posts: 20,062

Re: How to edit video files (mp4, avi ...) meta data (Title, author ...) ?

yanglifu90,  First off, welcome to Arch Linux.  Be aware that this is a 3 year old thread.  Your post is relevant, but don't be surprised if the original posters are not around (although skottish is smile )


Nothing is too wonderful to be true, if it be consistent with the laws of nature -- Michael Faraday
Sometimes it is the people no one can imagine anything of who do the things no one can imagine. -- Alan Turing
---
How to Ask Questions the Smart Way

Offline

Board footer

Powered by FluxBB