Question / Help Problem With HEVC Encoder

Satsujin Kou

New Member
After I updated my graphic driver to latest version this problem occur.. however it only happened when I use OBS, HEVC still working if I use Radeon ReLive. Oh and it didn't happen when I use the previous graphic driver and obviously I don't want to rollback my driver only to fix this problem. So I wonder, is this a problem with the driver or the obs? cuz I know Radeon is famous with their broken drivers
Here's the screenshot of the said problem, and a detail about my graphic card

16:08:32.291: ==== Recording Start ===============================================
16:08:32.291: [ffmpeg muxer: 'adv_file_output'] Writing file 'D:/Recording/2017-08-01 16-08-32.mp4'...
16:08:32.369: [AMF] <Id: 31> Initial Frame Latency is 60007600 nanoseconds.
16:09:55.026: [ffmpeg muxer: 'adv_file_output'] Output of file 'D:/Recording/2017-08-01 16-08-32.mp4' stopped
16:09:55.026: Output 'adv_file_output': stopping
16:09:55.026: Output 'adv_file_output': Total encoded frames: 4964
16:09:55.026: Output 'adv_file_output': Total drawn frames: 4964
16:09:55.027: ==== Recording Stop ================================================
16:09:55.791: [game-capture: 'Game Capture'] ------------------ gl capture freed ------------------
16:09:55.810: [game-capture: 'Game Capture'] gl shared texture capture successful
16:09:55.812: [game-capture: 'Game Capture'] shared texture capture successful
16:10:14.599: Settings changed (outputs)
16:10:14.599: ------------------------------------------------
16:12:17.443: [AMF] [H265]<Id: 40> Encoder Parameters:
16:12:17.443: [AMF] [H265]<Id: 40> Backend:
16:12:17.443: [AMF] [H265]<Id: 40> Video API: Direct3D 11
16:12:17.443: [AMF] [H265]<Id: 40> Video Adapter: Radeon(TM) RX 460 Graphics (VEN_1002/DEV_67ef/SUB_a4601787/REV_00cf)
16:12:17.443: [AMF] [H265]<Id: 40> OpenCL: Not Supported
16:12:17.443: [AMF] [H265]<Id: 40> Transfer: Disabled
16:12:17.443: [AMF] [H265]<Id: 40> Conversion: Disabled
16:12:17.443: [AMF] [H265]<Id: 40> Multi-Threading: Disabled
16:12:17.443: [AMF] [H265]<Id: 40> Queue Size: 4
16:12:17.443: [AMF] [H265]<Id: 40> Frame:
16:12:17.443: [AMF] [H265]<Id: 40> Format: NV12 601 Partial
16:12:17.443: [AMF] [H265]<Id: 40> Resolution: 1920x1080
16:12:17.443: [AMF] [H265]<Id: 40> Frame Rate: 60/1
16:12:17.443: [AMF] [H265]<Id: 40> Aspect Ratio: 1:1
16:12:17.443: [AMF] [H265]<Id: 40> Static:
16:12:17.443: [AMF] [H265]<Id: 40> Usage: Transcoding
16:12:17.443: [AMF] [H265]<Id: 40> Quality Preset: Balanced
16:12:17.443: [AMF] [H265]<Id: 40> Profile: Main 4.1
16:12:17.443: [AMF] [H265]<Id: 40> Tier: Main
16:12:17.443: [AMF] [H265]<Id: 40> Coding Type: Automatic
16:12:17.443: [AMF] [H265]<Id: 40> Max. Reference Frames: 1
16:12:17.443: [AMF] [H265]<Id: 40> Max. Long-Term Reference Frames: 0
16:12:17.443: [AMF] [H265]<Id: 40> Rate Control:
16:12:17.443: [AMF] [H265]<Id: 40> Method: Peak Constrained Variable Bitrate
16:12:17.443: [AMF] [H265]<Id: 40> Pre-Pass Mode: Disabled
16:12:17.443: [AMF] [H265]<Id: 40> QP:
16:12:17.443: [AMF] [H265]<Id: 40> Ranges:
16:12:17.443: [AMF] [H265]<Id: 40> I-Frame: 18 - 51
16:12:17.443: [AMF] [H265]<Id: 40> P-Frame: 18 - 51
16:12:17.443: [AMF] [H265]<Id: 40> Fixed:
16:12:17.443: [AMF] [H265]<Id: 40> I-Frame: 26
16:12:17.443: [AMF] [H265]<Id: 40> P-Frame: 26
16:12:17.443: [AMF] [H265]<Id: 40> Bitrate:
16:12:17.443: [AMF] [H265]<Id: 40> Target: 18500000 bit/s
16:12:17.443: [AMF] [H265]<Id: 40> Peak: 30000000 bit/s
16:12:17.443: [AMF] [H265]<Id: 40> Flags:
16:12:17.443: [AMF] [H265]<Id: 40> Filler Data: Enabled
16:12:17.443: [AMF] [H265]<Id: 40> Frame Skipping: Disabled
16:12:17.443: [AMF] [H265]<Id: 40> Period: 0 Frames
16:12:17.443: [AMF] [H265]<Id: 40> Behaviour: Skip every Nth frame
16:12:17.443: [AMF] [H265]<Id: 40> Variance Based Adaptive Quantization: Enabled
16:12:17.443: [AMF] [H265]<Id: 40> Enforce Hypothetical Reference Decoder: Disabled
16:12:17.443: [AMF] [H265]<Id: 40> Video Buffering Verfier:
16:12:17.443: [AMF] [H265]<Id: 40> Buffer Size: 20000000 bits
16:12:17.443: [AMF] [H265]<Id: 40> Initial Fullness: 100 %
16:12:17.443: [AMF] [H265]<Id: 40> Max. Access Unit Size: 0
16:12:17.443: [AMF] [H265]<Id: 40> Picture Control:
16:12:17.443: [AMF] [H265]<Id: 40> Period:
16:12:17.443: [AMF] [H265]<Id: 40> IDR: 0 GOPs
16:12:17.443: [AMF] [H265]<Id: 40> I: 0 Frames
16:12:17.443: [AMF] [H265]<Id: 40> P: 0 Frames
16:12:17.443: [AMF] [H265]<Id: 40> B: 0 Frames
16:12:17.443: [AMF] [H265]<Id: 40> GOP:
16:12:17.443: [AMF] [H265]<Id: 40> Type: Fixed
16:12:17.443: [AMF] [H265]<Id: 40> Size: 0
16:12:17.443: [AMF] [H265]<Id: 40> Size Range: 0 - 16
16:12:17.443: [AMF] [H265]<Id: 40> Alignment: Enabled
16:12:17.443: [AMF] [H265]<Id: 40> Deblocking Filter: Disabled
16:12:17.443: [AMF] [H265]<Id: 40> Motion Estimation: Quarter, Half
16:12:17.443: [AMF] [H265]<Id: 40> Intra-Refresh:
16:12:17.464: [AMF] <Id: 40> <Plugin::AMD::EncoderH265::GetIntraRefreshMode> Failed to retrieve value, error AMF_INVALID_ARG (code 4)
16:12:45.128: Settings changed (outputs)
16:12:45.128: ------------------------------------------------
Thanks in advance :)

