Discussion:
[LAU] vlc: A short audio glitch at the beginning, every time
jonetsu
2018-08-01 14:39:16 UTC
Permalink
Hello,

Everytime I start vlc to play an audio file there's a short glitch over
perhaps 500ms then afterwards everything's fine. This happens every
single time vlc is launched to play an audio file.

Technically speaking, what would be the reason for such a recurrent
glitch ?

Cheers.
h***@gmx.net
2018-08-02 05:57:00 UTC
Permalink
On Wed, 1 Aug 2018 10:39:16 -0400
Post by jonetsu
Hello,
Everytime I start vlc to play an audio file there's a short glitch
over perhaps 500ms then afterwards everything's fine. This happens
every single time vlc is launched to play an audio file.
Technically speaking, what would be the reason for such a recurrent
glitch ?
Cheers.
_______________________________________________
Linux-audio-user mailing list
https://lists.linuxaudio.org/listinfo/linux-audio-user
I think I hear that kind of glitch too. I haven't tried with VLC
specifically, but I noticed it with other programs (e.g. OBS when I
switch to a scene that plays music, some other programs). At first I
suspected a broken file but I'm pretty sure that's not it. I guess
in my case it's either an issue with OBS, the decoder or PA.

I do get a pop before and after playing a file using mpv or vlc, which
may be some PA connect/disconnect thing. I'd expect that to be entirely
avoidable, but oh well...

The skip a second or further in is weirder, I haven't noticed it in
vlc. Can you give more detail, the song/format used, vlc version,
Linux version? Maybe someone can reproduce.

Regards,
Philipp
david
2018-08-02 06:05:56 UTC
Permalink
Post by h***@gmx.net
On Wed, 1 Aug 2018 10:39:16 -0400
Post by jonetsu
Hello,
Everytime I start vlc to play an audio file there's a short glitch
over perhaps 500ms then afterwards everything's fine. This happens
every single time vlc is launched to play an audio file.
Technically speaking, what would be the reason for such a recurrent
glitch ?
Cheers.
_______________________________________________
Linux-audio-user mailing list
https://lists.linuxaudio.org/listinfo/linux-audio-user
I think I hear that kind of glitch too. I haven't tried with VLC
specifically, but I noticed it with other programs (e.g. OBS when I
switch to a scene that plays music, some other programs). At first I
suspected a broken file but I'm pretty sure that's not it. I guess
in my case it's either an issue with OBS, the decoder or PA.
I do get a pop before and after playing a file using mpv or vlc, which
may be some PA connect/disconnect thing. I'd expect that to be entirely
avoidable, but oh well...
The skip a second or further in is weirder, I haven't noticed it in
vlc. Can you give more detail, the song/format used, vlc version,
Linux version? Maybe someone can reproduce.
Hmm, I've never heard such a glitch or skip, regardless of media format.
But I don't have PA on my system.

I have separate issues with VLC: its window likes to hang when playing a
playlist on my system, and it also likes to hang and become unresponsive
when scanning my media collection.
--
David W. Jones
***@hawaii.rr.com
authenticity, honesty, community
http://dancingtreefrog.com
h***@gmx.net
2018-08-02 06:40:19 UTC
Permalink
On Wed, 1 Aug 2018 20:05:56 -1000
Post by david
[...]
[...]
[...]
Hmm, I've never heard such a glitch or skip, regardless of media
format. But I don't have PA on my system.
Actually the pop before/after is on ALSA, I forgot I don't use PA on
this laptop. My bad, sorry. The quick check with vlc/mpv was also done
on this machine.
The issue with OBS and some other programs was on a machine with PA
though. Will try to reproduce the VLC issue when I get home.

Regards,
Philipp
jonetsu
2018-08-02 13:44:10 UTC
Permalink
On Thu, 2 Aug 2018 07:57:00 +0200
Post by h***@gmx.net
The skip a second or further in is weirder, I haven't noticed it in
vlc. Can you give more detail, the song/format used, vlc version,
Linux version? Maybe someone can reproduce.
As Chris mentioned, the current versions are in the 3.x range while I
still have 2.2.2. I think that before going any further with this I
should upgrade.

I posted the problem here thinking that perhaps there was an underlying
audio configuration that could be optimized, from which other
applications could benefit. But it seems localized to vlc.

Cheers.
David Kastrup
2018-08-02 13:51:00 UTC
Permalink
Post by jonetsu
On Thu, 2 Aug 2018 07:57:00 +0200
Post by h***@gmx.net
The skip a second or further in is weirder, I haven't noticed it in
vlc. Can you give more detail, the song/format used, vlc version,
Linux version? Maybe someone can reproduce.
As Chris mentioned, the current versions are in the 3.x range while I
still have 2.2.2. I think that before going any further with this I
should upgrade.
I posted the problem here thinking that perhaps there was an underlying
audio configuration that could be optimized, from which other
applications could benefit. But it seems localized to vlc.
Well, the timidity startup glitch can be avoided with the --output-24bit
option but I think that's a completely separate issue.
--
David Kastrup
Loading...