GNOME Bugzilla – Bug 756794
Support for single HW decoder when we have multiple A\V adaption sets
Last modified: 2015-11-27 11:38:56 UTC
Created attachment 313633 [details] playback fail for DASH streaming with two audio adaption sets Dear all: I had a problm about DASH (in fact, even local file playback & if the file has multiple video or audio tracks) and would like to ask for your help. The problem is, for my application, I have an unique Video/Audio decoder HW instance and they both DONOT support multi-thread usage. So they can only decode a sinle stream at one time. Please refer to the following link: http://marea.tilab.com:8085/content/dash/clear/multiaudio/2audio/c1/all.mpd The graph dump is as attached also. You can find that there are two audio adaption sets there, one for English and the other for Italian. It makes playback fail at here as previous description. I guess the root cause is to simutaneously decode two audio streams by single one audio decoder HW. I believe there may be somebody who has the same problem with me, since for embedeed system applicaiton, it is a comman case to decode only one stream at a time. The local playback has the same problem if multiple A\V tracks involve in. It causes playback fail without modifications. DO you have any suggestion for this issue? Thank you.
Created attachment 315867 [details] insert input selector
Created attachment 315869 [details] insert input selector to resolve unique codec issue
Take a look at this talk from the GStreamer conference: https://gstconf.ubicast.tv/videos/decodebin3-or-dealing-with-modern-playback-use-cases/ Some work is being done for better stream selection, which would also cover your specific use case.
Dear Slomo: I created a patch to it for decode bin 2, as: https://bugzilla.gnome.org/show_bug.cgi?id=758689 with a detailed document. Could you please help to give some suggestions? Thank you~
Can this be marked as duplicate of bug #758698 then?
Dear Tim: Yes, it should be. Originally I put the ticket in gst-plugin-bad but the patch created is with in gst-plugin-base. So I opened another one. Thank you~
Ok, thanks. It's possible to move tickets to a different component as well, for what it's worth. *** This bug has been marked as a duplicate of bug 758698 ***
Wrong duplicate. *** This bug has been marked as a duplicate of bug 758689 ***