title: Edit MP4 metadata using MediaCodec API
body: <p>Android SDK provides class <a href="https://developer.android.com/reference/android/media/MediaMetadataRetriever.html" rel="nofollow">MediaMetadataRetriever</a> for extracting metadata from MP4 files. Is there a way to edit MP4 metadata fields using MediaCodec API (without ffmpeg)? My task is to reset <a href="https://developer.android.com/reference/android/media/MediaMetadataRetriever.html#METADATA_KEY_VIDEO_ROTATION" rel="nofollow">rotation</a> field.</p>