Tested version

This commit is contained in:
douzeb 2023-03-01 23:56:30 +01:00
parent 99e84f4432
commit 5e0b90b27a
1 changed files with 3 additions and 12 deletions

View File

@ -63,21 +63,12 @@ echo Will stream to $URL
echo and save a copy of the data file :
echo $FILENAME
#-x264opts nal-hrd=cbr:force-cfr=1:vbv-bufsize=${BUFFERSIZE}:bitrate=${VBITRATE}:vbv-maxrate=${VBITRATE} \
#-shortest \
#-s ${RESOLUTION} \
#-loop 1 \
#-r 25 \
#-ac 2 \
#-re \
#-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" \
#-t ${DURATION} \
# A la ligne 76, utiliser cette ligne pour avoir un son de test généré par ffmpeg :
# -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" \
#-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" \
# A la ligne 76, utiliser cette ligne pour avoir le son de la caméra :
#-f alsa -ac 2 -i hw:CARD=CAMERA,DEV=${V4LDEVICE} \
ffmpeg \
-loglevel level \
-y \