GNOME Bugzilla – Bug 160480
[alsasink] Sound frames missing
Last modified: 2006-05-17 13:18:38 UTC
If I try to play a sound file using the following command line, a fraction of second is missing from the audio output: gst-launch-0.8 filesrc location=<an_mp3_or_ogg_vorbis_file> ! spider ! alsasink It does not happen with osssink.
How do you figure that out? I certainly can't hear that a fraction of the audio is missing, so you probably use a tool for this. Which one?
You should be able to see it in the logs, because then timestamps are wrong and alsa skips (or inserts silence, for that matter).
I did not have to use a tool, I just heard it. The fraction of second I'm talking about is a tenth of second or two so it's hearable. The skipped fragment is not at the very beginning, but a few tenth of seconds after. It only happens once and then all is fine. No silence is inserted, a part of the music is skipped. I can see no error message on the std output, and I couldn't find any relevent log file. I used -i to see where the skip is, and it's around iteration #100. I've played with the buffer-size parameter of alsasink, and it stops skipping at 24576 (8192 * 3) and above.
Considering the age of this bug, could it be that you have a version where alsasink consume 100% CPU? (which in turn can cause glitches/hickups in the sound) If you don't have latest version of gst-plugins please update as a lot of alsasink related bugs have been taken care of over the last releases.
I've tried with CVS today, and the problem is still there. There's nothing anormal in the CPU usage.
*** Bug 171481 has been marked as a duplicate of this bug. ***
Laurent, ping? How is this situation for you with CVS gst-plugins? Alsasink got some fixes in the last year ;) I don't think this problem is there with 0.10, but it would also be good to find that out.
Hi, I haven't played with gstreamer for a while, but I'll try to find some time to test the latest version against this bug.
Closing this bug report as no further information has been provided. Please feel free to reopen this bug if you can provide the information asked for. Thanks!
(Sorry, that should have been OBSOLETE :))