GNOME Bugzilla – Bug 696725
oss4sink not getting channel layouts right
Last modified: 2018-01-23 00:24:49 UTC
GST_DEBUG=3 gst-launch-1.0 filesrc location=something.aac ! decodebin ! oss4sink Pipeline is PREROLLING ... 0:00:00.041372144 2324 0x7f8238069b70 WARN oss4 oss4-audio.c:387:gst_oss4_audio_detect_channels:<oss4sink0> couldn't query channel layout, assuming default 0:00:00.041848134 2324 0x7f8238069b70 WARN baseparse gstbaseparse.c:3038:gst_base_parse_loop:<aacparse0> error: streaming stopped, reason not-linked 0:00:00.041922493 2324 0x7f8238069b70 WARN audiodecoder gstaudiodecoder.c:1300:gst_audio_decoder_drain:<faad0> still 1 frames left after draining ERROR: from element /GstPipeline:pipeline0/GstDecodeBin:decodebin0/GstAacParse:aacparse0: GStreamer encountered a general stream error. Additional debug info: gstbaseparse.c(3038): gst_base_parse_loop (): /GstPipeline:pipeline0/GstDecodeBin:decodebin0/GstAacParse:aacparse0: streaming stopped, reason not-linked ERROR: pipeline doesn't want to preroll. Setting pipeline to NULL ... Freeing pipeline ... GST_DEBUG=3 gst-launch-1.0 filesrc location=something.aac ! decodebin ! osssink => the song plays normally
Could you attach a (xz -9 compressed) GST_DEBUG=*:6 log of the failure by any chance? I don't think anyone has oss4 at hand for testing. Also, you might need an audioconvert before oss4sink, possibly also an audioresample. But yes, chances are good oss4sink doesn't get those right, since it's probably not been tested after having been ported to 1.0.
cy: ping? could you make a log?
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!