RobotWebTools / web_video_server

HTTP Streaming of ROS Image Topics in Multiple Formats
http://ros.org/wiki/web_video_server
Other
269 stars 187 forks source link

Get error when using type h264 #112

Open snaillp opened 3 years ago

snaillp commented 3 years ago

i publish images to a rostopic using type Image,and expect to get a video stream from web_video_server. The video cannot play at the url http://localhost:8080/stream?topic={ROS_TOPIC}&type=h264 , and i get error like "[mp4 @ 0x7f2a4c1813a0] Application provided invalid, non monotonically increasing dts to muxer in stream 0: 1 >= 1". if thre url turn to http://localhost:8080/stream?topic={ROS_TOPIC}, it can play, but actully became to an image stream. what should i do to get a video stream instead of an image stream?