Log in

View Full Version : How can I write meta data into mp4 video?


alexVS
26th September 2016, 07:54
I usually encode video (hockey reviews) into mp4(h264, 720p50, aac).
Can I somehow put additional text info (match info: like rosters, venue, goal scorers, refs, shots, etc) into mp4 contagner.

I'd like to have ability to view it in MPC or mediainfo. Also don't want it to mess with video playback.

All I found it's tagging for music mp4 files. Very short fields, music related headers.

Can meta data be added in some kind of more suitable way for my purpose? What soft to use? Can it be done with mp4box.exe?

raffriff42
26th September 2016, 12:46
See this post (http://forum.doom9.org/showthread.php?p=1633153#post1633153) for an example of using ffmpeg to insert metadata.

XMedia Recode (http://www.xmedia-recode.de/en/index.html) is a GUI alternative that can add user-defined metadata tags.

The trouble is, custom (non standard (https://developer.apple.com/library/content/documentation/QuickTime/QTFF/Metadata/Metadata.html#//apple_ref/doc/uid/TP40000939-CH1-SW43)) tags won't show in MediaInfo or FFmpeg.

For "best" compatibility, you could add your information as a comment - however, maximum comment length seems to be around 512 characters, so be brief!

Another possibility is to show your information as subtitles.

alexVS
28th September 2016, 13:52
Thanks, I'll try it