将.webm转换为mp4会产生“参数不正确”错误

时间:2020-03-23 11:33:39

标签: ffmpeg

我正在尝试使用以下方法将特定视频从webm转换为mp4: ffmpeg -fflags +genpts -i $input -r 24 $output,但出现错误:

[libx264 @ 0x55c8801feb00] width not divisible by 2 (1025x525)
Error initializing output stream 0:0 -- Error while opening encoder for output stream #0:0 - maybe incorrect parameters such as bit_rate, rate, width or height
[aac @ 0x55c880283340] Qavg: 110.549
[aac @ 0x55c880283340] 2 frames left in the queue on closing

我可以使用一种对所有视频(包括该视频文件)通用的解决方案。

0 个答案:

没有答案
相关问题