You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I'm trying to capture movie to stdout and pipe it to ffmpeg to stream video to another computer. I can do it from shell with the following command in shell :
python-gphoto2 should support everything libgphoto2 does, so the real question is how to do movie capture (with your camera model) in libgphoto2. It may be that the gphoto2 command line application is doing something else, e.g. capturing a sequence of preview stills.
I can't find any examples of movie capture with libgphoto2 - they're all using the command line program. Asking on the gphoto2 mailing list might help - no need to mention Python as once we know how to do it in C/C++ it should be easy to write the Python equivalent.
Hi,
I'm trying to capture movie to stdout and pipe it to ffmpeg to stream video to another computer. I can do it from shell with the following command in shell :
gphoto2 --capture-movie --stdout | ffmpeg -i pipe:0 http://localhost:8080/feed1.ffm
As first step I tried to capture a movie :
gp.gp_camera_capture(camera, gp.GP_CAPTURE_VIDEO, context)
but i got the following error:
Is capturing video not supported in python-gphoto2?
The text was updated successfully, but these errors were encountered: