fix example clips not having stereo audio

This commit is contained in:
Dominic 2023-10-30 20:28:03 +01:00
parent 56c6fb6be2
commit 469fc5d663
Signed by: msrd0
GPG key ID: DCC8C247452E98F9

View file

@ -14,7 +14,7 @@ function render_clip() {
-filter_complex "
gradients=s=1920x1080:c0=$c0:c1=$c1:d=4:x0=480:y0=540:x1=1440:y1=540,
format=nv12,hwupload[v];
aevalsrc=sin($freq*2*PI*t):s=48000[a]
aevalsrc=sin($freq*2*PI*t):s=48000,pan=stereo|c0=c0|c1=c0[a]
" \
-map "[v]" -map "[a]" \
-c:v h264_vaapi -r 25 -t 4 \