GNOME Bugzilla – Bug 665993
[playbin2] - enable all decoders for multiple audio tracks not suitable for embedded system
Last modified: 2011-12-12 12:15:43 UTC
Hi Developers, I am porting gstreamer to embedded system and found when playback multiple audio track streams (for example, one mkv file have ac3, dts and mp3). All audio tracks will get demuxed and connected to decoders (ac3 decoder, dts decoder and mp3 decoder) to get decoding. Then playbin2 use inputselector to select which decoder source pad to output data to implement audio track selection. But this is not feasible for embedded system because embedded system has limited memory and cpu, which impossible to decoder these audio streams at the same time. Please advice whether there are simpler way (without modify gstreamer library code) to make playbin2 just demux all 3 streams, and decoder one select stream. And can switch multiple audio streams with playbin2 property.
Thanks for reporting, this is a known problem and already handled in bug #646638 (although that one is about video but it's the same problem). *** This bug has been marked as a duplicate of bug 646638 ***