[libbluray-devel] libbluray & audio stream switching

j Halcom tweakr666 at gmail.com
Sun Jun 11 16:59:19 CEST 2017


Problem: When a directshow graph using libbluray first starts it gets
the "ac3" mediatype from the intro video. It then goes to the bluray
menu. The main movie is "dts". When it is selected "ASAudioHD" (or
LAVAudio) will not allow a dynamic change of its media type so the
audio fails.
Possible Solution: Based on some posts I have read here I am thinking
it might make sense to "suspend" the libbluray filter (which holds the
state of bdjava) and then build a new filter based on the selected
m2ts file. When its time to go back to the menu, tear down the
filtergraph and rebuild the graph around the libbluray filter again,
and then resume the libbluray menu.
Question: How are other people handling this. Maybe there is a way to
get the Audio Filter to switch mediatypes dynamically? Maybe I missed
something obvious in the directshow graph control.
Thanks for any help!


More information about the libbluray-devel mailing list