How to edit or add video metadata of “rotation” in mp4?

半世苍凉 提交于 2019-12-31 14:55:50

问题


I want put rotation information into my mp4 video file but I have no idea about this.

Is there any program that I can add "rotation" metadata? It would be OK if there's the way to edit video content with hexa editor.


回答1:


+1 for FFMpeg. More specifically, I had good results correcting orientation metadata with

ffmpeg -i input.mp4 -metadata:s:v rotate=90 -vcodec copy -acodec copy output.mp4



回答2:


Check out the software FFMpeg, use ffprobe to give you the rotation metadata of any video file if it has it.

Check out this answer for functions allowing your to rotate videos.



来源:https://stackoverflow.com/questions/10221762/how-to-edit-or-add-video-metadata-of-rotation-in-mp4

标签
易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!