Question / Help Recording with nvenc_hevc in MKV-container (and QuickSync)

Banezaka

New Member
Hi,

1) I have a GTX 970 and I am trying to record video with the nvenc_hevc encoder in a mkv file. When I am configuring the recording tab I only see the option to use nvenc_hevc when choosing mp4 as container. When I choose the matroska container I can't find any encoder that has to do with hevc. Do anyone know what I may have missed?
I prefer mkv because of its stability when writing to disk.

2) I can use QuickSync and it works very well with x264, but I wonder if QuickSync has any hevc support also? I am using Intel HD Graphics 4600 as iGPU.

3) If I use mp4 container and nvenc_hvec with bitrate 320 and audio encoder ac3, I get no audio (!?) with 4 tracks. But I do get audio with 1 track.

4) When using the Custom Output (FFmpeg) type, the replay buffer can not be enabled?
 
Last edited:

sam686

Member
1. Not sure about Matroska, I don't have NVENC, you can try to use "Show All Codecs" to show everything. To make mp4 less dangerous from unclean shutdown at a cost of slower opening of video file,
try custom MP4 muxer option: movflags=frag_keyframe+empty_moov
https://www.google.com/search?q=output+fragmented+mp4
Can later remux to convert fragmented mp4 into not-fragmented mp4. (OBS-Studio file menu)

2. Yes on newer QuickSync compatible CPU, no on older CPU. HEVC in QuickSync requires intel Skylake CPU or newer, and I am not sure if FFMPEG have QuickSync HEVC encoder yet.
https://en.wikipedia.org/wiki/Intel_Quick_Sync_Video

3. Custom Output in OBS-Studio might not support recording more then 1 tracks at a time, yet. What you might be selecting is track 4 only, without tracks 1,2,3,5,6.

4. not sure.
 
Top