cleanup
This commit is contained in:
parent
8778ce5615
commit
f19427da23
2 changed files with 7 additions and 6 deletions
|
@ -16,12 +16,14 @@
|
|||
rec_out: set output file (default: $HOME/Desktop/$(date +%F_%H-%M-%S).mkv)
|
||||
rec_fps: set framerate (default: 60)
|
||||
rec_res: set resolution (default: 1920x1080)
|
||||
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_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: 96000)
|
||||
rec_normalize: immediately start nvid after recording ends [set to enable]
|
||||
|
||||
|
||||
./avt nvid / normalize
|
||||
Normalize and compress video & audio
|
||||
Usage: ./avt nvid <file> [outfile]
|
||||
|
@ -32,7 +34,7 @@
|
|||
nvid_rgb: use libx264rgb [set to enable]
|
||||
nvid_pixfmt: set pixel format (default: yuv420p)
|
||||
nvid_profile: set profile (default: high)
|
||||
nvid_ac: set audio codec (default: aac)
|
||||
nvid_ac: set audio codec (default: libopus)
|
||||
nvid_ba: set audio bitrate (default: 160k)
|
||||
nvid_ar: set audio samplerate (default: 48000)
|
||||
|
||||
|
|
|
@ -21,7 +21,6 @@ Enviroment variables:
|
|||
rec_out: set output file (default: $HOME/Desktop/$(date +%F_%H-%M-%S).mkv)
|
||||
rec_fps: set framerate (default: 60)
|
||||
rec_res: set resolution (default: 1920x1080)
|
||||
rec_out: set output file (default: $HOME/Desktop/$(date +%F_%H-%M-%S).mkv)
|
||||
rec_preset: set preset (default: ultrafast)
|
||||
rec_vrate: replace -crf options
|
||||
rec_crf: set crf, use 0 for lossless (default: 10)
|
||||
|
@ -83,7 +82,7 @@ foreach (@sinks) {
|
|||
$pulse_inputs \
|
||||
-filter_complex "$audio_filter" \
|
||||
-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 \
|
||||
-c:v libx264rgb ${avt_cl+-x264opts opencl} -profile:v high444 -preset "${rec_preset:-ultrafast}" ${rec_vrate:--crf "${rec_crf:-10}"} -tune zerolatency -r ${rec_fps:-60} \
|
||||
-map 0:v $audio_maps -map '[merged]:a' \
|
||||
"$OUTPUTFILE"
|
||||
|
||||
|
|
Loading…
Reference in a new issue