310I Duo上使用ascend-ffmpeg使用管道推流rtsp,创建进程的时候就直接报错了
收藏回复举报
310I Duo上使用ascend-ffmpeg使用管道推流rtsp,创建进程的时候就直接报错了
t('forum.solved') 已解决
新人帖
发表于2025-03-14 17:32:49
0 查看

310I Duo上使用ascend-ffmpeg使用管道推流rtsp,创建进程的时候就直接报错了

cke_6029.png

 错误信息

ffmpeg -hwaccel ascend -f rawvideo -pix_fmt bgr24 -s 1190x1080 -rtbufsize 4M -i - -c:v h264_ascend -c:a aac -device_id 0 -channel_id 1 -frame_rate 10 -max_bit_rate 30000 -movement_scene 1 -rc_mode 0 -f rtsp -rtsp_transport tcp rtsp://zlmediakit:554/test/2025-03-14-16-39-11_0
ffmpeg version 6f9c9636 Copyright (c) 2000-2021 the FFmpeg developers
built with gcc 9 (Ubuntu 9.4.0-1ubuntu1~20.04.2)
configuration: --prefix=./ascend --enable-shared --extra-cflags=-I/usr/local/Ascend/ascend-toolkit/latest/acllib/include --extra-ldflags=-L/usr/local/Ascend/ascend-toolkit/latest/acllib/lib64 --extra-libs='-lacl_dvpp_mpi -lascendcl' --enable-ascend
libavutil 56. 70.100 / 56. 70.100
libavcodec 58.134.100 / 58.134.100
libavformat 58. 76.100 / 58. 76.100
libavdevice 58. 13.100 / 58. 13.100
libavfilter 7.110.100 / 7.110.100
libswscale 5. 9.100 / 5. 9.100
libswresample 3. 9.100 / 3. 9.100
UserWarning: TypedStorage is deprecated. It will be removed in the future and UntypedStorage will be the only storage class. This should only matter to you if you are using storages directly. To access UntypedStorage directly, use tensor.untyped_storage() instead of tensor.storage()
Model summary (fused): 168 layers, 3006233 parameters, 0 gradients, 8.1 GFLOPs
Input #0, rawvideo, from 'pipe:':
Duration: N/A, start: 0.000000, bitrate: 771120 kb/s
Stream #0:0: Video: rawvideo (BGR[24] / 0x18524742), bgr24, 1190x1080, 771120 kb/s, 25 tbr, 25 tbn, 25 tbc
[AVHWDeviceContext @ 0xaaaadaa22d00] device id is: 0.
Stream mapping:
Stream #0:0 -> #0:0 (rawvideo (native) -> h264 (h264_ascend))
[h264_ascend_enc @ 0xaaaadaa22470] Device id is: 0.
[AVHWDeviceContext @ 0xaaaae4512320] device id is: 0.
[h264_ascend_enc @ 0xaaaadaa22470] Create venc channels success. Channel id is 1.
Encode thread start.
Output #0, rtsp, to 'rtsp://zlmediakit:554/test/2025-03-14-16-39-11_0':
Metadata:
encoder : Lavf58.76.100
Stream #0:0: Video: h264, nv12(tv, progressive), 1190x1080, q=2-31, 200 kb/s, 25 fps, 90k tbn
Metadata:
encoder : Lavc58.134.100 h264_ascend
[h264_ascend_enc @ 0xaaaadaa22470] Call hi_mpi_venc_send_stream failed, ret is -1610055677.
[h264_ascend @ 0xaaaadaa22030] Encoder send frame failed, ret is -1610055677.
Video encoding failed
[h264_ascend_enc @ 0xaaaadaa22470] Enc sem_timewait = -1, time out, semvalue = 0 ...
[h264_ascend_enc @ 0xaaaadaa22470] Call hi_mpi_venc_query_status failed, ret is -1610055664.
[h264_ascend_enc @ 0xaaaadaa22470] Call get_stream_loop failed, ret is -1.

我要发帖子