#Edit: added Log File
#Edit 2: Just realized I posted in the wrong room, I use OBS Studio not OBS Classic.. Sorry
 
Last edited:

Satsujin Kou

New Member
Sooo... Why won't you rollback to the previous version? What did the new version fix for you?
It's not really a fantastic fix, but there is some fix that I really appreciate..
Here's what, in the previous driver, even if I set each of my game profile to keep the aspect ratio, whenever I switch my resolution that is 16:9 and is higher than my monitor's resolution (using VSR) which is 1440p to 4:3 ratio which is 1024x768, the game still stretched to fill the screen and the only workaround was to switch the resolution to my monitor's native first then switch it again to the preferable 4:3 ratio, then it will be bordered with black borders on both side. I occasionally do this when making a comparison video in game between me and my friends, to avoid wasting (umm.. screen space?) so when I put mine and his side by side on 720p project resolution, it will only left some small blank space which we can use for text, subtitle, or whatever needed to put in there. So in this new driver, they fixed it and I don't have to put more effort by switching my resolution twice again.
Oh, and they made some change to the setting, they get rid of additional setting (like brightness, RGB, etc) that will open the classic radeon control setting when we need to adjust some setting and move them within the crimson setting which makes it more efficient now.
Also, there's this one game that I feel like getting a slightly better fps with this driver (maybe just my imagination, but meh.. that's what I feel though)
 

Satsujin Kou

New Member
I looked at the log. It crashes when the plugin tries to "get the intra refresh mode". Perhaps the driver no longer supports this action? I think you'd get farther posting this (or linking to here) in the discussion of the HEVC Plugin.
It's okay.. Xaymar told me that it's a graphic driver bug and he already reported it to AMD so all I can do right now is to wait until they fix this and use AVC encoder in the meantime
 
Top