Is this possible to force/select the output type of decodebin2?
No, you cannot force or select the type of source panel.
decoderbin2 select the corresponding demuxer element and this demuxer element will analyze this multimedia file and depending on the elementary stream codec in this media file it creates caps / output type / Source pad.so that the decoder type can communicate with it and pipelines.
all this happens in gstremer-plugin code
therefore, if you want this, you need to write the plugin yourself. !!
source share