Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
我正在尝试使用颤振检索视频的宽度和高度。我试过使用 ffmpeg
_flutterFFmpeg.getMediaInformation(file.path);
但宽度和高度偶尔会翻转。我注意到 返回的元数据中存在“旋转”->“90”和“显示矩阵”->“-90.00 度旋转”。
是否有使用旋转/显示矩阵来确定视频的真实宽度/高度的无错误方法,或者是否有更好的方法/库可以帮助我?
谢谢。