![]() Here’s an example that ties together all of the presently supported metadata options, even a few video options that don’t make sense for an audio file: Information dialog when selecting “Show Description” in context menuįurther, the MOV muxer encodes libavformat version string into the ‘\251too’ field. ![]() For the interested but uninitiated, the notation, e.g., ‘\251nam’ indicates a 4-byte code consisting of the byte A9 in hexadecimal (or 251 in octal) followed by the ASCII characters ‘n’, ‘a’, and ‘m’. ![]() The low-level identifier column lists the atom name that the format uses to encode the data on disc, which is not interesting to most readers. I have constructed the following table of the metadata keys that libavformat/movenc.c honors. This data comes from SVN revision 20910, current as of. I think it would be a good idea to document the specific metadata keys that each muxer in FFmpeg recognizes. How can I know the specific keys that, e.g., the MOV/MP4 muxer honors? 2 methods spring to mind: Trial and error (worked out well for me at first) and reading the code (which was made a good deal easier when I already knew a few of the keys that worked). However, a specific muxer won’t necessarily recognize it. So this option allows you to specify absolutely any key/value metadata pair you can imagine. For example,įor setting the title in the output file:įfmpeg -i in.avi -metadata title="my title" out.flv ![]() The official documentation provides this lonely (and, I came to realize, useless NO-OP more on why later) example of the option’s usage: I do remember that FFmpeg recently supplanted a series of specific metadata command line options (like -title and -album) with a highly generalized metadata framework that is accessed by the option ‘-metadata =’. Then I realized I didn’t know how to do that. ![]() While creating my automated game archiving solution, I wanted to automatically tag ALAC/M4A files with appropriate metadata while encoding using FFmpeg. UPDATE, : This information is now maintained via the FFmpeg Metadata page on the MultimediaWiki. ![]()
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |