AMD Hardware Encoder(s) [Deleted]

Status
Not open for further replies.

Markitos

New Member
A lot of it is testing with different settings, let's hope AMD updates their Media SDK soon.
Yep, I've been waiting a long time for a good VCE encoder in OBS Studio (Not microsoft ones). Are you going to submit this to the OBS branch?
 

Xaymar

Active Member
ehh, guess i need some help with configs for streaming =(
image on the stream are flashing and playing at 10-15 fps, have no idea what to change in config
I'm gonna need your Hardware Specs (CPU, GPU, RAM, PCI-E Type and Speed, Disk) and the latest OBS log file you used for recording/streaming.

Yep, I've been waiting a long time for a good VCE encoder in OBS Studio (Not microsoft ones). Are you going to submit this to the OBS branch?
It could technically be included in OBS in source form if some work is done. Right now my build format and the one from OBS aren't really compatible. Bundling it as a binary should work w/o problems.
 

blradj

New Member
specs - fx--8350, r9 290ox 4gb, 8gb ram, pci-e 3.0 (i guess? speed? this is to hard for me, sorry) 2tb disk with 7200rpm
i just need a settings for simple stream with 30fps and ~2k bitrate
 

Attachments

Xaymar

Active Member
specs - fx--8350, r9 290ox 4gb, 8gb ram, pci-e 3.0 (i guess? speed? this is to hard for me, sorry) 2tb disk with 7200rpm
i just need a settings for simple stream with 30fps and ~2k bitrate
Looks like you're using the 32-bit version, that one is currently known to not work properly. Try the 64 bit version and use one of these tested settings
 

blradj

New Member
Looks like you're using the 32-bit version, that one is currently known to not work properly. Try the 64 bit version and use one of these tested settings
waat. you know, when i was dropping files today i was thinking "why am i using 32bit obs on 64 system? need to change it" and forgot bout it. let me check...

nope, nothing changed. even with all defaults + cbr and 2k bitrate = blinking and flashing squares

https://www.twitch.tv/blradj/v/81191935 vod
 
Last edited:

Xaymar

Active Member
waat. you know, when i was dropping files today i was thinking "why am i using 32bit obs on 64 system? need to change it" and forgot bout it. let me check...

nope, nothing changed. even with all defaults + cbr and 2k bitrate = blinking and flashing squares

https://www.twitch.tv/blradj/v/81191935 vod
Let me check your log file from before again:
- Usage: Transcoding
- Quality Preset: Quality
- Frame Size: 1280x720
- Frame Rate: 25 fps (25/1)
- Profile: High
- Scan Type: Progressive
- Rate Control: Constant Bitrate
- Rate Control Skip Frame: Disabled
- Filler Data: Disabled
- Target Bitrate: 1894.4kbit (Too Low, try at least 3500kbit and work down from there)
- Motion Prediction: Half & Quarter Pixel

Also keep in mind the limits that your GCN and VCE generations have. See here: https://github.com/Xaymar/OBS-AMD-Media-Framework/wiki/Hardware-VCE2.0
 

blradj

New Member
uuh. thank you for the answers, but, seems like i am missing something, because now bitrate is just dropping to 150kbits D:
so, all i did is - installed 2015 visual studio redest. and copied files into the obs studio directory

then, im editing rate control method to constant and bitrate to 3072000 (3000x1024)
on the stream - fps is dropping to 15, (down from 30), bitrate is dropping to 150-300

guess i will just wait for some time and try with different version of your "plugin"
 

Xaymar

Active Member
Hi,

This is how i see the settings page, i think the label name is not showing correctly, right?
https://i.gyazo.com/4ba6f684e5a256cd4c32d2a8b13a99bb.png

The bit rate target is shown in bits, right? So 9000000 is the correct setting for CBR 9000 Kbps, right?
Currently only en-US is supported as language.

uuh. thank you for the answers, but, seems like i am missing something, because now bitrate is just dropping to 150kbits D:
so, all i did is - installed 2015 visual studio redest. and copied files into the obs studio directory

then, im editing rate control method to constant and bitrate to 3072000 (3000x1024)
on the stream - fps is dropping to 15, (down from 30), bitrate is dropping to 150-300

guess i will just wait for some time and try with different version of your "plugin"
That's strange. You should be able to record 1920x1080 at 60 fps with those (tested on a R9 390, same GCN generation). Do none of the tested configurations work? https://github.com/Xaymar/OBS-AMD-Media-Framework/wiki/Tested-Configurations
 

Markitos

New Member
The problem for the language was my fault, I installed the plugin directly on x64 folder instead of root OBS.
I don't know if this will change over time but I just translated the locale to spanish (see attached file)
 

Attachments

Last edited:

Xaymar

Active Member
The problem for the language was my fault, I installed the plugin directly on x64 folder instead of root OBS.
I don't know if this will change over time but I just translated the locale to spanish (see attached file)
Version 1.2 (in progress) will change the files quite a bit. I'll modify it so that it still works, but some lines will have to be re-translated. Thanks for helping out! :)
 

blradj

New Member
reinstalled windows, problem with flashing is gone, but still, cant stream with CBR, bitrate is going crazy, and fps is down to 10
 

aquamacho

New Member
Hi
I`ve installed OBS-AMD-Media-Framework_1-1-2 in OBS main directory (OBS Studio 0.15.2) and all files are there but:

Required module function 'obs_module_load' in module '../../obs-plugins/64bit/amf-component-uvd-windesktop64.dll' not found, loading of module failed

Screenshot showing that all files are there were they needs to be.

Dont break my heart and tell thet i need Windows 10 for this to work properly.
Also i`ve overclocked my 7770 little bit wia bios if this means something,
 

Attachments

Last edited:

wazer

New Member
Version 1.2 (in progress) will change the files quite a bit. I'll modify it so that it still works, but some lines will have to be re-translated. Thanks for helping out! :)
I figured out that when u use ultra low latency instead of transcoding there's no flashing and pixelated on 290 cards, but I cannot stream to twitch with that method. Any thoughts to that now?


Also
YUV Color Range needs to be set for Partial in order to get rid of too dark video quality, tested on two R9, now a 290 and 290x

Settings:
http://image.prntscr.com/image/e19609cefedd44489d7f29de7b77e613.png
http://image.prntscr.com/image/84a7a717b0d64571ad8b95ecfce877ed.png
http://image.prntscr.com/image/a3a6bbd746c443409386c4ef099b423b.png
 

xsimbyx

New Member
I figured out that when u use ultra low latency instead of transcoding there's no flashing and pixelated on 290 cards, but I cannot stream to twitch with that method. Any thoughts to that now?


Also
YUV Color Range needs to be set for Partial in order to get rid of too dark video quality, tested on two R9, now a 290 and 290x

Settings:
http://image.prntscr.com/image/e19609cefedd44489d7f29de7b77e613.png
http://image.prntscr.com/image/84a7a717b0d64571ad8b95ecfce877ed.png
http://image.prntscr.com/image/a3a6bbd746c443409386c4ef099b423b.png
Same flashing here on Transcoding/Quality. It's fine on Transcoding/Speed.
 

Xaymar

Active Member
Hi
I`ve installed OBS-AMD-Media-Framework_1-1-2 in OBS main directory (OBS Studio 0.15.2) and all files are there but

Dont break my heart and tell thet i need Windows 10 for this to work properly.
Also i`ve overclocked my 7770 little bit wia bios if this means something,
Code:
15:32:14.124: ---------------------------------
15:32:14.143: Required module function 'obs_module_load' in module '../../obs-plugins/64bit/amf-component-uvd-windesktop64.dll' not found, loading of module failed
15:32:14.143: ---------------------------------
15:32:14.147: Required module function 'obs_module_load' in module '../../obs-plugins/64bit/amf-component-vc-windesktop64.dll' not found, loading of module failed
15:32:14.147: ---------------------------------
15:32:14.151: Required module function 'obs_module_load' in module '../../obs-plugins/64bit/amf-component-vce-windesktop64.dll' not found, loading of module failed
15:32:14.151: ---------------------------------
15:32:14.155: Required module function 'obs_module_load' in module '../../obs-plugins/64bit/amf-component-vcedem-windesktop64.dll' not found, loading of module failed
15:32:14.155: ---------------------------------
15:32:14.160: Required module function 'obs_module_load' in module '../../obs-plugins/64bit/amf-component-vp-windesktop64.dll' not found, loading of module failed
15:32:14.160: ---------------------------------
15:32:14.160: Required module function 'obs_module_load' in module '../../obs-plugins/64bit/amf-core-windesktop64.dll' not found, loading of module failed
15:32:14.160: ---------------------------------
15:32:14.164: Required module function 'obs_module_load' in module '../../obs-plugins/64bit/AMFCInterface.dll' not found, loading of module failed
15:32:14.164: ---------------------------------
15:32:14.168: Loading module: coreaudio-encoder.dll
15:32:14.169: [CoreAudio encoder]: Failed loading library 'CoreAudioToolbox.dll'
15:32:14.169: [CoreAudio encoder]: Couldn't load CoreAudio AAC encoder
15:32:14.170: ---------------------------------
15:32:14.173: Loading module: image-source.dll
15:32:14.174: ---------------------------------
15:32:14.178: Loading module: obs-ffmpeg.dll
15:32:14.179: LoadLibrary failed for 'nvEncodeAPI64.dll', error: 126
15:32:14.179: ---------------------------------
15:32:14.183: Loading module: obs-filters.dll
15:32:14.184: ---------------------------------
15:32:14.192: Loading module: obs-outputs.dll
15:32:14.192: ---------------------------------
15:32:14.196: Loading module: obs-qsv11.dll
15:32:14.705: ---------------------------------
15:32:14.709: Loading module: obs-transitions.dll
15:32:14.709: ---------------------------------
15:32:14.713: Loading module: obs-x264.dll
15:32:14.713: ---------------------------------
15:32:14.717: Loading module: rtmp-services.dll
15:32:14.718: ---------------------------------
15:32:14.724: Loading module: text-freetype2.dll
15:32:14.727: ---------------------------------
15:32:14.732: Loading module: vlc-video.dll
15:32:14.733: Couldn't find VLC installation, VLC video source disabled
15:32:14.733: ---------------------------------
15:32:14.781: Loading module: win-amf.dll
15:32:14.782: ---------------------------------
15:32:14.788: Loading module: win-capture.dll
15:32:15.409: ---------------------------------
15:32:15.413: Loading module: win-decklink.dll
15:32:15.426: No blackmagic support
15:32:15.426: Failed to start search for DeckLink devices
15:32:15.426: ---------------------------------
15:32:15.430: Loading module: win-dshow.dll
15:32:15.438: ---------------------------------
15:32:15.446: Loading module: win-mf.dll
15:32:15.447: [Media Foundation encoder]: plugin is disabled for performance reasons on Windows versions less than 8
15:32:15.578: ---------------------------------
15:32:15.582: Loading module: win-wasapi.dll
15:32:15.585: =====================================================================
Your log tells me that the win-amf.dll is missing - make sure that you extracted it correctly!

I figured out that when u use ultra low latency instead of transcoding there's no flashing and pixelated on 290 cards, but I cannot stream to twitch with that method. Any thoughts to that now?
Transcoding is needed for the proper codec header (at least for Twitch, YouTube accepts the others just fine). Unfortunately that means that you'll have to find proper working settings for your GPU - a configuration that works fine on a R9 390 for example doesn't have to do the same on yours.

Same flashing here on Transcoding/Quality. It's fine on Transcoding/Speed.
See, that's what I ment - trial and error. And waiting for AMD to finish the new SDK that they recently talked about.
 

Markitos

New Member
@Xaymar where did AMD say something they are going to release new SDK soon? I dont see anything from them.

Waiting AMD update their SDK Media: http://goo.gl/nbTNHy
They talked about it in polaris presentations and they need to update the SDK/drivers in order to support this new features and fix some bugs/incoherences. The last update was in 2014... they need to do it otherwise they will stay far behind nvidia in this matter.
 
Status
Not open for further replies.
Top