Skip to content

Clipping, stuttering audio during playback on analog headphone output #1242

@MoojMidge

Description

@MoojMidge

Hi I am running libreelec on a raspberry pi 4 with 8GB.

I am using the youtube plugin to, yes, watch youtube.

It comes to my attention, that some, not all,  videos generate clipping, stuttering audio during playback on analog headphone output.

I do not think it is a bandwidth issues, as buffer is allways well filled es indicated in the search bar.
Also cpu overload I rule out as cpu load is at 30 % max on the most busy core.
I am running on moderate 1680x1050p@60Hz and I have already restricted the stream format to only use h264 and 2.0 audio.

I have a logfile here, with a good and a bad example of a stream.

https://paste.kodi.tv/liqivukora

Bad stream starts at 2025-08-06 17:45:29.442

Good stream starts at 2025-08-06 17:46:24.837

Some more testing unveals, that the issue is only present when routing audio to analog headphone jack ... not on hdmi.

Anyone has an idea, what might be the reason for the issue ? Ore even how to solve it ?

Best 
Stephan

Originally posted by StephanS in https://forum.kodi.tv/showthread.php?tid=356934&pid=3238810#pid3238810

liqivukora.txt

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions