https://bugs.kde.org/show_bug.cgi?id=485108

            Bug ID: 485108
           Summary: Bug in VLC backend with seeking causes up-sampling
    Classification: Applications
           Product: Elisa
           Version: 24.02.1
          Platform: Arch Linux
                OS: Linux
            Status: REPORTED
          Severity: normal
          Priority: NOR
         Component: general
          Assignee: matthieu_gall...@yahoo.fr
          Reporter: vancta...@protonmail.com
  Target Milestone: ---

Created attachment 168201
  --> https://bugs.kde.org/attachment.cgi?id=168201&action=edit
One file on which I noticed the bug. Just seek around a few times you'll see
that the pitch changes significantly

SUMMARY
A certain bug in the VLC backend + ALSA upsamples the music upon seeking. A
certain configuration can be applied to fix the issue, but those fixes do not
apply to Elisa and there seems to be no way to configure Elisa to reflect those
fixes.

STEPS TO REPRODUCE
1. Play the provided file
2. Seek a few times by playing with the slider

OBSERVED RESULT
The music is upsampled. Sometimes Elisa will drop the file and I will have to
requeue it.

EXPECTED RESULT
The music should not be unsampled

SOFTWARE/OS VERSIONS
Arch Linux: 6.8.2-arch2-1
VLC media player 3.0.20 Vetinari (revision 3.0.20-0-g6f0d0ab126b)
Elisa 22.02.01

ADDITIONAL INFORMATION
I have verified the provided mp3 with a spectrum analyzer but the beginning and
the end of the song are the same, pitch-wise

Running vlc -vvv and playing the music file and then seeking around the
provided file the following appears in the console:
[00007ea100000c90] main input debug: Buffering 0%
[00007ea100000c90] main input debug: Buffering 2%
[00007ea100000c90] main input debug: Buffering 5%
[00007ea100000c90] main input debug: Buffering 7%
[00007ea100000c90] main input debug: Buffering 10%
[00007ea100000c90] main input debug: Buffering 13%
[00007ea100000c90] main input debug: Buffering 15%
[00007ea100000c90] main input debug: Buffering 18%
[00007ea100000c90] main input debug: Buffering 20%
[00007ea100000c90] main input debug: Buffering 23%
[00007ea100000c90] main input debug: Buffering 26%
[00007ea100000c90] main input debug: Buffering 28%
[00007ea100000c90] main input debug: Buffering 31%
[00007ea100000c90] main input debug: Buffering 33%
[00007ea100000c90] main input debug: Buffering 36%
[00007ea100000c90] main input debug: Buffering 39%
[00007ea100000c90] main input debug: Buffering 41%
[00007ea100000c90] main input debug: Buffering 44%
[00007ea100000c90] main input debug: Buffering 47%
[00007ea100000c90] main input debug: Buffering 49%
[00007ea100000c90] main input debug: Buffering 52%
[00007ea100000c90] main input debug: Buffering 54%
[00007ea100000c90] main input debug: Buffering 57%
[00007ea100000c90] main input debug: Buffering 60%
[00007ea100000c90] main input debug: Buffering 62%
[00007ea100000c90] main input debug: Buffering 65%
[00007ea100000c90] main input debug: Buffering 67%
[00007ea100000c90] main input debug: Buffering 70%
[00007ea100000c90] main input debug: Buffering 73%
[00007ea100000c90] main input debug: Buffering 75%
[00007ea100000c90] main input debug: Buffering 78%
[00007ea100000c90] main input debug: Buffering 80%
[00007ea100000c90] main input debug: Buffering 83%
[00007ea100000c90] main input debug: Buffering 86%
[00007ea100000c90] main input debug: Buffering 88%
[00007ea100000c90] main input debug: Buffering 91%
[00007ea100000c90] main input debug: Buffering 94%
[00007ea100000c90] main input debug: Buffering 96%
[00007ea100000c90] main input debug: Buffering 99%
[00007ea100000c90] main input debug: Stream buffering done (1018 ms in 0 ms)
[00007ea100000c90] main input debug: Decoder wait done in 0 ms
[00005fa6303c9390] pulse audio output warning: starting late (-96077 us)
[00005fa6303c9390] main audio output debug: resampling stopped (drift: 100352
us)
[00005fa6303c9390] main audio output warning: playback too late (100442):
up-sampling

This can be mitigated by adding the following lines to .config/vlc/vlcrc
[alsa]
alsa-audio-device=pulse

[core]
aout=alsa
audio-resampler=none

-- 
You are receiving this mail because:
You are watching all bug changes.

Reply via email to