Modify Exif tags in Java for mp4 videos
问题 Is there any API or library in Java available that will let me modify tags in the metadata for mp4 files? I need to modify the orientation (or rotation) tag in order to get videos to playback in the correction orientation. Something for Android would be preferrable. 回答1: Full disclosure: I'm the creator and maintainer of the mp4parser lib. Use http://mp4parser.googlecode.com for opening the MP4 file. Navigate to the exif box (I have never seen that box) and modify it. Then write the file back