ros-drivers / video_stream_opencv

A package to open video streams and publish them in ROS using the opencv videocapture mechanism
227 stars 159 forks source link

Could not capture frame video_file.launch #41

Closed HareshKarnan closed 5 years ago

HareshKarnan commented 5 years ago

I'm able to play a video.avi file using roslanch video_stream_opencv video_file.launch

However, it doesn't loop the video though the argument loop_videofile is set to true.

HareshKarnan commented 5 years ago

Just checked that when i convert the .avi file to .mp4, it works !

furushchev commented 5 years ago

@HareshMiriyala Hi, thanks for the report! For debugging, could you paste all the logs displayed in the terminal you run the node using .avi.

HareshKarnan commented 5 years ago

Hi, i donot have access to the project right now. I'm closing this issue for now. For someone looking here for solutions, I was able to fix this problem by having a .mp4 version of the video. Maybe it was a codec issue that it didn't work with the .avi format, but i'm not sure.