video - 在 Linux 上从 mp4 视频文件中更改或删除“AutoRotation”标签
问题描述
我的一个视频是颠倒的。事实证明AutoRotation元数据设置错误,Down
而它应该是Up
根据我的其他视频:
$ exiftool -s input.mp4 | grep AutoRotation
AutoRotation : Down
我尝试exiftool
从命令行使用来更改标签:
$ exiftool -AutoRotation=Up input.mp4
Warning: Sorry, AutoRotation is not writable
Nothing to do.
如何更改(或删除)Linux 上的特定 mp4 标签?
解决方案
The AutoRotation
tag is a GoPro specific tag and is unlikely to be editable unless GoPro has a program that edits the metadata it embeds.
Using exiftool, a better option would be to edit the Rotation
tag (e.g. -Rotation=90/180/270
), which is actually not a single tag but a case of exiftool manipulating multiple tags in order to achieve the rotation desired (see the entry on the Composite tag page).
推荐阅读
- javascript - 页面长时间未访问时内容脚本卸载
- asp.net - 使用客户端证书签名 XMLDsig、WS-Security 或 XADES 配置 WCF
- azure - 如何使用 Azure 管道将文件上传到 FTP 服务器?
- c++ - 为什么在十进制到二进制代码中,当我们输入 63 以上的数字时它不能正常工作?
- python - 使用文件夹中的文件的 Python 奇怪问题
- sql - Oracle 为什么存在查询返回此结果
- chart.js - 如何在chart.js中调整特定网格线的大小
- php - Xdebug PhpStorm:以 exec("php index.php") 开头的调试脚本
- sql - 在 where 子句中使用日期检查执行查询时出错
- java - 我在哪里可以下载 openjdk10 源码包(openjdk-10*_src.tar.gz....)?