fzwoch / obs-gstreamer

GStreamer OBS Studio plugin
GNU General Public License v2.0
349 stars 34 forks source link

Add VP8, VP9, and AV1 support #93

Closed Conan-Kudo closed 1 year ago

Conan-Kudo commented 1 year ago

It'd be great if VP8, VP9, and AV1 support were added to obs-gstreamer, so that this works with royalty-free codecs too.

fzwoch commented 1 year ago

One should really use OBS's internal FFMPEG for that. I see no reason really do duplicate the functionality here. There is no way this will be maintained.

Conan-Kudo commented 1 year ago

OBS' internal ffmpeg plugin won't add support for VP8/VP9, and FFMPEG AV1 encoding capabilities are not as well-developed as GStreamer's. Additionally, ffmpeg doesn't correctly report when there's no available hardware encoding device like GStreamer does.

fzwoch commented 1 year ago

Since OBS does not support these codecs this plugin can't either, as the bit-stream goes back into OBS. The custom FFMPEG output is the only way for custom codecs. I will not try to mimic that way in this plugin.

This plugin is okay if you want some support for some weird system and you can add some codecs quickly by yourself. Other than that I really would not recommend using it.

VAAPI development will go into https://github.com/fzwoch/obs-vaapi as well as AV1 when it is supported, but that's about it.