alec-g / rtsp_ffmpeg_ros Goto Github PK
View Code? Open in Web Editor NEWRead and decode RTSP video streams using FFMPEG and publish them as ROS images
Read and decode RTSP video streams using FFMPEG and publish them as ROS images
Hello, When I run it, it gets stuck here:
process[rtsp_camera1/rtsp_camera1_stream-2]: started with pid [20030]
[ INFO] [1627451103.053202030]: Initializing nodelet with 8 worker threads.
[ WARN] [1627451103.117661996]: Asked to publish at 'fps' (240) which is higher than the 'set_camera_fps' (30), we can't publish faster than the camera provides images.
[ INFO] [1627451103.117690252]: Camera name: rtsp_camera1
[ INFO] [1627451103.117705050]: Provided camera_info_url: 'file:////home/zhangzjn/ypt-workspace/catkin_rtsp/src/rtsp_ffmpeg/config/rtsp_camera1.yaml'
[ INFO] [1627451103.117719954]: Publishing with frame_id: rtsp_camera1
[ INFO] [1627451103.117736058]: Flip horizontal image is: false
[ INFO] [1627451103.117750633]: Flip vertical image is: false
[ INFO] [1627451657.145889578]: camera calibration URL: file:////home/zhangzjn/ypt-workspace/catkin_rtsp/src/rtsp_ffmpeg/config/rtsp_camera1.yaml
[ INFO] [1627451657.146531303]: Connecting to decoder with url: rtsp://admin:[email protected]:554/Streaming/Channels/102
Then when I use rqt_image_view
or rostopic hz /rtsp_camera1/image_raw
to view it, it reports an error:
[rtsp @ 0x7f00b0008b80] Stream #0: not enough frames to estimate rate; consider increasing probesize
[rtsp @ 0x7f00b0008b80] Could not find codec parameters for stream 0 (Video: h264, none): unspecified size
Consider increasing the value for the 'analyzeduration' and 'probesize' options
Assertion desc failed at src/libswscale/swscale_internal.h:674
[rtsp_camera1/rtsp_camera1_stream-2] process has died [pid 20030, exit code -6, cmd /home/zhangzjn/ypt-workspace/catkin_rtsp/devel/lib/rtsp_ffmpeg/rtsp_ffmpeg_node camera:=image_raw __name:=rtsp_camera1_stream __log:=/home/zhangzjn/ypt-workspace/catkin_rtsp/src/rtsp_ros_driver/log/f408d6d4-ef66-11eb-9d04-80fa5b3df586/rtsp_camera1-rtsp_camera1_stream-2.log].
log file: /home/zhangzjn/ypt-workspace/catkin_rtsp/src/rtsp_ros_driver/log/f408d6d4-ef66-11eb-9d04-80fa5b3df586/rtsp_camera1-rtsp_camera1_stream-2*.log
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.