Hallo !
I stream with this script ! only install mediamtx https://github.com/bluenviron/mediamtx
rpicam-vid -b 700000 --autofocus-mode continuous --denoise cdn_off --brightness 0.1 --contrast 1.0 --sharpness 1.0 --level 4.2 --framerate 25 --width 640 --height 360 -t 0 -n --inline -o - | \
ffmpeg -fflags +nobuffer+genpts -flags low_delay -avioflags direct -hwaccel drm -hwaccel_output_format drm_prime \
-hide_banner -f alsa -i plughw:CARD=Device,DEV=0 -r 25 -i - -metadata title='DEVIL' -c:v copy -acodec libopus -f floatp -ar 44100 -b:a 32k -fpsmax 25 -threads 4 \
-f rtsp -rtsp_transport tcp rtsp://localhost:8554/mystream
without audio
rpicam-vid -b 700000 --autofocus-mode continuous --denoise cdn_off --brightness 0.1 --contrast 1.0 --sharpness 1.0 --level 4.2 --framerate 25 --width 640 --height 360 -t 0 -n --inline -o - | \
ffmpeg -fflags +nobuffer+genpts -flags low_delay -avioflags direct -hwaccel drm -hwaccel_output_format drm_prime \
-hide_banner -r 25 -i - -metadata title='DEVIL' -c:v copy -fpsmax 25 -threads 4 \
-f rtsp -rtsp_transport tcp rtsp://localhost:8554/mystream
I stream with this script ! only install mediamtx https://github.com/bluenviron/mediamtx
rpicam-vid -b 700000 --autofocus-mode continuous --denoise cdn_off --brightness 0.1 --contrast 1.0 --sharpness 1.0 --level 4.2 --framerate 25 --width 640 --height 360 -t 0 -n --inline -o - | \
ffmpeg -fflags +nobuffer+genpts -flags low_delay -avioflags direct -hwaccel drm -hwaccel_output_format drm_prime \
-hide_banner -f alsa -i plughw:CARD=Device,DEV=0 -r 25 -i - -metadata title='DEVIL' -c:v copy -acodec libopus -f floatp -ar 44100 -b:a 32k -fpsmax 25 -threads 4 \
-f rtsp -rtsp_transport tcp rtsp://localhost:8554/mystream
without audio
rpicam-vid -b 700000 --autofocus-mode continuous --denoise cdn_off --brightness 0.1 --contrast 1.0 --sharpness 1.0 --level 4.2 --framerate 25 --width 640 --height 360 -t 0 -n --inline -o - | \
ffmpeg -fflags +nobuffer+genpts -flags low_delay -avioflags direct -hwaccel drm -hwaccel_output_format drm_prime \
-hide_banner -r 25 -i - -metadata title='DEVIL' -c:v copy -fpsmax 25 -threads 4 \
-f rtsp -rtsp_transport tcp rtsp://localhost:8554/mystream
Statistics: Posted by mediauser — Wed May 01, 2024 7:39 am