Updating the subject after further analysis.
Refining problem statement: decodebin2 is nased on DecodeGroup which contains DecodeChain per stream (video/audio) as I explained earlier, my requirement is to remove one stream from a Decodegroup (remove audio DecodeChain) by pushing EOS on demux audio src pad and remove the pad itself. Then create Decodechain with new audio stream by creating new demuxer audio src pad. In this process, the problem by going through decodebin design seems that the new decodegroup will be a separate decodegroup which essentially means that an audio stream (audio chain) specific DecodeGroup. That would result into 2 separate DecodeGroups which means that A/V playback can not work as both streams are in separate DecodeGroup. Is it correct understanding ? In order to solve this problem, probably it would mean to delete all pads of original DecoderGroup and recreate new DecodeGroup with all streams again Older Video Stream and new audio stream. But this would involve a video switch and with an objective to just change audio, the overall exp will be probably a black screen or video freeze when switching across decodegroups. Is it correct understanding ? Also do we have strict sequence to follow to add new pad, send eos on old pads and removal of old pads in order that original DecodeGroup is drained successfully and switch to new DecodeGroup is successful ? Also noted some documentation on DecodeBin3 Looking forward to understand from the decodebin design perspective as currently struggling to even remove older DecoderGroup and create new DecodeGroup, in my example it seems that there are 2 Decodegroups with video stream in original and audio stream in latest one. Thanks in advance for your help to chelp understand decodebin design and usage. BR Nitin On Sat, Apr 29, 2017 at 2:14 PM, Nitin Mahajan <[hidden email]> wrote:
_______________________________________________ gstreamer-devel mailing list [hidden email] https://lists.freedesktop.org/mailman/listinfo/gstreamer-devel
Thanks & Regards
--Nitin |
Hello, Gentle reminder. Your suggestions/opinion would certainly be of great help. Best Regards Nitin On Mon, May 1, 2017 at 8:36 PM, Nitin Mahajan <[hidden email]> wrote:
_______________________________________________ gstreamer-devel mailing list [hidden email] https://lists.freedesktop.org/mailman/listinfo/gstreamer-devel
Thanks & Regards
--Nitin |
Free forum by Nabble | Edit this page |