Comments (18)
Update to the latest uploaded build, I fixed a typo in the Set*Bitrate commands. I've not experienced the flickering issue myself.
Advanced Encoder will return once I've done everything necessary.
from obs-amd-encoder.
I'm already using the latest build! Tried to install it using the .zip file as well as the installer.
from obs-amd-encoder.
Could you upload the last log file? I'll take a look then.
from obs-amd-encoder.
There you go!
2016-08-21 22-05-41.txt
from obs-amd-encoder.
Hmm, 1950kbit is a little low for that resolution and framerate. AMF is most likely not capable of going that low yet. You'll have to open an issue on the AMF SDK Issue Tracker, I'm afraid.
from obs-amd-encoder.
Wait, is it using 1080p? I set it to 960x540! It should be able to handle that.
from obs-amd-encoder.
No it's using 960x540. But this has been an issue with hardware encoders for a long time, bitrates lower than 2500kbit are near impossible to consistently achieve. You might have better luck at 30 fps.
from obs-amd-encoder.
Tested with the latest 1.3pre? version
http://prntscr.com/c8pynh
http://prnt.sc/c8pyx2
It jumped from 16xxx to 30xxx
Took a chance to try stream too, dropped frames instantly, also the flickering is visible here.
from obs-amd-encoder.
Wazerstar, you cannot expect CBR to stay within range when you specified 1QP min and 39max. Set both to -1 and retest or back to default at 18min and 51max. I was planning on disabling al qp with cbr and seeing where otwent nut I got busy tonight.
from obs-amd-encoder.
dPing what are you on about? In the older version it worked fine, also did a test with 18qp and max51, same result.
from obs-amd-encoder.
in enc-h264-simple.cpp around line 308-ish you never call m_VideoEncoder->SetRateControlMethod((Plugin::AMD::H264RateControlMethod)obs_data_get_int(settings, AMF_VCE_H264_RATECONTROL));
EDIT: Nevermind you do at line 302, but it does not get set looking at the logs the rate control method is set to CQP....
EDIT2: BTW Line 680 and 682 of amd-amf-h264.cpp say <Plugin::AMD::H264VideoEncoder::GetPeakBitrate>
instead of <Plugin::AMD::H264VideoEncoder::GetRateControlMethod>
from obs-amd-encoder.
@wazerstar Please open up a new issue for this and submit the necessary information as shown here: https://github.com/Xaymar/OBS-AMD-Media-Framework/wiki/Reporting-Issues
from obs-amd-encoder.
@kurdtkobain Fixed the logging lines.
from obs-amd-encoder.
@Xaymar from what I was able to tell from my tests you have to call SetRateControlMethod
after you call SetRateControlSkipFrameEnabled
or the value of SetRateControlMethod
is not set in m_VideoEncoder
for some odd reason?
EDIT: This was tested on my computer, an A8-7600 APU with a XFX Double Dissipation R7 360
from obs-amd-encoder.
@kurdtkobain The issue is actually here:
void Plugin::AMD::H264VideoEncoder::SetRateControlSkipFrameEnabled(bool enabled) {
AMF_RESULT res = m_AMFEncoder->SetProperty(AMF_VIDEO_ENCODER_RATE_CONTROL_METHOD, enabled);
if (res != AMF_OK) {
ThrowExceptionWithAMFError("<Plugin::AMD::H264VideoEncoder::SetRateControlSkipFrameEnabled> Setting to %s failed with error %s (code %d).", enabled ? "Enabled" : "Disabled", res);
}
AMF_LOG_INFO("<Plugin::AMD::H264VideoEncoder::SetRateControlSkipFrameEnabled> Set to %s.", enabled ? "Enabled" : "Disabled");
}
bool Plugin::AMD::H264VideoEncoder::IsRateControlSkipFrameEnabled() {
bool enabled;
AMF_RESULT res = m_AMFEncoder->GetProperty(AMF_VIDEO_ENCODER_RATE_CONTROL_METHOD, &enabled);
if (res != AMF_OK) {
ThrowExceptionWithAMFError("<Plugin::AMD::H264VideoEncoder::IsRateControlSkipFrameEnabled> Retrieving Property failed with error %s (code %d).", res);
}
AMF_LOG_INFO("<Plugin::AMD::H264VideoEncoder::IsRateControlSkipFrameEnabled> Retrieved Property, Value is %s.", enabled ? "Enabled" : "Disabled");
return enabled;
}
Notice the mistake? I certainly didn't until now.
from obs-amd-encoder.
So what does this mean? Will I be able to stream using this encoder?
from obs-amd-encoder.
Yes, once the patch is out.
from obs-amd-encoder.
Should be solved by 1.3.0pre3.
from obs-amd-encoder.
Related Issues (20)
- RX 5700 support b-frames? HOT 5
- Graphics card not showing UP !!!
- Sudden OBS Studio Crashes while streaming
- My stream's quality is bad and idk how to improve HOT 1
- help HOT 1
- Radeon Software 21.4.1+ AVC/HEVC Failed to start recording HOT 4
- AMD Radeon HD 5750 HOT 2
- AMF HEVC doesn't stop recording HOT 2
- AMF H264 encoder hangs OBS on shutdown HOT 6
- Multi gpu support HOT 1
- Unable to initialize converter, error AMF_OPENCL_FAILED (code 19) HOT 8
- Any solution for Ubuntu 20.04 using OBS Studio? HOT 1
- My rewrite of the plugin HOT 2
- OBS Unable to initalize converter, error AMF_OPENCL_FAILED (code 19) DRİVER UPDATE HOT 4
- obs amd amf encoder crash (arch linux) HOT 8
- AMD Error AMF_ERROR 1 with RX 6600 on Arch Linux HOT 1
- Hardware-Support is missing supported cards HOT 3
- My system H264 and H265 resultts HOT 2
- AMD Radeon Pro 5300M AMF Speed Test Results HOT 1
- RX 6600 works well HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from obs-amd-encoder.