Quantcast
Channel: Raspberry Pi Forums
Viewing all articles
Browse latest Browse all 9785

Graphics, sound and multimedia • Re: rtsp camera stream

$
0
0
rpi 3 zero2w over 12 h

nice -n -11 rpicam-vid --low-latency 1 -b 1000000 --denoise cdn_off --codec libav --libav-format flv --profile=high --hdr=off \
--awb indoor --level 4.2 --framerate 24 --width 1296 --height 972 \
--audio-codec libfdk_aac --audio-channels 1 --libav-audio 1 --audio-source pulse --intra 0 \
-t 0 --flush 0 -n -o - | ffmpeg -hide_banner -fflags genpts \
-hwaccel drm -hwaccel_output_format drm_prime -i - -metadata title='MOON' -vcodec copy -copyts -acodec libfdk_aac \
-max_muxing_queue_size 9999 -bufsize 2M -fps_mode:v cfr -af "rubberband=tempo=0.999" \
-f rtsp -rtsp_transport udp rtsp://localhost:8554"/mystream

rpi4 over 12 h !! not working on rpi 3!!! error non pps reference

nice -n -11 rpicam-vid --brightness 0.1 --contrast 1.0 --sharpness 1.0 --hdr=off --denoise cdn_off \
--width 1536 --height 864 --autofocus-mode manual --autofocus-range normal --autofocus-window 0.25,0.25,0.5,0.5 \
--low-latency 1 -b 1000000 --framerate 30 --codec libav --libav-format flv --profile=main --level 4.1 --intra 0 --av-sync=0 \
--audio-codec libfdk_aac --audio-channels 2 --libav-audio 1 --audio-source pulse \
-t 0 -n -o - | ffmpeg -hide_banner -fflags genpts -hwaccel drm -hwaccel_output_format drm_prime -i - -metadata title='lucy' \
-c:v h264_v4l2m2m -b:v 1M -maxrate 1M -minrate 1M -bufsize 2000k -fps_mode:v cfr -filter:v fps=fps=ntsc:round=zero \
-threads $(nproc) -c:a libfdk_aac -vbr 0 -max_muxing_queue_size 9999 -flush_packets 0 \
-f rtsp -rtsp_transport udp rtsp://localhost:8554"/mystream


rpi 4 less cpu less mem also stable over 12h




nice -n -11 rpicam-vid --low-latency -b 1000000 --denoise cdn_off --codec libav --libav-format flv --profile=main --hdr=off \
--level 4.1 --framerate 30 --width 1536 --height 864 --av-sync=0 --autofocus-mode manual --autofocus-range normal --autofocus-window 0.25,0.25,0.5,0.5 \
--audio-codec libfdk_aac --audio-channels 2 --libav-audio 1 --audio-source pulse --intra 0 \
-t 0 --flush 0 -n -o - | ffmpeg -hide_banner -fflags genpts \
-hwaccel drm -hwaccel_output_format drm_prime -i - -metadata title='lucy' -vcodec copy -copyts -acodec libfdk_aac \
-max_muxing_queue_size 9999 -bufsize 2M -af "rubberband=tempo=0.9999" -fps_mode:v cfr \
-f rtsp -rtsp_transport udp rtsp://localhost:8554"/mystream


sources

https://ayosec.github.io/ffmpeg-filters ... o/fps.html

NTSC frame rate of 30000/1001

Statistics: Posted by mediauser — Thu Jan 15, 2026 6:56 pm



Viewing all articles
Browse latest Browse all 9785

Trending Articles