How to use x265 codec in 5760 × 3240 with on Nvidia GTX 970.

Nemzag

New Member
Hello,
I'm a student, and because of Corona-virus, lot of curse's are on-line,
so I installed your tool to make record of them,

I have three screen, and one webcam,
and I made a disposition of first screen at top at 3840 × 2160,
and under it, the two screen et end of border of each border and in middle web-cam,
all in three 1920 × 1080.
Screen 1​
Screen 1​
Screen 1​
Screen 1​
Screen 1​
Screen 1​
Screen 1​
Screen 1​
Screen 2​
Screen 2​
WebCam​
WebCam​
Screen 3​
Screen 3​

But the problem is, that if I use output mode Simple,
I can only use Software x264 Low C.P.U.,
and the files are very big and difficult to upload,
because their size are huge,
and in Belgium I have only 2.3 Mo / s of speed,
so it take to much time.

I can't use Hardware (NVENC), because if I set x264 NVEnc, I have this message :
Code:
NVENC Error: init_encoder: nv.nvEncInitializeEncoder(enc->session, params)
failed: 8(NV_ENC_ERR_INVALID_PARAM

I tried many thing, but the only possible is Software x264 Low C.P.U.
This was good until I thought to be use many tracks pro sound, to differentiate, my voice and teachers voices.

So I changed Out-put mode to Advanced.
I was also unable to configure FFmpeg,
to be able to use x265 who allow record are more than 2K (3840 × 2160).
So I setted in NVENC_HEVC or HEVC_NVENC, but I had also error message.
Code:
An unspecified error occured while recording.
Failed to open video codec: Generic error in external library.

the problem of x264 C.P.U. only in advanced with setting at :
Code:
Type : Standard
Audio Track : 1 2 3 (both, micro : me, window : prof)
Recording format : x264
Rate Control : VBR
Bitrate : 100.000 K.b.p.s.
C.P.U. usage : ultrafast
Profile : high
Tune : zerolatency
is that in long video of more of three hours the frame-rate drop, and jerk.

So after some search, to how to use x265,
yesterday I found a page here,
who was talking about a plug-in called StreamFX and I tried to use it,
but anyway I configured x265 in
Code:
Output Mode : Advanced (at first),
Type : Standard
Encoder : Nvidia NVENC H.265/HEVC (via FFmpeg)
With others custom parameters, but if I push record, I get this error message :
Code:
Starting the output failed. Please check the log pro details.

Note: If you are using the NVENC or AMD encoders, make sure your videos drivers are up to date.

With any setting log say this :
Code:
10:08:36.723: fatal:   No NVENC capable devices found
10:08:36.723: [StreamFX] Unexpected exception in function '_create': Generic error in an external library.

But my hardware GTX 970 is capable since I can use x265 with G.P.U. help,
in VEGAS Movie Studio 16 Platinum Steam or with Any Video Converter
(and in Taskmgr.exe\Performance I can see that G.P.U.0 Video Encode is working),
and encoding or decoding is faster in these cases,

So I seek help,
or a valuable suggestion,
to be able to use encode in x265 with my GTX 970 with last NVidia driver,
to be able to use 5760 × 3240 without jerk and big file size !!!

Thank pro help.
And greeting pro your very useful and nice tool.
- https://obsproject.com/logs/qLiVyTcha-Ub8nA3
 

koala

Active Member
Nvenc: your logfile shows a recent enough Nvidia driver, but it neither show OBS loading StreamFX nor any recording attempt, so it doesn't match your post. Make sure you're using the most recent Nvidia driver and the most recent StreamFX plugin version.
 

Nemzag

New Member
So if I comprehend well,
there is not any solution then ? Please.
Hope someone will have an idea one day.
 

koala

Active Member
No Nvidia card supports more than 4096x4096 with nvenc h.264. However, 8192x8192 is supported by nvenc h.265 (hevc), available within the depths of the custom ffmpeg output as well as from a plugin like StreamFX. In your OP, you mentioned StreamFX, so I guessed you already sorted that out and use StreamFX, which exposes h.265/hevc conveniently in the advanced output mode. Another however: I don't know if a GTX 9xx supports that. It may be too old.
 

Nemzag

New Member
No Nvidia card supports more than 4096x4096 with nvenc h.264. However, 8192x8192 is supported by nvenc h.265 (hevc), available within the depths of the custom ffmpeg output as well as from a plugin like StreamFX. In your OP, you mentioned StreamFX, so I guessed you already sorted that out and use StreamFX, which exposes h.265/hevc conveniently in the advanced output mode. Another however: I don't know if a GTX 9xx supports that. It may be too old.
This is why asked this here,
because I was ën‑able to vind a vroguing parameter’s, ḩoping an advice, a trick or a solution.

Ḩope that someone vill write it here.

But I’m şure that Nvidia GTX 970 can en‑code in x265 using his G.P.U.,
since I use it in Vegas Movie Studio 16 Platinum & Any Video Converter (but I can't use more than 4K in these tool’s),
and when I check Taskmgr.exe, I see that the use (%) of en‑code & G.P.U. is active.

Tʰank anyway pro you ḩêlp,
it’s very nice & kind !!!

Maxwell second generation GM20x GPUs have an upgraded NVENC which supports HEVC encoding and adds support for H.264 encoding resolutions at 1440p/60FPS & 4K/60FPS compared to NVENC on Maxwell first generation GM10x GPUs which only supported H.264 1080p/60FPS encoding.[19]

Maxwell GM206 GPU supports full fixed function HEVC hardware decoding.[27][28]
 
Last edited:
Top