![]() ![]() Rbis -enable-libvpx -enable-libwavpack -enable-libwebp -enable-libx264 -enable-libx265 -enable-libxavs -enable-liīxvid -enable-libzimg -enable-lzma -enable-decklink -enable-zlib Soxr -enable-libspeex -enable-libtheora -enable-libtwolame -enable-libvidstab -enable-libvo-amrwbenc -enable-libvo Openh264 -enable-libopenjpeg -enable-libopus -enable-librtmp -enable-libschroedinger -enable-libsnappy -enable-lib Nable-libilbc -enable-libmodplug -enable-libmp3lame -enable-libopencore-amrnb -enable-libopencore-amrwb -enable-lib In this example script the container is MKV, audio codec is FLAC and video codec is H.264/AVC.Ĭonfiguration: -enable-gpl -enable-version3 -disable-w32threads -enable-dxva2 -enable-libmfx -enable-nvenc -enaīle-avisynth -enable-bzlib -enable-libebur128 -enable-fontconfig -enable-frei0r -enable-gnutls -enable-iconv -enaīle-libass -enable-libbluray -enable-libbs2b -enable-libcaca -enable-libfreetype -enable-libgme -enable-libgsm -e.However, if your source material is lossless RGB and you want the absolutely best quality, use preset=lossless and uncomment SET videofilter=-pix_fmt yuv444p I've added bunch of other settings there too but commented them out.You can adjust it manually for optimal results: target framerate x 10 so for 60 fps -g 600. NVIDIA recommended using three b-frames (-b) in one of their pdfs for optimal quality (switch: -b 3). For AVC you can enable b frames with -b switch. You can also play with -temporal-aq 1 switch (works for AVC) and -spatial_aq 1 switch (works for HEVC).On top of that NVENC's constant quality rate mode works surprisingly well, quality wise. It's really great to see than NVENC supports this mode and on top of that it even supports lossless encoding and yuv444p format. rc constqp enables constant quality rate mode which in my opinion is really, really handy and I always use it over fixed bitrate modes. ![]() cq=number controls quality, lower number means better quality. If you want lossless encoding use preset=lossless.REM basically comments out the line so if you want to change encoder to hevc_nvenc (H.265/HEVC) add REM before SET encoder=h264_nvenc and remove REM for SET encoder=hevc_nvenc.That script will automatically process every file in your Input folder and it will make Output folder for the new files. SET audioencoder=-c:a flac -compression_level 12 SET videoencoder=-c:v %encoder% -rc constqp -global_quality %cq% -preset %preset% -rc-lookahead 32 -g 600 REM SET audiofilter=-af aresample=resampler=soxr:precision=28:dither_method=shibata %sample% %khz% REM SET resolution=-sws_flags lanczos -s 1280x720 If not exist "%output_folder%" mkdir "%output_folder%" ![]()
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |