ffmpeg – how to stream a video with canon on raspberrypi4 to pc with rtsp poctocol or other protocol

i want to stream or live view with canon camera in gphoto2 module on raspberry pi 4
how to send live view data to pc with lan cable?
i use gphoto2 and rtsp protocol with many error
can anyone do this?

i have an canon 550d camera and connected this with usb cable
and use gphoto2 for get liveview data
then i start simple rtsp protocl

now i use this code to add live view to rtsp
gphoto2 –stdout –capture-movie | ffmpeg -i – -vcodec rawvideo -pix_fmt yuv420p -threads 0 -f rtsp -rtsp_transport tcp localhost:8554/mys

when i want to use vls to get this camera has many error

Read more here: Source link