Page 1 of 1

Hardware encoding

Posted: Tue Oct 17, 2017 6:05 pm
by gonca
The speed you are working at makes ask
any possibility you could look at NVEnc as your next challenge?
I am sure it would be another awesome DG tool

Re: Hardware encoding

Posted: Tue Oct 17, 2017 8:46 pm
by admin
A few questions arise. Can I improve the performance of the nVidia NVEnc application? And can I bring anything extra in terms of functionality over the existing tools? I would want to have affirmative answers before deciding to invest much time into it. But I can certainly explore the first question. I'll try to get to it soon.

Re: Hardware encoding

Posted: Fri Oct 27, 2017 8:55 pm
by De-M-oN
zeranoe ffmpeg doesnt have libnpp integrated, but if it would have I could capture with resizing to 2800x1750.

Then I even wouldnt have to encode after my game captures and could directly upload it to youtube.

Why the resizing? Because 1750 pixel height is the minimum height to get their 4k bitrate, which is encoded with much better bitrate than normal 1440p or in my case 1600p.
Same goes for 1080p. If you upscale it to 2048x1152 you get the 1440p bitrate coding.
Means while 1080p gets only 3,5 mbit bitrate, 2048x1152 would get 10 mbit bitrate.

I explained that in further detail here: ... ost2362898

Its in german though.
I use this to capture my games:

Code: Select all

ffmpeg -vstats_file "d:\XVideos\LPT Complex Doom HR2\LPT Complex Doom HR2__47.txt" -rtbufsize 2048M -f dshow -framerate 60 -thread_queue_size 1024 -probesize 10M -pixel_format bgr24 -i video="Datapath VisionSC-DP2 Video 01":audio="Wave (ASUS Xonar HDAV 1.3 Audio" -vf "vflip" -vcodec h264_nvenc -pix_fmt yuv420p -rc:v vbr -b:v 0 -qmin 1 -qmax 16 -preset hp -acodec pcm_s16le -audio_buffer_size 80 "e:\LPT Complex Doom HR2\LPT Complex Doom HR2__47.mkv"
And if I wouldnt have to resize the video afterwards I could upload my captured videofile instead of having to re-encode it, just to get it to the higher resolution.
So it would be awesome if I could somehow have the hardware resizing usable into ffmpeg : /

Re: Hardware encoding

Posted: Fri Oct 27, 2017 10:01 pm
by admin
Sorry but that's OT for this forum. I have nothing to do with ffmpeg.