YouTube will re-encode whatever you feed it anyway, but I like to stream my videos from my private server as well. For streaming it's better to have smooth bit-rate. Setting -qp 28 would keep CQ constant while dynamically adjusting the bit-rate. Keeps the bit-rate somewhat constant while dynamically adjusting the Constant quantization parameter or -qp. The most important factor in determining overall quality. no-scenecut 1: When lookahead is enabled, set this to 1 to disable adaptive I-frame insertion at scene cuts (default false). You may notice when starting a demo that it plays super fast for a few frames before slowing down for the rest of the run. rc-lookahead 30: Causes the encoder to build a 1/2 second frame buffer to help smooth out bit-rate spikes. Doesn't affect speed at all when using PrBoom software renderer in 4k. Probably not needed and may make the encoder take slightly longer. Level 5.1 is the minimum required for The default main tier constrains the maximum bit-rate to 40M level:v 153: Constrains the encoder to not exceed certain values. Although I can probably use the default of 2. Here's the breakdown of the options I used. I've been using NVIDIA hardware encoding with FFMPEG as well.Ĭap_videocommand "ffmpeg -y -f rawvideo -pix_fmt rgb24 -s %wx%h -r %r -i pipe:0 -g 480 -c:v hevc_nvenc -preset 1 -level:v 153 -rc:v 32 -rc-lookahead 30 -no-scenecut 1 -cq 28 output.mp4" On my notebook (Asus TUF Gaming FX505DT, Ryzen 5 3550H, NVIDIA GTX 1650) hardware encoding takes more than 2 times less time compared to CPU encoding with x264.exe Run your demo file: gl(pr)boom-plus.exe -viddump test.mp4 -timedemo demo.lmp change encoder to hevc_nvenc, increase bitrate, I'm not a big expert in ffmpeg encoding commands)Ħ. Open your gl(pr)boom-plus.cfg configuration file.Ĭap_videocommand "ffmpeg -y -an -f rawvideo -pixel_format rgb24 -video_size %wx%h -framerate %r -i -c:v h264_nvenc -preset llhp -rc:v cbr -cq:v 16 -bf:v 3 -b:v 6M -maxrate:v 8M -profile:v main -bufsize:v 8M output.mp4" Ensure that your prboom+ configuration is able to run -viddump command properly (download oggenc2, mkvmerge etc)Ģ. Hope this guide will be helpful to somebody. I've managed to use NVIDIA hardware encoding for -viddump command. Hi there, haven't found if somebody did that already before me.
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |