Replies: 1 comment
-
set 15 fps with and height always before v4l2-ctl -d /dev/video0 -p 15 --set-fmt-video=width=1280,height=720 --set-ctrl=brightness=57,contrast=-11,exposure_dynamic_framerate=0 in this examples audio device = plughw:0 this is the first audio device ! best streaming !! no audio video delay very stable ffmpeg -vcodec h264_v4l2m2m -fflags +nobuffer+genpts+igndts -flags low_delay -hide_banner -f alsa -i plughw:0 -f v4l2 -re -input_format yuv420p -i /dev/video0 -c:v h264_v4l2m2m -pix_fmt yuv420p -b:v 1700k -fpsmax 15 -c:a libopus -application lowdelay -b:a 64k -ar 48000 -f s16le -threads 4 -f rtsp -rtsp_transport tcp rtsp://localhost:8554/mystream libfdkaac ffmpeg -vcodec h264_v4l2m2m -avoid_negative_ts make_zero -fflags +nobuffer+genpts+igndts -flags low_delay -hide_banner -f alsa -i plughw:CARD=Device,DEV=0 -f v4l2 -re -input_format yuv420p -i /dev/video0 -metadata title="SUN" -c:v h264_v4l2m2m -pix_fmt yuv420p -b:v 1700k -fpsmax 15 -g 25 -c:a libfdk_aac -eld_sbr 1 -ar 44100 -b:a 32k -threads 4 -f rtsp -rtsp_transport tcp rtsp://localhost:8554/mystream |
Beta Was this translation helpful? Give feedback.
-
Question
I've been trying some different setups with MediaMTX on my raspberry pi and found that by far
source: rpiCamera
provides the lowest latency when I use the webRTC iframe in a browser.I wanted to see if there was any way that I could use this with a usb web cam for example I have this one?
Beta Was this translation helpful? Give feedback.
All reactions