My setup: Pi4 siting on Ethernet - LE 12.2.1 - TVH 4.3 with mix DVB and IPTV. Recent upgrade from LE 12.2 and unfortunately autobackup overwrote my saved backup so cannot undo...
Issue: one of the IPTV streams - Channel 9 (Sydney) shows, after the LE upgrade, continuity errors severe enough for it to break the recorded file and stream to connected Kodi/TVH Clients. The only change introduced was the LE version upgrade - no other changes introduced.
Observations: When tuned to Channel 9 TVH shows traffic coming in and the stream is passed on to TVH Clients and is recorded just fine for about 15 seconds after which there seems to be a hickup which TVH lists as a continuity error. This hickup shows as the stream input (shown in TVH Status) to drop from 2000 to 5000 kb/s to 0 kb/s for a couple of seconds to be followed by a "catchup" of up to 100000 kb/s. While the stream gets corrupted which throws off the connected Clients - even the local loopback client on the same Pi4 that is running THV - and corrupts the recorded file TVH doesn't crash and keeps on passing on the stream and record the file. The Pi4 itself is also not under stress as it happily streams/records other streams while the Channel 9 one breaks up.
Above behaviour is only introduced after the LE version upgrade and only seen at this stream. All other streams work fine and no continuity errors can be observed. Network does not cause this, demonstrated by running an old Minix box with LE/TVH concurrently on the same network which works fine and as expected.
the Channel 9 stream itself is also not suspect as the stream fed into TVH (pipe://ffmpeg -loglevel fatal -probesize 10M -analyzeduration 0 -fpsprobesize 0 -headers user-agent:\ otg/1.5.1\ (AppleTv\ Apple\ TV\ 4;\ tvOS16.0;\ appletv.client)\ libcurl/7.58.0\ OpenSSL/1.0.2o\ zlib/1.2.11\ clib/1.8.56\r\nseekable:\ 0\r\nreferer:\ \ \r\n -i https://i.mjh.nz/.r/channel-9-nsw.m3u8 -vcodec copy -acodec copy -metadata service_name=mjh-channel-9-nsw -f mpegts pipe:1) doesn't seem to involve transcoding and and extracting the URL itself (https://i.mjh.nz/.r/channel-9-nsw.m3u8) and feeding that into VLC plays just fine - not a single breakup or continuity error.
I did do the LE upgrade using the workaround method of downloading the image - LibreELEC-RPi4.aarch64-12.2.1.img - from the website and insert it in the upgrade folder. Upgrade went fine...
reinstalled the FFMPEG tools just to make sure.
from the add-on log:
2026-04-05 17:52:49.660 [ INFO] subscription: 0005: "scan" unsubscribing
2026-04-05 17:54:00.003 [ INFO] dvr: "9News Sunday" on "Channel 9" recorder starting
2026-04-05 17:54:00.009 [ INFO] mpegts: tvh-tv.m3u8 - Channel 9 in IPTV - tuning on IPTV #1
2026-04-05 17:54:00.022 [ INFO] subscription: 0006: "DVR: 9News Sunday" subscribing on channel "Channel 9", weight: 300, adapter: "IPTV #1", network: "IPTV", mux: "tvh-tv.m3u8 - Channel 9", provider: "FFmpeg", service: "mjh-channel-9-nsw", profile="pass", username="admin"
2026-04-05 17:54:00.023 [ INFO] spawn: Executing "/storage/.kodi/addons/tools.ffmpeg-tools/bin/ffmpeg"
2026-04-05 17:54:11.365 [ INFO] spawn: Executing "/storage/.kodi/addons/tools.ffmpeg-tools/bin/ffmpeg"
2026-04-05 17:54:15.404 [WARNING] TS: IPTV/tvh-tv.m3u8 - Channel 9/mjh-channel-9-nsw: AAC @ #257 Continuity counter error (total 1)
2026-04-05 17:54:18.574 [ INFO] spawn: Executing "/storage/.kodi/addons/tools.ffmpeg-tools/bin/ffmpeg"
2026-04-05 17:54:26.398 [WARNING] TS: IPTV/tvh-tv.m3u8 - Channel 9/mjh-channel-9-nsw: H264 @ #256 Continuity counter error (total 1)
2026-04-05 17:54:26.423 [WARNING] TS: IPTV/tvh-tv.m3u8 - Channel 9/mjh-channel-9-nsw: AAC @ #257 Continuity counter error (total 2)
2026-04-05 17:54:28.431 [ INFO] spawn: Executing "/storage/.kodi/addons/tools.ffmpeg-tools/bin/ffmpeg"
2026-04-05 17:54:30.783 [ INFO] dvr: /storage/recordings/9News Sunday/9News Sunday2026-04-0517-59-S05E14.ts from adapter: "IPTV #1", network: "IPTV", mux: "tvh-tv.m3u8 - Channel 9", provider: "FFmpeg", service: "mjh-channel-9-nsw"
2026-04-05 17:54:30.783 [ INFO] dvr: # type lang resolution aspect ratio sample rate channels
2026-04-05 17:54:30.783 [ INFO] dvr: 1 H264 1920x1080 ?
2026-04-05 17:54:30.783 [ INFO] dvr: 2 AAC eng 96000 ?
2026-04-05 17:54:35.678 [ INFO] spawn: Executing "/storage/.kodi/addons/tools.ffmpeg-tools/bin/ffmpeg"
2026-04-05 17:54:38.113 [WARNING] TS: IPTV/tvh-tv.m3u8 - Channel 9/mjh-channel-9-nsw: H264 @ #256 Continuity counter error (total 3)
2026-04-05 17:54:38.145 [WARNING] TS: IPTV/tvh-tv.m3u8 - Channel 9/mjh-channel-9-nsw: AAC @ #257 Continuity counter error (total 4)
2026-04-05 17:54:43.197 [ INFO] spawn: Executing "/storage/.kodi/addons/tools.ffmpeg-tools/bin/ffmpeg"
2026-04-05 17:54:50.652 [ INFO] spawn: Executing "/storage/.kodi/addons/tools.ffmpeg-tools/bin/ffmpeg"
2026-04-05 17:54:53.132 [WARNING] TS: IPTV/tvh-tv.m3u8 - Channel 9/mjh-channel-9-nsw: H264 @ #256 Continuity counter error (total 5)
2026-04-05 17:54:53.156 [WARNING] TS: IPTV/tvh-tv.m3u8 - Channel 9/mjh-channel-9-nsw: AAC @ #257 Continuity counter error (total 6)
2026-04-06 08:02:59.465 [ INFO] spawn: Executing "/storage/.kodi/addons/tools.ffmpeg-tools/bin/ffmpeg"
2026-04-06 08:03:02.433 [WARNING] TS: IPTV/tvh-tv.m3u8 - Channel 9/mjh-channel-9-nsw: H264 @ #256 Continuity counter error (total 23)
2026-04-06 08:03:02.436 [WARNING] tsfix: transport stream H264, DTS discontinuity. DTS = 63000, last = 1873800
2026-04-06 08:03:02.474 [WARNING] TS: IPTV/tvh-tv.m3u8 - Channel 9/mjh-channel-9-nsw: AAC @ #257 Continuity counter error (total 24)
2026-04-06 08:03:02.474 [WARNING] parser: IPTV/tvh-tv.m3u8 - Channel 9/mjh-channel-9-nsw: AAC @ #257: DTS and PCR diff is very big (40836120)
2026-04-06 08:03:04.531 [WARNING] parser: IPTV/tvh-tv.m3u8 - Channel 9/mjh-channel-9-nsw: AAC @ #257: DTS and PCR diff is very big (40835040)
2026-04-06 08:03:06.548 [WARNING] parser: IPTV/tvh-tv.m3u8 - Channel 9/mjh-channel-9-nsw: AAC @ #257: DTS and PCR diff is very big (40834680)
2026-04-06 08:03:06.831 [ INFO] spawn: Executing "/storage/.kodi/addons/tools.ffmpeg-tools/bin/ffmpeg"
2026-04-06 08:03:09.460 [WARNING] tsfix: transport stream H264, DTS discontinuity. DTS = 63000, last = 1873800
2026-04-06 08:03:09.514 [WARNING] parser: IPTV/tvh-tv.m3u8 - Channel 9/mjh-channel-9-nsw: AAC @ #257: DTS and PCR diff is very big (42650520)
2026-04-06 08:03:11.459 [WARNING] parser: IPTV/tvh-tv.m3u8 - Channel 9/mjh-channel-9-nsw: AAC @ #257: DTS and PCR diff is very big (42651000)
2026-04-06 08:03:13.999 [WARNING] parser: IPTV/tvh-tv.m3u8 - Channel 9/mjh-channel-9-nsw: AAC @ #257: DTS and PCR diff is very big (42651000)
2026-04-06 08:03:14.717 [ INFO] spawn: Executing "/storage/.kodi/addons/tools.ffmpeg-tools/bin/ffmpeg"
I just noticed that it seems to spawn ffmpeg-tools while I understand TVH is compiled with ffmpeg already included. Could it be that the external ffmpeg-tools are different/corrupted or in any way not compatible??
any ideas - other logs or things to try to fix this??
thnx for your help