drop default ar to 96000 for rec

This commit is contained in:
Ali Furkan Yıldız 2023-01-11 21:24:16 +03:00
parent af84a7d8e1
commit 8778ce5615
2 changed files with 3 additions and 3 deletions

View file

@ -19,7 +19,7 @@
rec_display: choose the display to record (default: $DISPLAY)
rec_crf: set crf, use 0 for lossless (default: 6)
rec_adev: set pulseaudio source devices (default: default and first running monitor) [array]
rec_ar: set audio samplerate (default: 192000)
rec_ar: set audio samplerate (default: 96000)
rec_normalize: immediately start nvid after recording ends [set to enable]
./avt nvid / normalize

View file

@ -26,7 +26,7 @@ rec_preset: set preset (default: ultrafast)
rec_vrate: replace -crf options
rec_crf: set crf, use 0 for lossless (default: 10)
rec_adev: space separated pulseaudio source devices (default: default and first running monitor)
rec_ar: set audio samplerate (default: 192000)
rec_ar: set audio samplerate (default: 96000)
rec_normalize: immediately start nvid after recording ends [set to enable]
$0 nvid / normalize
@ -82,7 +82,7 @@ foreach (@sinks) {
-f x11grab -r "${rec_fps:-60}" -s "${rec_res:-1920x1080}" -i "${rec_display:-$DISPLAY}" \
$pulse_inputs \
-filter_complex "$audio_filter" \
-c:a pcm_s16le -ar "${rec_ar:-192000}" \
-c:a pcm_s16le -ar "${rec_ar:-96000}" \
-c:v libx264rgb ${avt_cl+-x264opts opencl} -profile:v high444 -preset "${rec_preset:-ultrafast}" ${rec_vrate:--crf "${rec_crf:-10}"} -tune zerolatency -r 60 \
-map 0:v $audio_maps -map '[merged]:a' \
"$OUTPUTFILE"