This commit is contained in:
douzeb 2023-03-01 11:42:50 +01:00
parent f0278ea602
commit 6d8a6d694e

View file

@ -65,24 +65,19 @@ $
#-x264opts nal-hrd=cbr:force-cfr=1:vbv-bufsize=${BUFFERSIZE}:bitrate=${VBITRATE}:vbv-maxrate=${VBITRATE} \ #-x264opts nal-hrd=cbr:force-cfr=1:vbv-bufsize=${BUFFERSIZE}:bitrate=${VBITRATE}:vbv-maxrate=${VBITRATE} \
#-shortest \ #-shortest \
ffmpeg \
-loglevel level \
#-s ${RESOLUTION} \ #-s ${RESOLUTION} \
#-loop 1 \ #-loop 1 \
#-r 25 \ #-r 25 \
-y \
#-ac 2 \ #-ac 2 \
-f v4l2 -framerate 25 -video_size ${RESOLUTION} -i ${V4LDEVICE}
#-re \ #-re \
#-f lavfi \ #-f lavfi \
#-i aevalsrc="(1-min(1\,mod(floor(5*t)\,50)))*0.1*sin(8*PI*(360-2.5/2)*t)+0.1*sin(2*PI*(360-2.5/2)*t)|(1-min(1\,mod(floor(5*t)\,50)))*0.1*sin(8*PI*(360+2.5/2)*t)+0.1*sin(2*PI*(360+2.5/2)*t):sample_rate=48000" \ #-i aevalsrc="(1-min(1\,mod(floor(5*t)\,50)))*0.1*sin(8*PI*(360-2.5/2)*t)+0.1*sin(2*PI*(360-2.5/2)*t)|(1-min(1\,mod(floor(5*t)\,50)))*0.1*sin(8*PI*(360+2.5/2)*t)+0.1*sin(2*PI*(360+2.5/2)*t):sample_rate=48000" \
-f alsa -ac 2 -i hw:CARD=CAMERA,DEV=0 ffmpeg \
-loglevel level \
-y \
-f v4l2 -framerate 25 -video_size ${RESOLUTION} -i ${V4LDEVICE} \
-f alsa -ac 2 -i hw:CARD=CAMERA,DEV=0 \
-channel_layout stereo \ -channel_layout stereo \
-ar 48000 \ -ar 48000 \
-pixel_format yuv420p \ -pixel_format yuv420p \