Skip to content
GitLab
Projects Groups Snippets
  • /
  • Help
    • Help
    • Support
    • Community forum
    • Submit feedback
    • Contribute to GitLab
  • Sign in / Register
  • gst-plugins-base gst-plugins-base
  • Project information
    • Project information
    • Activity
    • Labels
    • Members
  • Repository
    • Repository
    • Files
    • Commits
    • Branches
    • Tags
    • Contributors
    • Graph
    • Compare
  • Issues 642
    • Issues 642
    • List
    • Boards
    • Service Desk
    • Milestones
  • Merge requests 80
    • Merge requests 80
  • CI/CD
    • CI/CD
    • Pipelines
    • Jobs
    • Schedules
  • Deployments
    • Deployments
    • Environments
    • Releases
  • Packages and registries
    • Packages and registries
    • Container Registry
  • Monitor
    • Monitor
    • Incidents
  • Analytics
    • Analytics
    • Value stream
    • CI/CD
    • Repository
  • Snippets
    • Snippets
  • Activity
  • Graph
  • Create a new issue
  • Jobs
  • Commits
  • Issue Boards
Collapse sidebar
  • GStreamerGStreamer
  • gst-plugins-basegst-plugins-base
  • Issues
  • #513
Closed
Open
Issue created Dec 05, 2018 by Manuel Weichselbaumer@minski

AC3 passthrough via alsasink does not work

Hi,

i am trying to use alsasink to passthrough an ac3 file via alsasink. Unfortunately, this does not work. This is my command and log:

gst-launch-1.0 filesrc location=test.ac3 ! ac3parse ! alsasink device=iec958:0Setting pipeline to PAUSED ...
0:00:00.142404591  3094  0x13c9320 WARN                 basesrc gstbasesrc.c:3491:gst_base_src_start_complete:<filesrc0> pad not activated yet
Pipeline is PREROLLING ...
0:00:00.145012396  3094  0x13d3630 WARN                    alsa confmisc.c:767:parse_card: alsalib error: cannot find card '0:{AES0 0x02 AES1 0x82 AES2 0x00 AES3 0x02}'
0:00:00.145124636  3094  0x13d3630 WARN                    alsa conf.c:4528:_snd_config_evaluate: alsalib error: function snd_func_card_driver returned error: No such device
0:00:00.145163073  3094  0x13d3630 WARN                    alsa confmisc.c:392:snd_func_concat: alsalib error: error evaluating strings
0:00:00.145197761  3094  0x13d3630 WARN                    alsa conf.c:4528:_snd_config_evaluate: alsalib error: function snd_func_concat returned error: No such device
0:00:00.145229583  3094  0x13d3630 WARN                    alsa confmisc.c:1246:snd_func_refer: alsalib error: error evaluating name
0:00:00.145266719  3094  0x13d3630 WARN                    alsa conf.c:4528:_snd_config_evaluate: alsalib error: function snd_func_refer returned error: No such device
0:00:00.145300990  3094  0x13d3630 WARN                    alsa conf.c:5007:snd_config_expand: alsalib error: Evaluate error: No such device
0:00:00.145348802  3094  0x13d3630 WARN                    alsa pcm.c:2495:snd_pcm_open_noupdate: alsalib error: Unknown PCM iec958:0:{AES0 0x02 AES1 0x82 AES2 0x00 AES3 0x02}
0:00:00.145767030  3094  0x13d3630 WARN               baseparse gstbaseparse.c:3608:gst_base_parse_loop:<ac3parse0> error: Internal data stream error.
0:00:00.145815884  3094  0x13d3630 WARN               baseparse gstbaseparse.c:3608:gst_base_parse_loop:<ac3parse0> error: streaming stopped, reason not-negotiated (-4)
0:00:00.146115779  3094  0x13d3630 WARN           audiobasesink gstaudiobasesink.c:1142:gst_audio_base_sink_wait_event:<alsasink0> error: Sink not negotiated before eos event.
ERROR: from element /GstPipeline:pipeline0/GstAc3Parse:ac3parse0: Internal data stream error.
Additional debug info:
gstbaseparse.c(3608): gst_base_parse_loop (): /GstPipeline:pipeline0/GstAc3Parse:ac3parse0:
streaming stopped, reason not-negotiated (-4)
ERROR: pipeline doesn't want to preroll.
Setting pipeline to NULL ...
Freeing pipeline ...

However, same file works using mplayer:

mplayer test.ac3 -ac hwac3

Can someone confirm, that the above gst-launch cmd line should work?

Edited Dec 05, 2018 by Manuel Weichselbaumer
Assignee
Assign to
Time tracking