diff --git a/shell/bash/avt/README.md b/shell/bash/avt/README.md index 0ae6522..320f165 100644 --- a/shell/bash/avt/README.md +++ b/shell/bash/avt/README.md @@ -28,7 +28,7 @@ Environment variables: nvid_preset: set preset (default: veryslow) nvid_vrate: replace -crf options - nvid_crf: set crf value (default: 21) + nvid_crf: set crf value (default: 19) nvid_rgb: use libx264rgb [set to enable] nvid_pixfmt: set pixel format (default: yuv420p) nvid_profile: set profile (default: high) diff --git a/shell/bash/avt/avt b/shell/bash/avt/avt index 48131d6..372123d 100755 --- a/shell/bash/avt/avt +++ b/shell/bash/avt/avt @@ -39,7 +39,7 @@ nvid_crf: set crf value (default: 19) 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) EOF @@ -106,7 +106,7 @@ normalize() { ${nvid_cl+-init_hw_device opencl=ocl -filter_hw_device ocl} \ -c:v libx264${nvid_rgb+rgb} ${avt_cl+-x264opts opencl} -preset "${nvid_preset:-veryslow}" ${nvid_vrate:--crf "${nvid_crf:-19}"} \ -pix_fmt "${nvid_pixfmt:-yuv420p}" -profile:v "${nvid_profile:-high}" \ - -c:a "${nvid_ac:-aac}" -b:a "${nvid_ba:-160k}" -ar "${nvid_ar:-48000}" \ + -c:a "${nvid_ac:-libopus}" -b:a "${nvid_ba:-160k}" -ar "${nvid_ar:-48000}" \ -map 0 \ "$OUTPUTFILE" return $?