Comments (24)
Consulted with HW team: we do not have H264 B-frame encode support in RX480 GPU.
from amf.
Yes, R9 480 does not support B-frames. You can try new SDK on both HW for consistency.
from amf.
I think you meant RX480, if so how is this possible?
from amf.
Yes, HW change.
from amf.
Does that mean that Vega and Polaris will not support B-Frame encoding, lowering recording quality? That seems like a strange upgrade from VCE 3.0, are you sure it isn't temporarily disabled until the driver side libraries are ready?
from amf.
Not totally related, but Polaris definitely supports B-Frames when encoding H.265. Encoding some now.
from amf.
@Roph Using the AMF SDK or Media Foundation implementation?
from amf.
Using a very early development transcoder. I believe the developer used the new SDK.
from amf.
AMD_Robert just said it may be a mistake: https://www.reddit.com/r/Amd/comments/4y10gr/today_we_released_a_new_version_of_the_amd_media/d6qb71o
from amf.
AMD does not support B-frames for HEVC and H264 on this chip yet.
from amf.
Are you sure about that? Using an early test build transcoder I'm able to specify B-frames from 0-3 using HEVC on VCE:
You can find test transcodes/discussion here: http://forum.videohelp.com/threads/380081-AMD-Polaris-(Radeon-RX-4xx)-H265-Encoding-Samples
I'm not able to check for the presence of actual B-frames in the resulting HEVC video; MediaInfo is the most verbose tool I know of and that doesn't specify.
from amf.
@Roph: If I read your thread right, you have access to a private repository for the SDK? Does that mean that whatever is currently forcing BFrame support to off is version-specific for the SDK?
I've seen many log files for the RX 4xx series now and the capability reporting always shows BFrames as "Not Supported".
from amf.
Not to the SDK, a developer of VCE-enabled video transcoding software put together an untested new build for me using the new SDK with H265 support. He doesn't have a polaris GPU to test on yet.
It definitely works and produces good (for a GPU) quality HEVC, I can't confirm if it's actually using B-Frames though.
from amf.
But... the SDK doesn't have H265 support yet. Unless he is using the Media Foundation encoder, then it would make sense. (Still impressive speeds for media foundation)
from amf.
StreamEye can show you if it encodes b-frames or not but it seems not to work on roph's files for some reason even after remux to mkv
from amf.
They probably used HEVC encoder MFT. HEVC Encoder AMF was not published yet. But the MFT is built on AMF :)
from amf.
@Tukan40 HEVC Encoder is already in the driver side, all it took me to use it was to create the correct component.
from amf.
Keep in mind that there is no B-frames there. It is a bug in app or MFT reports wrong capabilities.
from amf.
Well, I stepped further into the encoder sent by @Roph to me and it indeed seems to be MFT. I have not found a single reference to amfrt32.dll or amfrt64.dll or any wrappers for the c++ classes. So, yes, it's most likely Windows Media Foundation fucking up again.
from amf.
Yes and no. The MFT is not calling AMF runtime but is built from the same source base. Though, for now one still needs to go through Media Foundation APIs to call it.
from amf.
So to clarify @MikhailAMD, is this a software/driver issue or a hardware one? You said AMD doesn't support B-frames on this chip yet, which seems to imply the former. Earlier though you say the chip itself doesn't support them. A little confused.
from amf.
I guess that was to be expected, the RX 460/70/80 is the low to mid-end spectrum anyway. HEVC and Two Pass encoding will help a lot for this anyway.
from amf.
Can someone confirm if AMD's VCE on Polaris supports weighted prediction encoding for H.264 and H.265?
from amf.
weighted prediction is not supported on Polaris.
from amf.
Related Issues (20)
- [Investigation]: DX11 HW decode can cause image corruption on quick time skipping in some sources HOT 20
- [Question]: Using -rc for AV1_AMF HOT 1
- Need help for HEVC encoding GPU with AMF on FFMPEG HOT 4
- [Bug]: DX11 hardware accelerated transcode fails on FFMPEG v6 HOT 10
- [Bug]: Unable to produce scaled video with AMF specific methods HQScaler when preanalysis flag is enabled. HOT 2
- [Question]: How to use AMF with RADV driver? HOT 8
- [Bug]: AMF hangs on trying to decode video with momentary switch between progressive and interlaced fragment mid-stream
- [Question]: When AMD will use proper AI to replace programmers and produce a way better AMD AMF ? HOT 1
- [Bug]: <stream is not FLV 1.1 compatible> HOT 19
- [Question]: How to import AMF SDK into a QT project? HOT 2
- Missing documentation AMF_VE_FCR_RADIUS HOT 1
- [Bug]: Unable to make AMF encoder to follow specified CBR bitrate. Filler data parameter is ignored for CBR in some cases.
- [Question]: Every 4 seconds of recording gets blury HOT 19
- [Question]: (H)QVBR mode on Ryzen 5 8600G with AV1 HOT 6
- [Bug]: MJPEG decoder crashes with some JPEGs HOT 2
- Encoding from D3D RGBA/BGRA surfaces (encoder fails to init) HOT 3
- [Bug]: RX7600 AV1 Decoder crashes HOT 1
- Handling encoder output status after Flush() HOT 6
- AMF_VIDEO_ENCODER_OUTPUT_DATA_TYPE reports always frame type either 'NONE' or 'IDR' HOT 3
- [Bug]: AMD DX12 video encode driver bug?: Error using new FFMPEG HEVC D3D12 encoder support in Intel cartwheel repo.. HOT 2
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 amf.