gstreamer alsasrc problem

Bug #42998 reported by Berti
10
Affects Status Importance Assigned to Milestone
GStreamer
Fix Released
Wishlist
gst-plugins-base0.10 (Ubuntu)
Fix Released
Medium
Unassigned

Bug Description

When I'm trying to access the "line in" sound from my soundcard with alsasrc :
gst-launch -v alsasrc ! alsasink
I can only hear the first second of the sound. Same thing using gstreamer-properties.

If I use "gst-launch -v audiotestsrc ! alsasink" no problem, so I assume that the problem come from alsasrc.

Revision history for this message
Sebastian Dröge (slomo) wrote :

Could you please run
GST_NO_COLOR=1 GST_DEBUG=3 gst-launch -v alsasrc ! alsasink &> gst-launch.log
and attach the gst-launch.log file that is created?

Changed in gstreamer0.10:
assignee: nobody → slomo
status: Unconfirmed → Needs Info
Revision history for this message
Berti (bertrand-haut-gmail) wrote : logfile of the problem

This log file was obtained using
gst-launch -v --gst-debug-no-color --gst-debug-level=3 alsasrc ! alsasink &> gst-launch.log

After one second the sound stops without any error message on the console. I've pressed C-c after three seconds.

Sebastian Dröge (slomo)
Changed in gstreamer0.10:
status: Needs Info → Unconfirmed
Revision history for this message
Sebastian Dröge (slomo) wrote :

Could you please try with
gst-launch alsasrc ! audioconvert ! alsasink

Changed in gstreamer0.10:
status: Unconfirmed → Needs Info
Revision history for this message
Berti (bertrand-haut-gmail) wrote :

Same result, I've the sound for one second and after that silence. There is no error messages on the console.

I'm runing an up-to-date dapper on an AMD64.

Revision history for this message
Sebastian Dröge (slomo) wrote :

ok so let's forward this upstream...

Changed in gstreamer0.10:
status: Needs Info → Unconfirmed
Revision history for this message
Sebastian Dröge (slomo) wrote :

What soundcard is this btw?

Revision history for this message
Berti (bertrand-haut-gmail) wrote :

root@neptune:/home/berti # lspci |grep audio
0000:00:06.0 Multimedia audio controller: nVidia Corporation nForce3 250Gb AC'97 Audio Controller (rev a1)

Revision history for this message
Sebastian Dröge (slomo) wrote :

Could you try with
gst-launch alsasrc latency-time=100 ! audioconvert ! alsasink

also try other values for the latency-time

Revision history for this message
Sebastian Dröge (slomo) wrote : gstreamer0.10-esd_0.10.3-0ubuntu1_i386.deb

gstreamer0.10-esd_0.10.3-0ubuntu1_i386.deb

Revision history for this message
Sebastian Dröge (slomo) wrote :

Could you please try with the above package? Just dpkg -i it after downloading...

but before installing this please switch back to esd and test if the problem is still there and then install it ;)

Revision history for this message
Berti (bertrand-haut-gmail) wrote :

I've tried all combination of alsasink/esdsink/differents values of latency and with gstreamer0.10-esd_0.10.3.-0ubuntu1_amd64.deb

Same result as usual, only sound during one second.

Revision history for this message
Sebastian Dröge (slomo) wrote :

Damn the file was attached to the wrong bugreport... sorry...

Revision history for this message
Sebastian Dröge (slomo) wrote :

Ok, could you please try
gst-launch-0.10 alsasrc ! audioconvert ! alsasink sync=false

Revision history for this message
Berti (bertrand-haut-gmail) wrote :

With the sync=false, it works. The sound is OK until I kill the process.

Sebastian Dröge (slomo)
Changed in gst-plugins-base0.10:
status: Unconfirmed → Confirmed
Changed in gstreamer:
status: Confirmed → In Progress
Changed in gstreamer:
status: In Progress → Fix Released
Revision history for this message
Kjell Braden (afflux) wrote :

It looks like this if fixed since at least 0.10.12.2-0ubuntu1, which is in gutsy.

Changed in gst-plugins-base0.10:
assignee: slomo → nobody
status: Confirmed → Fix Released
Changed in gstreamer:
importance: Unknown → Wishlist
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.