If i have an high end Canon or Nikon camera is possible to do what eos_movrec do but with a better quality? Could be useful to use this for streaming or recording purposes.

And in case of something available, is also possible to tune the config on the fly?

  • This reply - stackoverflow.com/a/31174822 - shows a way to do it with some Sony cameras.
    – Gyan
    Commented Oct 25, 2015 at 15:20
  • @Mulvya The Problem with that answer is that rely on the fact that Sony Cameras have an api and a streaming server ready to give you a stream of Motion JPG sequence. Then, the thing you do with ffmpeg is grab that stream and do something else with it. I would like doing this with Canon Cameras DLSR like a 5D Mark II or 5D Mark III. Would be very cool for all the Video Production community to find a solution for it ;) Commented Oct 25, 2015 at 16:31
  • How about this one - digicamcontrol.com/feature-list
    – Gyan
    Commented Oct 25, 2015 at 16:49
  • @Mulvya indeed is a software I'm actually testing, it gives you a streamserver on , the stream resource looks like a jpg file that follows with a random number in the back in order to prevent the caching. There's a way ffmpeg can grab this "stream of data" and transcode, restream or whatever? Would be cool have many answer on this discussion with each possible alternative, in order to leave something very informative for people with the same needings. Commented Oct 25, 2015 at 18:18

1 Answer 1


You can capture a live-view feed from your USB-connected Canon DSLR with gphoto2 (param: --capture-movie). The biggest limitation here is that the resulting mjpeg stream resolution is 1056x704, and that's the highest possible quality via USB. This mjpeg stream can be piped to ffmpeg. As an alternative, you could get yourself an USB<>Mini-HDMI recording dongle (e.g. "Elgato Cam Link"), this will give you a FullHD (1920x1080) resolution and you can use your Canon DSLR like any USB webcam, which can also be piped to ffmpeg.

  • I only get between 4 and 5 fps with gphoto2, from my Canon EOS 100D. I suppose that the resolution is too high, but cannot find how to reduce it from gphoto2!
    – Gauthier
    Commented May 22, 2020 at 12:41

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Not the answer you're looking for? Browse other questions tagged or ask your own question.