go-gst icon indicating copy to clipboard operation
go-gst copied to clipboard

Add support for setting a rank on a plugin feature

Open danjenkins opened this issue 2 years ago • 1 comments

You can increase the rank of a decoder so that it takes precedence over others... think hardware decoder vs software...

gst_plugin_feature_set_rank

https://gstreamer.freedesktop.org/documentation/gstreamer/gstpluginfeature.html?gi-language=c

Would be great to be able to set a higher ranking on a hardware decoder/encoder...

https://gstreamer.freedesktop.org/documentation/tutorials/playback/hardware-accelerated-video-decoding.html?gi-language=c https://developer.ridgerun.com/wiki/index.php/GStreamer_modify_the_elements_rank

danjenkins avatar Jun 20 '22 16:06 danjenkins

I started working on this over at https://github.com/tinyzimmer/go-gst/compare/main...broadcastervc:go-gst:add-feature-rank?expand=1 but its untested for now

danjenkins avatar Jul 06 '22 09:07 danjenkins