Tested version

This commit is contained in:
douzeb 2023-03-01 23:56:30 +01:00
parent 99e84f4432
commit 5e0b90b27a

View file

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