3
为什么 ffmpeg 加不上 rotate 旋转参数
source link: https://www.v2ex.com/t/848180
Go to the source link to view the article. You can view the picture content, updated content and better typesetting reading experience. If the link is broken, please click the button below to view the snapshot at that time.
ffmpeg -i aa.mp4 -c copy -metadata:s:v:0 rotate=90 bb.mkv
附上输出日志: https://netcut.cn/p/e321491f1686d4a5
这条执行之后,并没有旋转成功。因为 potplayer 播放过,ffprobe.exe 也播放过,画面并没有旋转
用 ffprobe -v quiet -print_format json -show_format -show_streams ,来查看转换后的视频的参数:
https://netcut.cn/p/2326a8e35c3a0e22
如上,没看见 rotate 参数被添加?按理说,不是会多出一行"rotate": "90" 吗?
附上输出日志: https://netcut.cn/p/e321491f1686d4a5
这条执行之后,并没有旋转成功。因为 potplayer 播放过,ffprobe.exe 也播放过,画面并没有旋转
用 ffprobe -v quiet -print_format json -show_format -show_streams ,来查看转换后的视频的参数:
https://netcut.cn/p/2326a8e35c3a0e22
如上,没看见 rotate 参数被添加?按理说,不是会多出一行"rotate": "90" 吗?
Recommend
About Joyk
Aggregate valuable and interesting links.
Joyk means Joy of geeK