“
{
"detection": {
"stream_config": {
"deviceId": "0"
},
"mxpi_rtspsrc0": {
"props": {
"rtspUrl": "rtsp://172.20.31.9:8554/live/stream1",
"channelId": "0",
"timeout": "15",
"fpsMode": "1"
},
"factory": "mxpi_rtspsrc",
"next": "mxpi_videodecoder0"
},
"mxpi_rtspsrc1": {
"props": {
"rtspUrl": "rtsp://172.20.31.9:8554/live/stream2",
"channelId": "1",
"timeout": "15",
"fpsMode": "1"
},
"factory": "mxpi_rtspsrc",
"next": "mxpi_videodecoder1"
},
"mxpi_videodecoder0": {
"props": {
"inputVideoFormat": "H265",
"outputImageFormat": "YUV420SP_NV12",
"deviceId": "0",
"vdecChannelId": "0"
},
"factory": "mxpi_videodecoder",
"next": "mxpi_skipframe0"
},
"mxpi_videodecoder1": {
"props": {
"inputVideoFormat": "H265",
"outputImageFormat": "YUV420SP_NV12",
"deviceId": "0",
"vdecChannelId": "1"
},
"factory": "mxpi_videodecoder",
"next": "mxpi_skipframe1"
},
"mxpi_skipframe0":{
"factory":"mxpi_skipframe",
"next":"mxpi_parallel2serial0:0",
"props":{
"frameNum":"2"
}
},
"mxpi_skipframe1":{
"factory":"mxpi_skipframe",
"next":"mxpi_parallel2serial0:1",
"props":{
"frameNum":"2"
}
},
"mxpi_parallel2serial0":{
"factory":"mxpi_parallel2serial",
"props":{
"dataSource":"mxpi_videodecoder0,mxpi_videodecoder1"
},
"next":"mxpi_imageresize0"
},
"mxpi_imageresize0": {
"props": {
"dataSource": "mxpi_parallel2serial0",
"resizeHeight": "640",
"resizeWidth": "640",
"deviceId": "0"
},
"factory": "mxpi_imageresize",
"next": "queue0"
},
"queue0":{
"props":{
"max-size-buffers":"500"
},
"factory":"queue",
"next":"mxpi_modelinfer0"
},
"mxpi_modelinfer0": {
"props": {
"dataSource": "mxpi_imageresize0",
"modelPath": "../model/suitcase_dynamic_with_aipp.om",
"postProcessConfigPath": "./aipp.cfg",
"labelPath": "./label.names",
"postProcessLibPath": "../plugins/libyolov8postprocess.so",
"deviceId": "0"
},
"factory": "mxpi_modelinfer",
"next": "mxpi_dataserialize0"
},
"mxpi_dataserialize0": {
"props": {
"outputDataKeys": "mxpi_modelinfer0"
},
"factory": "mxpi_dataserialize",
"next": "appsink0"
},
"appsink0": {
"props": {
"blocksize": "409600000"
},
"factory": "appsink"
}
}
}
”,这是pipeline配置文件,“Begin to initialize Log. The output directory of logs file exist. WARNING: Logging before InitGoogleLogging() is written to STDERR I20260428 20:09:43.174498 281473665499200 FileUtils.cpp:423] The input file is empty I20260428 20:09:43.174555 281473665499200 FileUtils.cpp:579] Check Other group permission: Current permission is 4, but required no greater than 0. Save logs information to specified directory. E20260428 20:10:04.318794 281472505232512 MxpiRtspSrc.cpp:1036] MxpiRtspsrc(mxpi_rtspsrc0) connect stream failed, please confirm that the stream exists. (Code = 1001, Message = "General Failed")”,这是输出,拉流地址可以使用vlc播放,但是输出拉流失败,不知道是哪里出现问题,求助各位大佬
{
"detection": {
"stream_config": {
"deviceId": "0"
},
"mxpi_rtspsrc0": {
"props": {
"rtspUrl": "rtsp://172.20.31.9:8554/live/stream1",
"channelId": "0",
"timeout": "15",
"fpsMode": "1"
},
"factory": "mxpi_rtspsrc",
"next": "mxpi_videodecoder0"
},
"mxpi_rtspsrc1": {
"props": {
"rtspUrl": "rtsp://172.20.31.9:8554/live/stream2",
"channelId": "1",
"timeout": "15",
"fpsMode": "1"
},
"factory": "mxpi_rtspsrc",
"next": "mxpi_videodecoder1"
},
"mxpi_videodecoder0": {
"props": {
"inputVideoFormat": "H265",
"outputImageFormat": "YUV420SP_NV12",
"deviceId": "0",
"vdecChannelId": "0"
},
"factory": "mxpi_videodecoder",
"next": "mxpi_skipframe0"
},
"mxpi_videodecoder1": {
"props": {
"inputVideoFormat": "H265",
"outputImageFormat": "YUV420SP_NV12",
"deviceId": "0",
"vdecChannelId": "1"
},
"factory": "mxpi_videodecoder",
"next": "mxpi_skipframe1"
},
"mxpi_skipframe0":{
"factory":"mxpi_skipframe",
"next":"mxpi_parallel2serial0:0",
"props":{
"frameNum":"2"
}
},
"mxpi_skipframe1":{
"factory":"mxpi_skipframe",
"next":"mxpi_parallel2serial0:1",
"props":{
"frameNum":"2"
}
},
"mxpi_parallel2serial0":{
"factory":"mxpi_parallel2serial",
"props":{
"dataSource":"mxpi_videodecoder0,mxpi_videodecoder1"
},
"next":"mxpi_imageresize0"
},
"mxpi_imageresize0": {
"props": {
"dataSource": "mxpi_parallel2serial0",
"resizeHeight": "640",
"resizeWidth": "640",
"deviceId": "0"
},
"factory": "mxpi_imageresize",
"next": "queue0"
},
"queue0":{
"props":{
"max-size-buffers":"500"
},
"factory":"queue",
"next":"mxpi_modelinfer0"
},
"mxpi_modelinfer0": {
"props": {
"dataSource": "mxpi_imageresize0",
"modelPath": "../model/suitcase_dynamic_with_aipp.om",
"postProcessConfigPath": "./aipp.cfg",
"labelPath": "./label.names",
"postProcessLibPath": "../plugins/libyolov8postprocess.so",
"deviceId": "0"
},
"factory": "mxpi_modelinfer",
"next": "mxpi_dataserialize0"
},
"mxpi_dataserialize0": {
"props": {
"outputDataKeys": "mxpi_modelinfer0"
},
"factory": "mxpi_dataserialize",
"next": "appsink0"
},
"appsink0": {
"props": {
"blocksize": "409600000"
},
"factory": "appsink"
}
}
}
”,这是pipeline配置文件,“Begin to initialize Log. The output directory of logs file exist. WARNING: Logging before InitGoogleLogging() is written to STDERR I20260428 20:09:43.174498 281473665499200 FileUtils.cpp:423] The input file is empty I20260428 20:09:43.174555 281473665499200 FileUtils.cpp:579] Check Other group permission: Current permission is 4, but required no greater than 0. Save logs information to specified directory. E20260428 20:10:04.318794 281472505232512 MxpiRtspSrc.cpp:1036] MxpiRtspsrc(mxpi_rtspsrc0) connect stream failed, please confirm that the stream exists. (Code = 1001, Message = "General Failed")”,这是输出,拉流地址可以使用vlc播放,但是输出拉流失败,不知道是哪里出现问题,求助各位大佬