TVHeadend Server recording issue in CoreElec and LibreElec "Matrix", but work fine in "Leia"
Added by Marco Rob almost 3 years ago
I’m going crazy for problems recording an Italian IPTV stream (RAI1).
With all the other channels I have no problems, with this one after a while I get these error messages in the console:
2022-02-02 12: 06: 09.754 TS: IPTV1 / iptvitaplus.m3u - Rai 1 / Service01: H264 # 256 Continuity counter error (total 1)
# 257 Continuity counter error (total 1)
2022-02-02 12: 06: 09.754 TS: IPTV1 / iptvitaplus.m3u - Rai 1 / Service01: AAC
The thing are repeated randomly, then the stream reconnects and the recording continues but then it is unusable, because it tries to hang up the stream and this creates a problem in the saved file.
Latest version of TVHeadend Server downloaded from repo for Matrix 19.4 RC2.
I am doing the same recording on CoreElec and LibreElec V9.x (Leia, Kodi V18.x) with the same settings and I have absolutely no problem, hours of recording on that channel without a single abnormal message.
To do a test I tried also to install TVHeadend Server on Ubuntu and in that the channel is perfectly recorded without ever problems.
Perhaps this IPTV sends out a particular stream that is misinterpreted in the version of TVHeadend for CoreElec/LibreElec "Matrix" (Kodi 19.x)... possible kernel issue?
Since Leia and Matrix use two different versions of FFmpeg (V4.x and V5.x) in those distributions, I also tried to replace it by downgrading it but the problem remains.
The mux: pipe:///storage/.kodi/addons/tools.ffmpeg-tools/bin/ffmpeg -loglevel fatal -hide_banner -re -i "https://mediapolis.rai.it/relinker/relinkerServlet.htm?cont=2606803" -c copy -f mpegts -flags +global_header pipe:1
Tested in two different tvbox: Tictid TX6 and X96Max Plus 2T (both sm1_s905x3_4g_1gbit.dtb).
It would be useful if any of you who use Matrix on a tvbox did the same check with this mux, thanks!
Marco
Replies (2)
RE: TVHeadend Server recording issue in CoreElec and LibreElec "Matrix", but work fine in "Leia" - Added by Marco Rob almost 3 years ago
For the developers:
2022-02-05 10:04:25.300 [ TRACE]:tbl-base: pmt: pid 1000 tableid 02 extraid 0000000000000001 len 25
2022-02-05 10:04:25.300 [ TRACE]:tbl-base: pmt: section 0 last 0 ver 0 (ver 0 st 2 incomp 0 comp 1)
2022-02-05 10:04:25.300 [ TRACE]:tbl-base: pmt: skip, already complete (2)
2022-02-05 10:04:25.437 [ TRACE]:iptv-pcr: updated 11333461, time start 4496629917, limit 5000000, diff 4648004
2022-02-05 10:04:25.445 [ TRACE]:iptv: iptv_input_close_fds 48 0
2022-02-05 10:04:25.455 [ TRACE]:iptv: iptv pipe: spawned "/storage/.kodi/addons/tools.ffmpeg-tools/bin/ffmpeg" rd 39 pid 4761
2022-02-05 10:04:25.456 [ TRACE]:spawn: 45 78 65 63 75 74 69 6E 67 20 22 2F 73 74 6F 72 Executing "/stor
2022-02-05 10:04:25.456 [ TRACE]:spawn: 61 67 65 2F 2E 6B 6F 64 69 2F 61 64 64 6F 6E 73 age/.kodi/addons
2022-02-05 10:04:25.456 [ TRACE]:spawn: 2F 74 6F 6F 6C 73 2E 66 66 6D 70 65 67 2D 74 6F /tools.ffmpeg-to
2022-02-05 10:04:25.456 [ TRACE]:spawn: 6F 6C 73 2F 62 69 6E 2F 66 66 6D 70 65 67 22 0A ols/bin/ffmpeg".
2022-02-05 10:04:25.456 [ INFO]:spawn: Executing "/storage/.kodi/addons/tools.ffmpeg-tools/bin/ffmpeg"
2022-02-05 10:04:25.456 [ TRACE]:iptv-pcr: updated 11334901, time start 4496645917, limit 5000000, diff 4632004
2022-02-05 10:04:27.452 [ TRACE]:iptv-pcr: updated 11514541, time start 4498641922, limit 5000000, diff 2635999
2022-02-05 10:04:27.452 [ TRACE]:mpegts: iptvitaplus.m3u - Rai 1 in IPTV1: pid 0011 cc err 0 != 10
2022-02-05 10:04:27.452 [ TRACE]:mpegts: iptvitaplus.m3u - Rai 1 in IPTV1: pid 0000 cc err 0 != 2
2022-02-05 10:04:27.452 [ TRACE]:mpegts: iptvitaplus.m3u - Rai 1 in IPTV1: pid 1000 cc err 0 != 2
2022-02-05 10:04:27.452 [ TRACE]:mpegts: iptvitaplus.m3u - Rai 1 in IPTV1: pid 0100 cc err 0 != 4
2022-02-05 10:04:27.452 [WARNING]:TS: IPTV1/iptvitaplus.m3u - Rai 1/Service01: H264 #256 Continuity counter error (total 1)
#257 Continuity counter error (total 1)
2022-02-05 10:04:27.452 [ TRACE]:mpegts: iptvitaplus.m3u - Rai 1 in IPTV1: pid 0101 cc err 0 != 11
2022-02-05 10:04:27.452 [WARNING]:TS: IPTV1/iptvitaplus.m3u - Rai 1/Service01: AAC
2022-02-05 10:04:27.452 [ TRACE]:mpegts: input IPTV #1 got 122012 bytes
2022-02-05 10:04:27.452 [ TRACE]:tbl-base: pat: pid 00 tableid 00 extraid 0000000000000001 len 9
2022-02-05 10:04:27.453 [ TRACE]:tbl-base: pat: section 0 last 0 ver 0 (ver 0 st 2 incomp 0 comp 1)
2022-02-05 10:04:27.453 [ TRACE]:tbl-base: pat: skip, already complete (2)
2022-02-05 10:04:27.453 [ TRACE]:tbl-base: pmt: pid 1000 tableid 02 extraid 0000000000000001 len 25
Here the full debug log during the issue: https://drive.google.com/file/d/1Z25G6kG-2zb3GpMoIKCfv4VWXNugixPg/view?usp=sharing
RE: TVHeadend Server recording issue in CoreElec and LibreElec "Matrix", but work fine in "Leia" - Added by Marco Rob almost 3 years ago
I'm trying now with the TVH 4.2.8 version, same problem, it's just something in the Matrix that gives the problem.