GNOME Bugzilla – Bug 738604
androidmedia: Mute when change current-audio at playbin
Last modified: 2018-05-06 13:03:39 UTC
I have an media file with several audio, video and text streams. I simply play it with gst_parse_launch(“playbin”, &error);” followed by setting the url. If I start playing it I got every ms an error message called “gst_amc_audio_dec_handle_frame: Downstream returned flushing”. I don't know if this error message is the reason why it is not possible to change the audio stream. After setting the state to PLAYING everything plays well altough I got the error messages. If I then switch the audio stream by calling "g_object_set (player->pipeline, “current-audio”, streamID, NULL);" audio stops after a short time and the error messages still arrive. If I switch back to stream 0 it starts playing again.
Created attachment 288644 [details] Dot File created with stream 0
Created attachment 288645 [details] Dot File created with stream 1
The mediafile http://www.file-upload.net/download-9691217/Zero1-MP4-Feature-Test.mp4.html
I have now disabled the audio decoder by calling "gst_plugin_feature_set_rank(gst_registry_lookup_feature(gst_registry_get(), "amcauddec-omxsecaacdec"), GStreamerBase.GST_RANK_NONE);" and now it works. I also had problems with the "amcauddec-omxsecamrdec" element. All these decoders are from the androidmedia plugin. Are there known problems about using the androidmedia decoders?
Hi Thomas, Sorry no one had a chance to ever look into this in more detail. Any chance you could re-test this with a recent version of GStreamer (>= 1.10.x) to see if it's still a problem? The file is also no longer available.
Closing this bug report as no further information has been provided. Please feel free to reopen this bug report if you can provide the information that was asked for in a previous comment. Thanks!