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 395597 - Deinterleave fails to negotiate with alsasrc when using Delta 44 sound card
Deinterleave fails to negotiate with alsasrc when using Delta 44 sound card
Status: RESOLVED DUPLICATE of bug 398033
Product: GStreamer
Classification: Platform
Component: gst-plugins-bad
git master
Other Linux
: Normal normal
: 0.10.5
Assigned To: GStreamer Maintainers
GStreamer Maintainers
Depends on:
Blocks:
 
 
Reported: 2007-01-11 22:11 UTC by Michael Sheldon
Modified: 2007-01-18 15:09 UTC
See Also:
GNOME target: ---
GNOME version: ---


Attachments
GST_DEBUG=3 of testsplit.py (9.36 KB, text/plain)
2007-01-11 22:12 UTC, Michael Sheldon
Details
testsplit.py (973 bytes, text/plain)
2007-01-11 22:14 UTC, Michael Sheldon
Details
testsplit.py (1.03 KB, text/plain)
2007-01-11 22:17 UTC, Michael Sheldon
Details
GST_DEBUG=5 of testsplit.py (457.20 KB, application/x-gzip)
2007-01-12 23:21 UTC, Michael Sheldon
Details
GST_DEBUG=5:* with script for EWS88MT (407.09 KB, application/x-gzip)
2007-01-13 13:44 UTC, Peteris Krisjanis
Details

Description Michael Sheldon 2007-01-11 22:11:26 UTC
When trying to deinterleave the channels received from a Delta 44 sound card the deinterleave plugin fails to negotiate. When trying the same pipeline with an on-board sound chip it works correctly. Attached is the script I'm testing with, which takes alsasrc input and writes each channel to a separate ogg file.

Steps to reproduce:

1. Change the DEVICE variable in testsplit.py to the alsa device corresponding to the Delta 44.

2. Run testsplit.py

Expected result:

12 ogg files should be produced.

Actual result:

No ogg files are produced.

Also attached is a log of GST_DEBUG=3.
Comment 1 Michael Sheldon 2007-01-11 22:12:06 UTC
Created attachment 80081 [details]
GST_DEBUG=3 of testsplit.py
Comment 2 Michael Sheldon 2007-01-11 22:14:27 UTC
Created attachment 80082 [details]
testsplit.py

Test case
Comment 3 Michael Sheldon 2007-01-11 22:17:34 UTC
Created attachment 80083 [details]
testsplit.py

Test case
Comment 4 Tim-Philipp Müller 2007-01-12 08:58:37 UTC
Could you also attach a (gzipped) GST_DEBUG=*:5 log please? (*:3 logs rarely contain useful information).

I'm not sure, but you might need a queue for each split path. Don't think this is the problem here though, it seems to be more of a negotiation problem. Maybe audioconvert can't handle multichannel input without proper channel positions?

It would be nice to make deinterleave/Interleave handle audio/x-raw-int directly at some point.
Comment 5 Michael Sheldon 2007-01-12 23:21:53 UTC
Created attachment 80158 [details]
GST_DEBUG=5 of testsplit.py
Comment 6 Peteris Krisjanis 2007-01-13 13:43:32 UTC
I have similar problem. Ubuntu Edgy, Gstreamer CVS env., all up to date, this same test script. No errors while recording, but no files either. Sound card EWS88MT, ice1712 chipset based (as Delta 44).

Log gzipped attached.
Comment 7 Peteris Krisjanis 2007-01-13 13:44:53 UTC
Created attachment 80180 [details]
GST_DEBUG=5:* with script for EWS88MT
Comment 8 Andy Wingo 2007-01-13 19:14:26 UTC
2007-01-13  Andy Wingo  <wingo@pobox.com>

	* gst/interleave/deinterleave.c (gst_deinterleave_add_new_pads):
	Use fixed caps on src pads.
	(gst_deinterleave_remove_pads): Remove src pads, not sink pads. I
	seem to have reverse midas disease!
	(gst_deinterleave_process): Proxy timestamps, offsets, durations,
	and set caps on outgoing buffers. Fixes #395597, I think.

Please test again and reopen this bug if you have the same issues. Thanks.
Comment 9 Michael Sheldon 2007-01-13 20:10:57 UTC
Sorry, I still get a failure negotiating the format.
Comment 10 Michael Sheldon 2007-01-13 20:15:11 UTC
After a little more testing I think the problem is with the audioconvert element. Using the same script with my own channel splitting element causes the same problem and without the audioconvert it works fine (my channel splitting element implements audio/x-raw-int so doesn't need the audioconvert). So this could be fixed either by implementing audio/x-raw-int as Tim suggested or by fixing the problem in audioconvert.
Comment 11 Michael Sheldon 2007-01-18 13:50:45 UTC
I've just checked the caps for audioconvert and it appears to only support a maximum of 8 channels, which is probably what's causing the problem since the Delta 44 supplies 12 channels (maximum and minimum).
Comment 12 Michael Sheldon 2007-01-18 15:09:35 UTC

*** This bug has been marked as a duplicate of 398033 ***