PaddlePaddle / PaddleDetection

Object Detection toolkit based on PaddlePaddle. It supports object detection, instance segmentation, multiple object tracking and real-time multi-person keypoint detection.
Apache License 2.0
12.65k stars 2.87k forks source link

[rawvideo demuxer @ 0xc10e60] Unable to parse option value "0" as video rate #8902

Open WangShengFeng1 opened 6 months ago

WangShengFeng1 commented 6 months ago

问题确认 Search before asking

Bug组件 Bug Component

No response

Bug描述 Describe the Bug

输入执行命令: !python deploy/pipeline/pipeline.py \ --config deploy/pipeline/config/examples/infer_cfg_human_attr.yml \ --rtsp rtsp://admin:WangPeng2024@172.28.1.158:554/Streaming/Channels/101 \ --device=gpu \ --pushurl rtsp://admin:WangPeng2024@172.28.1.158:8554 输出为: 。。。 the result will push stream to url:rtsp://admin:WangPeng2024@172.28.1.158:8554/101 ffmpeg version 2.8.15-0ubuntu0.16.04.1 Copyright (c) 2000-2018 the FFmpeg developers built with gcc 5.4.0 (Ubuntu 5.4.0-6ubuntu1~16.04.10) 20160609 configuration: --prefix=/usr --extra-version=0ubuntu0.16.04.1 --build-suffix=-ffmpeg --toolchain=hardened --libdir=/usr/lib/x86_64-linux-gnu --incdir=/usr/include/x86_64-linux-gnu --cc=cc --cxx=g++ --enable-gpl --enable-shared --disable-stripping --disable-decoder=libopenjpeg --disable-decoder=libschroedinger --enable-avresample --enable-avisynth --enable-gnutls --enable-ladspa --enable-libass --enable-libbluray --enable-libbs2b --enable-libcaca --enable-libcdio --enable-libflite --enable-libfontconfig --enable-libfreetype --enable-libfribidi --enable-libgme --enable-libgsm --enable-libmodplug --enable-libmp3lame --enable-libopenjpeg --enable-libopus --enable-libpulse --enable-librtmp --enable-libschroedinger --enable-libshine --enable-libsnappy --enable-libsoxr --enable-libspeex --enable-libssh --enable-libtheora --enable-libtwolame --enable-libvorbis --enable-libvpx --enable-libwavpack --enable-libwebp --enable-libx265 --enable-libxvid --enable-libzvbi --enable-openal --enable-open libavutil 54. 31.100 / 54. 31.100 libavcodec 56. 60.100 / 56. 60.100 libavformat 56. 40.101 / 56. 40.101 libavdevice 56. 4.100 / 56. 4.100 libavfilter 5. 40.101 / 5. 40.101 libavresample 2. 1. 0 / 2. 1. 0 libswscale 3. 1.101 / 3. 1.101 libswresample 1. 2.101 / 1. 2.101 libpostproc 53. 3.100 / 53. 3.100 [rawvideo demuxer @ 0xc10e60] Unable to parse option value "0" as video rate [rawvideo demuxer @ 0xc10e60] Error setting option framerate to value 0. pipe:: Invalid argument

不明白为什么没有信息传入?

输入为: !python deploy/pipeline/pipeline.py \ --config deploy/pipeline/config/examples/infer_cfg_human_attr.yml \ --rtsp rtsp://admin:WangPeng2024@172.28.1.158:554/Streaming/Channels/101 \ --device=gpu \

输出为: Warning: Unable to use JDE/FairMOT/ByteTrack, please install lap, for example: pip install lap, see https://github.com/gatagat/lap /opt/conda/envs/python35-paddle120-env/lib/python3.7/site-packages/matplotlib/init.py:107: DeprecationWarning: Using or importing the ABCs from 'collections' instead of from 'collections.abc' is deprecated, and in 3.8 it will stop working from collections import MutableMapping /opt/conda/envs/python35-paddle120-env/lib/python3.7/site-packages/matplotlib/rcsetup.py:20: DeprecationWarning: Using or importing the ABCs from 'collections' instead of from 'collections.abc' is deprecated, and in 3.8 it will stop working from collections import Iterable, Mapping /opt/conda/envs/python35-paddle120-env/lib/python3.7/site-packages/matplotlib/colors.py:53: DeprecationWarning: Using or importing the ABCs from 'collections' instead of from 'collections.abc' is deprecated, and in 3.8 it will stop working from collections import Sized Warning: Unable to use motmetrics in MTMCT in PP-Tracking, please install motmetrics, for example: pip install motmetrics, see https://github.com/longcw/py-motmetrics Warning: Unable to use JDE/FairMOT/ByteTrack, please install lap, for example: pip install lap, see https://github.com/gatagat/lap Warning: Unable to use motmetrics in MTMCT in PP-Tracking, please install motmetrics, for example: pip install motmetrics, see https://github.com/longcw/py-motmetrics ----------- Running Arguments ----------- ATTR: batch_size: 8 enable: true model_dir: /home/aistudio/output_inference/we_dataset_attr2 DET: batch_size: 1 model_dir: https://bj.bcebos.com/v1/paddledet/models/pipeline/mot_ppyoloe_l_36e_pipeline.zip MOT: batch_size: 1 enable: true model_dir: https://bj.bcebos.com/v1/paddledet/models/pipeline/mot_ppyoloe_l_36e_pipeline.zip tracker_config: deploy/pipeline/config/tracker_config.yml attr_thresh: 0.5 crop_thresh: 0.5 visual: true warmup_frame: 50


Multi-Object Tracking enabled Human Attribute Recognition enabled DET model dir: /home/aistudio/.cache/paddle/infer_weights/mot_ppyoloe_l_36e_pipeline MOT model dir: /home/aistudio/.cache/paddle/infer_weights/mot_ppyoloe_l_36e_pipeline ATTR model dir: /home/aistudio/output_inference/we_dataset_attr2 ----------- Model Configuration ----------- Model Arch: StrongBaseline Transform Order: --transform op: Resize --transform op: NormalizeImage --transform op: Permute

----------- Model Configuration ----------- Model Arch: YOLO Transform Order: --transform op: Resize --transform op: Permute

video fps: 0, frame_count: 0 save result to output/101_t00_rtsp.mp4 ------------------ Inference Time Info ---------------------- total_time(ms): 0.0, img_num: 0 average latency time(ms): 0.00, QPS: 0.000000 ------------------ Tracking Module Time Info ---------------------- preprocess_time(ms): 0.00, inference_time(ms): 0.00, postprocess_time(ms): 0.00, tracking_time(ms): 0.00 显示没有视频输入。 那个rtsp是海康威视的摄像头,我可以打开,也可以在vlc软件上打开播放。

复现环境 Environment

aistodio平台上跑的; paddle 2.4; paddledetection2.7;

Bug描述确认 Bug description confirmation

是否愿意提交PR? Are you willing to submit a PR?

LexusArcherLiu commented 4 months ago

请问您最后问题怎么解决的呀

WangShengFeng1 commented 4 months ago

请问您最后问题怎么解决的呀

很遗憾,目前还没有解决