weixin_39824834
weixin_39824834
2020-11-24 12:36

FFmpeg Encoders: Add AMD VCE/VCN H.264/H.265

Description

Implement an FFmpeg integration for the AMD VCE/VCN H.264 and H.265 encoders for use in OBS Studio. This should not be a replacement for obs-amd-encoder, but it should complement it. Similar to the NVENC ones, options should be neatly grouped and no option should be hidden.

No fixes or workarounds should be applied on StreamFX's side - all fixes and workarounds should be done in FFmpeg itself in order to not bloat the code needlessly.

Checklist

  • [ ] I am willing to pay someone to implement this feature.
  • [ ] This feature absolutely can't be done with already existing features.

该提问来源于开源项目:Xaymar/obs-StreamFX

  • 点赞
  • 写回答
  • 关注问题
  • 收藏
  • 复制链接分享
  • 邀请回答

7条回答

  • weixin_39824834 weixin_39824834 5月前

    Due to a lack of an AMD GPU, this is porbably being pushed back to a later release. Maybe when AMD is actually competetive again in the encoding sector.

    点赞 评论 复制链接分享
  • weixin_39761696 weixin_39761696 5月前

    Please don't push this back. I'm interested in having this for a Ryzen CPU with Vega graphics so the iGPU could handle all of the video encoding by itself, while my GPU is used for gaming.

    点赞 评论 复制链接分享
  • weixin_39775872 weixin_39775872 5月前

    That involves copying data over the PCIE bus between GPUs back and forth which more or less negates any theoretical performance benefits which is why it isn't done.

    点赞 评论 复制链接分享
  • weixin_39761696 weixin_39761696 5月前

    I see, alright then.

    点赞 评论 复制链接分享
  • weixin_39824834 weixin_39824834 5月前

    Yeah, what skeletonbow said. Moving encoding off of the actual GPU that is doing the rendering absolutely trashes any performance gains there might have been.

    点赞 评论 复制链接分享
  • weixin_39824834 weixin_39824834 5月前

    Support for AMD AMF will be in the next StreamFX version, once people actually test it. You can find binaries here: https://github.com/Xaymar/obs-StreamFX/actions/runs/200761078

    点赞 评论 复制链接分享
  • weixin_39719989 weixin_39719989 5月前

    Hey Xaymar, I decided to try the FFmpeg encode on my RX 580 in the actions build. I am unsure if I got it right as it looked like there were code issues for descriptions, but everything seemed to work, although bitrate seemed slightly all over the place at times and I'm not sure if the upper limit bitrate had something to do with it (3200/12000) but in general, all seemed good!

    Wasn't sure if you wanted any more info that was more... specific.

    点赞 评论 复制链接分享