登录
注册
开源
企业版
高校版
搜索
帮助中心
使用条款
关于我们
开源
企业版
高校版
私有云
模力方舟
我知道了
查看详情
登录
注册
代码拉取完成,页面将自动刷新
开源项目
>
人工智能
>
AI-人工智能
&&
捐赠
捐赠前请先登录
取消
前往登录
扫描微信二维码支付
取消
支付完成
支付提示
将跳转至支付宝完成支付
确定
取消
Watch
不关注
关注所有动态
仅关注版本发行动态
关注但不提醒动态
29
Star
139
Fork
226
Ascend
/
mindsdk-referenceapps
代码
Issues
10
Pull Requests
27
Wiki
统计
流水线
服务
Gitee Pages
质量分析
Jenkins for Gitee
腾讯云托管
腾讯云 Serverless
悬镜安全
阿里云 SAE
Codeblitz
我知道了,不再自动展开
更新失败,请稍后重试!
Issues
/
详情
移除标识
内容风险标识
本任务被
标识为内容中包含有代码安全 Bug 、隐私泄露等敏感信息,仓库外成员不可访问
无法使用管道推流
TODO
#IBTGEH
缺陷
欧泥匠
创建于
2025-03-14 16:48
一、问题现象(附报错日志上下文): 推rtsp流的时候,推本地mp4文件,正常推流,但是使用管道推流rtsp,创建进程的时候就直接报错了 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 [ERROR] 2025-03-14-16-39-11_0 推流 rtsp://zlmediakit:554/test/2025-03-14-16-39-11_0.live.flv NoneType: None 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. 二、软件版本: -- CANN 版本 (e.g., CANN 8.0.0): --Tensorflow/Pytorch/MindSpore 版本: --Python 版本 (e.g., Python 3.10.12): --操作系统版本 (e.g., debain12):
一、问题现象(附报错日志上下文): 推rtsp流的时候,推本地mp4文件,正常推流,但是使用管道推流rtsp,创建进程的时候就直接报错了 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 [ERROR] 2025-03-14-16-39-11_0 推流 rtsp://zlmediakit:554/test/2025-03-14-16-39-11_0.live.flv NoneType: None 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. 二、软件版本: -- CANN 版本 (e.g., CANN 8.0.0): --Tensorflow/Pytorch/MindSpore 版本: --Python 版本 (e.g., Python 3.10.12): --操作系统版本 (e.g., debain12):
评论 (
0
)
欧泥匠
创建了
缺陷
登录
后才可以发表评论
状态
TODO
TODO
WIP
DONE
CLOSED
REJECTED
负责人
未设置
标签
未设置
项目
未立项任务
未立项任务
里程碑
未关联里程碑
未关联里程碑
Pull Requests
未关联
未关联
关联的 Pull Requests 被合并后可能会关闭此 issue
分支
未关联
未关联
master
Agent_merge_branch
开始日期   -   截止日期
-
置顶选项
不置顶
置顶等级:高
置顶等级:中
置顶等级:低
优先级
不指定
严重
主要
次要
不重要
预计工期
(小时)
参与者(1)
C++
1
https://gitee.com/ascend/mindsdk-referenceapps.git
git@gitee.com:ascend/mindsdk-referenceapps.git
ascend
mindsdk-referenceapps
mindsdk-referenceapps
点此查找更多帮助
搜索帮助
Git 命令在线学习
如何在 Gitee 导入 GitHub 仓库
Git 仓库基础操作
企业版和社区版功能对比
SSH 公钥设置
如何处理代码冲突
仓库体积过大,如何减小?
如何找回被删除的仓库数据
Gitee 产品配额说明
GitHub仓库快速导入Gitee及同步更新
什么是 Release(发行版)
将 PHP 项目自动发布到 packagist.org
仓库举报
回到顶部
登录提示
该操作需登录 Gitee 帐号,请先登录后再操作。
立即登录
没有帐号,去注册