华为计算微信公众号
昇腾AI开发者公众号
华为计算微博
华为计算今日头条
./ffmpeg -hwaccel ascend -device_id 5 -c:v h264_ascend -i t2.mp4 -c:v h264_ascend -y t.mp4
[h264_ascend @ 0x26c9440] Call hi_mpi_venc_get_mod_param failed, ret is: -1610055664. [h264_ascend_enc @ 0x26c9940] Call set_venc_mod_param failed, ret is -1610055664. [h264_ascend_enc @ 0x26c9940] Enc sem_timewait = -1, time out, semvalue = 0 ... 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 @ 0x276a200] Qavg: 136.082 [aac @ 0x276a200] 2 frames left in the queue on closing [h264_ascend_dec @ 0x2698f00] Decode sem_timewait = -1, semvalue = 0.
如果只使用解码器
./ffmpeg -hwaccel ascend -device_id 5 -c:v h264_ascend -i t2.mp4 -y t.mp4 可以成功
我要发帖子
./ffmpeg -hwaccel ascend -device_id 5 -c:v h264_ascend -i t2.mp4 -c:v h264_ascend -y t.mp4
如果只使用解码器
./ffmpeg -hwaccel ascend -device_id 5 -c:v h264_ascend -i t2.mp4 -y t.mp4 可以成功