Thank you for your answer.
Now that some tests are working, going back to the real usecase.
I'm using gphoto2 to livestream the liveview of a Canon camera, to a mediamtx server through rtsp.
The command line is the following :The mediamtx server is not a local server, it's outside my LAN.
The above command gives 58 to 60% CPU load for ffmeg.
Thank you for the "-re" option => it reduces the load to 50% CPU for ffmpeg.
But still only works with Ethernet .. using WiFi crashes the complete system without any log other than the output of ffmpeg as shown in my first post.
Now that some tests are working, going back to the real usecase.
I'm using gphoto2 to livestream the liveview of a Canon camera, to a mediamtx server through rtsp.
The command line is the following :
Code:
gphoto2 --port=usb:001 --stdout --capture-movie | ffmpeg -f mjpeg -i - -vf format=yuv420p -c:v libx264 -preset ultrafast -tune zerolatency -profile:v baseline -level 3.1 -g 25 -b:v 2M -f rtsp -rtsp_transport tcp rtsp://my_mediamtx_server:8554/rpitestThe above command gives 58 to 60% CPU load for ffmeg.
Thank you for the "-re" option => it reduces the load to 50% CPU for ffmpeg.
But still only works with Ethernet .. using WiFi crashes the complete system without any log other than the output of ffmpeg as shown in my first post.
Statistics: Posted by VincentDM2 — Sat Feb 14, 2026 9:44 am