I want to add some information (metadata) to the video. I found a way to get metadata, but did not find a solution to set or change metadata. I use AVURLAsset, AVAssetWritterand AVMutableCompositionto create a video.
AVURLAsset
AVAssetWritter
AVMutableComposition
Use -[AVAssetWriter setMetadata:].
-[AVAssetWriter setMetadata:]
This is the value of NSArray AVMutableMetadataItems. Please note: you cannot set the value after recording starts.
NSArray
AVMutableMetadataItem
Metadata keys and key spaces are listed in AVMetadataFormat.h.
AVMetadataFormat.h
AVMutableComposition metadata AVAssetExportSession, , , ( ).
metadata
AVAssetExportSession
"off line". id3taggenerator , .
: http://developer.apple.com/library/mac/#documentation/NetworkingInternet/Conceptual/StreamingMediaGuide/UsingHTTPLiveStreaming/UsingHTTPLiveStreaming.html
, , : http://jmacmullin.wordpress.com/2010/11/03/adding-meta-data-to-video-in-ios/
If you want to add meta data to the application (since the user is recording video and adding their own metadata), I'm not sure.
Check out gusutils ==>
https://github.com/gpambrozio/GusUtils
There is an xcode project to create a static library that allows you to add metadata and geolocation information to your video, and then save it to the asset library.
Source: https://habr.com/ru/post/1679129/More articles:Data Warehousing - Star chart versus flat table - data-warehouseModifying metadata from existing phasset seems inoperative - iosChange metadata from PHAsset when MediaType video mismatch - iosSave exif metadata with new PHPhotoLibrary - iosКак изменить метаданные видео с помощью AVAssetWriter? - iphoneR: count time 15 minutes in time - rBrilliant with reactive inputs and a jump button - rWriting a photo using metadata using Photokit - iosIs an explicit transfer type not equivalent to type inference (in terms of expressiveness)? - javascriptC ++ template specialization does not work with nested types - c ++All Articles