gphoto / gphoto2

The gphoto2 commandline tool for accessing and controlling digital cameras.
GNU General Public License v2.0
716 stars 116 forks source link

Canon EOS 100D - capture-movie not work well #503

Closed pigbrain closed 2 years ago

pigbrain commented 2 years ago

Describe the bug I recorded video like the command below and i got the movie.mjpg.
When i played the movie.mjpg, i got JPEG error #42. Also when I put this file(movie.mjpg) in ffmpeg I get this error. (No JPEG data found in image / Invalid data found when processing input)

gphoto2 --capture-movie=10s

Name the camera

Canon EOS 100D 

libgphoto2 and gphoto2 version

This version of gphoto2 is using the following software versions and options:
gphoto2         2.4.11         gcc, popt(m), exif, no cdk, no aa, no jpeg, no readline
libgphoto2      2.4.13         gcc, ltdl, EXIF
libgphoto2_port 0.8.0          gcc, ltdl, USB (libusb1), serial without locking

To Reproduce When i run gphoto2 --capture-movie=10s, I always get the same result.

I attatched log file by running gphoto2 --capture-movie=3s --debug --debug-logfile=log.txt

log.txt

msmeissn commented 2 years ago

2.4.13 is 10 years old, please update to a more recent version first.

pigbrain commented 2 years ago

2.4.13 is 10 years old, please update to a more recent version first.

I'll check it. Thanks!