Closed otets-u closed 8 months ago
Hi, do you have any conclusions from your issue ? I am facing the same issue and would love some help. Thanks!
I'm sorry about late reply.
Finally, I could access the below python code after starting the gopro webcam and ffmpeg.
terminal
# start gopro webcam
cd ~/gopro_as_webcam_on_linux
sudo gopro webcam
# start ffmpeg
ffmpeg -nostdin -threads 1 -i 'udp://@0.0.0.0:8554?overrun_nonfatal=1&fifo_size=50000000' -f:v mpegts -fflags nobuffer -vf format=yuv420p -f v4l2 /dev/video42
OpenCV VideoCapture
self.capture = cv2.VideoCapture("/dev/video42")
Hello, I really appreciate your great work about this repository.
Now, I'm trying to use this assets with VideoCapture in C++ OpenCV like below. But, neither of them doesn't work. Could you give me some advice?
On the other hand, I could confirm that the below command work well after I entered 'sudo gopro webcam' and see video stream.
Thank you.