I am pretty sure there was a large table with All the media types listed here: 
https://developer.apple.com/library/content/documentation/QuickTime/QTFF/Metadata/Metadata.html
I am not able to locate it from my phone right now though.
There is also one on exiftool webpage.

Sent from my Samsung Galaxy smartphone.
-------- Original message --------From: Kieran O'Leary 
<[email protected]> Date: 2017-07-14  3:13 AM  (GMT-07:00) To: FFmpeg 
user questions <[email protected]> Subject: Re: [FFmpeg-user] Trying to 
add metadata media_type to mp4 

Hi,

It looks like media_type does not take a string like "media_type" as its value, 
but an Integer, according to the source code: 
https://github.com/FFmpeg/FFmpeg/blob/master/libavformat/movenc.c#L3327

So the default seems to be 0 if you provide some text, which produces a value 
of 'Movie', but if you use -metadata media_type=1 , then the value becomes 
Music. From trial and error, it looks like
-metadata media_type=10
will produce a value of TV Show.

It looks like mediainfo has a good list of what the values produce: 
https://github.com/MediaArea/MediaInfoLib/blob/080212c30baea3f85602eaf61aa8feaedb983971/Source/MediaInfo/Multiple/File_Mpeg4_Elements.cpp#L2682

It looks like what ffmpeg calls media_type is mapped to ContentType in 
Mediainfo. i can't find any information about either element inthe QuickTime 
specification, though. 

Best,

Kieran O'Leary
IFI Irish Film Archive.
------
This email has been scanned for spam and malware by The Email Laundry.

_______________________________________________
ffmpeg-user mailing list
[email protected]
http://ffmpeg.org/mailman/listinfo/ffmpeg-user

To unsubscribe, visit link above, or email
[email protected] with subject "unsubscribe".
_______________________________________________
ffmpeg-user mailing list
[email protected]
http://ffmpeg.org/mailman/listinfo/ffmpeg-user

To unsubscribe, visit link above, or email
[email protected] with subject "unsubscribe".

Reply via email to