[Bug 796466] failed to link avmux_spdif link with alsasink for ac3 passthrough

GStreamer (GNOME Bugzilla) bugzilla at gnome.org
Thu May 31 09:49:08 UTC 2018


https://bugzilla.gnome.org/show_bug.cgi?id=796466

--- Comment #4 from Lyon <lyon.wang at nxp.com> ---
Hi Tim, thanks for your hint.

So I tried with command line:
gst-launch-1.0 filesrc locaiton=5.1_de.ac3 ! ac3parse ! alsasink device=hw:3
--gst-debug=5

and it will report "no such device" error:

0:00:00.142809846  4343     0x272e78f0 DEBUG                   alsa
gstalsa.c:472:gst_alsa_open_iec958_pcm:<alsasink0> Generated device string
"hw:3:{AES0 0x02 AES1 0x82 AES2 0x00 AES3 0x02}"
0:00:00.143829486  4343     0x272e78f0 WARN                    alsa
pcm_hw.c:1713:_snd_pcm_hw_open: alsalib error: Invalid value for card
0:00:00.143927526  4343     0x272e78f0 DEBUG                   alsa
gstalsa.c:478:gst_alsa_open_iec958_pcm:<alsasink0> failed opening IEC958
device: No such device

Then I modified "devstr", without adding :{AES0 0X02....}
(Are these string necessary to be added ?)

This time the device can be recognized, however, it reports device busy:
0:00:00.483679220  3462      0xec5f8f0 DEBUG                   alsa
gstalsa.c:474:gst_alsa_open_iec958_pcm:<alsasink0> Generated device string
"hw:3"
0:00:00.484194620  3462      0xec5f8f0 WARN                    alsa
pcm_hw.c:1602:snd_pcm_hw_open: alsalib error: open '/dev/snd/pcmC3D0p' failed
(-16): Device or resource busy
0:00:00.484306460  3462      0xec5f8f0 DEBUG                   alsa
gstalsa.c:481:gst_alsa_open_iec958_pcm:<alsasink0> failed opening IEC958
device: Device or resource busy


Is there anything I miss or some patch we need to include?
I see in this ticket Bug 721740, similar EBUSY error return, do we miss
anything or patch here (I am using GST 1.14.0) ?

Thanks
Lyon

-- 
You are receiving this mail because:
You are the QA Contact for the bug.
You are the assignee for the bug.


More information about the gstreamer-bugs mailing list