Re: Troubleshooting Canon Rebel T3i on Ubuntu 16.04

Marcus Meissner <[email protected]> Sun, 2 Aug 2020 19:31:37 +0200
Newsgroups gmane.comp.multimedia.gphoto.user
Message-ID <[email protected]>
HI,

On Sat, Aug 01, 2020 at 07:27:34PM -0400, Demba Ba wrote:
> Greetings,
> 
> I hope this message finds you well.
> 
> Thanks for putting together and supporting this tool.
> 
> My goal is to use my camera as a streaming device. I am running Ubuntu
> 16.04.
> 
> Following the instructions here, I am able to
> 
> 1) capture images using
> gphoto2 --capture-image
> 
> 2) record video using
> gphoto2 --set-config viewfinder=1 --set-config movierecordtarget=Card
> --wait-event=10s --set-config movierecordtarget=None
> --wait-event-and-download=2s
> 
> Unfortunately, I am not able to capture the live stream from the camera
> using
> gphoto2 --debug --debug-logfile=streaming_file.txt --stdout --capture-movie
> | ffmpeg -i - -vcodec rawvideo -pix_fmt yuv420p -threads 0 -f v4l2
> /dev/video1
> 
> I am attaching the log file obtained by running the command.
> 
> P.S.: I create dev/video1 using
> sudo modprobe v4l2loopback
> 
> Thank you in advance for your assistance.
> 
> 
> Demba.

> 0.000094 main                        (2): ALWAYS INCLUDE THE FOLLOWING LINES WHEN SENDING DEBUG MESSAGES TO THE MAILING LIST:
> 0.000142 main                        (2): gphoto2 2.5.9
> 0.000154 main                        (2): gphoto2 has been compiled with the following options:
> 0.000160 main                        (2):  + gcc (C compiler used)
> 0.000167 main                        (2):  + popt (mandatory, for handling command-line parameters)
> 0.000174 main                        (2):  + exif (for displaying EXIF information)
> 0.000181 main                        (2):  + no cdk (for accessing configuration options)
> 0.000186 main                        (2):  + aa (for displaying live previews)
> 0.000191 main                        (2):  + jpeg (for displaying live previews in JPEG format)
> 0.000197 main                        (2):  + readline (for easy navigation in the shell)
> 0.000207 main                        (2): libgphoto2 2.5.9

One thing you should do is update to a more recent version of libgphoto2, as this is from 2015.

2.5.25 is the current one, and we did some bugfixes in the EOS code inbetween.

Ciao, Marcus