I am using AVAssetWriter to create MP4 files ( AVFileTypeMPEG4 ) and this bit works fine, however I am having trouble writing some of the metadata.
These keys work fine:
* AVMetadataCommonKeyAuthor
* AVMetadataCommonKeyDescription
* AVMetadataCommonKeyCopyrights
But the following don't, they log an entry to the console when used (about being invalid).
* AVMetadataCommonKeyModel
* AVMetadataCommonKeyMake
* AVMetadataCommonKeySoftware
I've also tried the QuickTime and iTunes variations, which don't log errors but don't add the meta data to the file either (and I specified the matching key spaces also).
* AVMetadataQuickTimeMetadataKeyMake
* AVMetadataQuickTimeMetadataKeyModel
* AVMetadataQuickTimeMetadataKeyKeywords
* AVMetadataQuickTimeMetadataKeySoftware
* AVMetadataiTunesMetadataKeyEncodedBy
Should I file this as a bug or there is some magic trick to make these work?