After an evaluation, GNOME has moved from Bugzilla to GitLab. Learn more about GitLab.
No new issues can be reported in GNOME Bugzilla anymore.
To report an issue in a GNOME project, go to GNOME GitLab.
Do not go to GNOME Gitlab for: Bluefish, Doxygen, GnuCash, GStreamer, java-gnome, LDTP, NetworkManager, Tomboy.
Bug 696725 - oss4sink not getting channel layouts right
oss4sink not getting channel layouts right
Status: RESOLVED INCOMPLETE
Product: GStreamer
Classification: Platform
Component: gst-plugins-good
1.0.6
Other Linux
: Normal normal
: NONE
Assigned To: GStreamer Maintainers
GStreamer Maintainers
Depends on:
Blocks:
 
 
Reported: 2013-03-27 18:12 UTC by cy
Modified: 2018-01-23 00:24 UTC
See Also:
GNOME target: ---
GNOME version: ---



Description cy 2013-03-27 18:12:11 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
Comment 1 Tim-Philipp Müller 2013-03-27 18:17:03 UTC
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.
Comment 2 Tim-Philipp Müller 2013-11-24 18:46:44 UTC
cy: ping? could you make a log?
Comment 3 Tim-Philipp Müller 2018-01-23 00:24:49 UTC
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!