Add beeps every 10 seconds in the pattern stream, when the time elapsed overlay hits the borders, to allow checking for audio/video sync

This commit is contained in:
Lab 8916100448256 2020-12-04 23:21:56 +01:00
parent 2344ed6a12
commit d0a5fa5f91
2 changed files with 2 additions and 3 deletions

View file

@ -55,7 +55,6 @@ echo " "
rm $FILENAME
#-x264opts nal-hrd=cbr:force-cfr=1:vbv-bufsize=${BUFFERSIZE}:bitrate=${VBITRATE}:vbv-maxrate=${VBITRATE} \
ffmpeg \
-loglevel level \
@ -66,7 +65,7 @@ ffmpeg \
-ac 2 \
-i Mire_1080p.png \
-f lavfi \
-i aevalsrc="0.1*sin(2*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" \
-channel_layout stereo \
-ar 48000 \
-shortest \

View file

@ -69,7 +69,7 @@ ffmpeg \
-i Mire_1080p.png \
-re \
-f lavfi \
-i aevalsrc="0.1*sin(2*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" \
-channel_layout stereo \
-ar 48000 \
-pixel_format yuv420p \