Live TV Jerks

Hello again, and thanks for your informations.
My config ist like yours, so that is not the problem.
tvheadend and the log: where can i post it? till the jerks begins it takes a while, so the log ist 100MB big :smiley:

@Urlaubsreif1980 I fear you have to look yourself into the logs and look for strange/unexpected messages. This is the OSMC forum and tvheadend is just a package you can install onto this distribution.

Once the playback “jerks” or better the stream starts stalling, look into the created tvheadend log around the specific timestamp when the problem started.
If you can cut the log to a size below 10 MB, you can upload the data with the cmd paste-log <file name> and provide the returned url here.
But to set expectations right: We are not tvheadend experts or developers. These you find at tvheadend.org. (I see you alreaded started that investigation in parallel :slight_smile: )

I meanwhile set up an RPi4 with the OSMC + TVheadend HTSP client and let it playback the DVB-C channel “N24 Doku” from a tvheadend server running on a VeroV. It works like a charm now for hours, so at least the complete SW stack processing the HTSP stream is clean.

Hey Jim,
yes, i started there a thred… but i realised something… i watched a movie which is on my nas, and after about an hour… prity the same. So, i created a log and found something like this:

2024-09-24 10:34:41.680 T:738 warning : ActiveAE - large audio sync error: -2059.372255
2024-09-24 10:34:41.682 T:738 warning : ActiveAE - large audio sync error: -2047.313755
2024-09-24 10:34:41.682 T:738 warning : ActiveAE - large audio sync error: -2047.527037
2024-09-24 10:34:43.825 T:906 info : CVideoPlayerAudio::Process - stream stalled
2024-09-24 10:34:51.687 T:738 warning : Skipped 2 duplicate messages…
2024-09-24 10:34:51.687 T:738 warning : ActiveAE - large audio sync error: -1009.421455
2024-09-24 10:34:51.689 T:738 warning : ActiveAE - large audio sync error: -1007.357516
2024-09-24 10:34:51.760 T:738 warning : ActiveAE - large audio sync error: -1043.458243

is it possivle, that some audio configs create this issues?

i found a discusion which fits to this:

Sync playback to display: true

A mod colleague pointed out that you changed this configuration setting compared to the first logs. It can result in a wrong/suboptimal frame rate.

1 Like

Meanwhile I installed the tvheadend server also on the test RPi 4 and let it playback live TV channel “N24 Doku” … till now without any issue. Tuner is a SAT>IP DVB-C model from AVM.

So, in summary you have the issue playing back videos from your NAS as well as tvheadend from your RPi4 whereas my RPi4 setup is stable. Both of your sources seems to suffer from stalled streams after a long time.
Last idea I have for this is a potential cooling issue. As you know the RPi4 start throttling the CPU clock rate at 80°C. First helpful cmds are

vcgencmd measure_temp
vcgencmd get_throttled

Once you see other values like 0 in get_throttled, you know for sure the CPU got a thermal issue and was throttled to lower clock rates.

Last attempt could be to try an update to the last development staging like here all machines are using. But there should not that much differences to the last OSMC release and I’m not aware of any change matching your issue/symptoms.

There won’t be anything in staging that improves things unfortunately

I tried all kind of sound configurations and at the end i changed “Sync playback to display: true” to false.
So, after 2 days of testing and watching TV an Movies i can say, that it is working now.
To be honest, i don’t really understand what is happening there. As i told, i used for over 20 years a Windows system and never userd Linux… Anyway, i have to learn but for now it is ok in this combination of config.
thank you all very much for help! :slight_smile:

I’m glad to hear this is working now