Ported from https://github.com/ylatuya/gst-plugins-bad This still has some unit tests for alternative renditions and seeking, which are commented out for the time being until we support them properly.