Bug #5062

EPG problem with PASS profile

Added by saen acro 4 months ago. Updated 3 months ago.

Status:FixedStart date:2018-04-05
Priority:NormalDue date:
Assignee:Adam Sutton% Done:

100%

Category:EPG
Target version:-
Found in version:4.3.xxxx Affected Versions:

Description

TVH1 dvb-c source EPG work perfect all channels EPG is OK.
TVH2 take streams from TVH1 via IPTV Automatic Network,
but channels don't have EPG on TVH2 ... Actually have EPG,
but it come, long time after EPG scan finish.

Same can be seen in VLC log EPG come 5+ second after channel start.
If same streams are streamed from MuMuDVB in place of TVH1,
"epg scan" take EPG on a moment.

Interconnect between TVH will solve this /already have request for this/
Or just EPG internal reader from URL. /will make such feature request if needed/

epg_trace.txt Magnifier (271 KB) saen acro, 2018-04-06 16:02

epg_trace3.txt.bz2 (9.72 MB) saen acro, 2018-04-06 21:12

vlc.log (40.8 KB) saen acro, 2018-04-07 21:33

Associated revisions

Revision 5f0241da
Added by Jaroslav Kysela 3 months ago

pass muxer: add rewrite NIT, fixes #5062

Revision 29140e43
Added by Jaroslav Kysela 3 months ago

pass muxer: add more rewrites, fix NIT rewrite, fix teletext subs, fixes #5062, fixes #5075

History

#2 Updated by saen acro 4 months ago

I see this repeating message

2018-04-06 15:39:30.486 subscription: 0D3B: "scan" subscribing to mux "playlist - nova Sport", weight: 6, adapter: "IPTV #2", network: "TV Serv2", service: "Raw PID Subscription" 
2018-04-06 15:39:33.868 tbl-eit: eit: completed pid 18 table 00000000 / 00000000
2018-04-06 15:39:40.072 tbl-eit: eit: completed pid 18 table 00000000 / 00000000
2018-04-06 15:39:40.224 tbl-eit: eit: completed pid 18 table 00000000 / 00000000
2018-04-06 15:39:41.708 tbl-eit: eit: completed pid 18 table 00000000 / 00000000
2018-04-06 15:39:45.355 tbl-eit: eit: completed pid 18 table 00000000 / 00000000

will live it some more time.

#3 Updated by saen acro 4 months ago

On TVH2 I have DVB-S tunners
problematic are DVB-C from IPTV

#4 Updated by Jaroslav Kysela 4 months ago

I need to inspect traces - the standard logging does not show much for eit tables.

#5 Updated by saen acro 3 months ago

Sorry but Wiki image is outdated (!)

new log uploaded

#6 Updated by Jaroslav Kysela 3 months ago

There are EIT events in the log. Unfortunately, I cannot tell you what's wrong, because I don't know what you expect.

#7 Updated by Jaroslav Kysela 3 months ago

I suggest to configure only one test mux in the automatic network and analyze the behaviour of TVH2.

#8 Updated by saen acro 3 months ago

Im try to play via VLC from TVH2 and then from TVH1 same channel
both use PASS profile /with overwriting is impossible to be edited/
attaching log
no time stamps in vlc logs

just like pid=18 from iptv is cut or not used

#9 Updated by saen acro 3 months ago

One more detail
TVH1 send in stream only NOW/NEXT event EPG

#10 Updated by Jaroslav Kysela 3 months ago

Looking more to this: It seems that the EIT events are in EIT table 0x60 (other TS). Those events are FILTERED when you enable EIT rewrite (or SID rewrite which will implicitly enable all rewrites):

static void
pass_muxer_eit_cb(mpegts_psi_table_t *mt, const uint8_t *buf, int len)
{

....

  /* filter out the other transponders */
  if ((buf[0] < 0x50 && buf[0] != 0x4e) || buf[0] > 0x5f || len < 14)
    return;

#11 Updated by Jaroslav Kysela 3 months ago

Could you try this?

diff --git a/src/muxer/muxer_pass.c b/src/muxer/muxer_pass.c
index a6ea51dd1..d33c17826 100644
--- a/src/muxer/muxer_pass.c
+++ b/src/muxer/muxer_pass.c
@@ -240,8 +240,8 @@ pass_muxer_eit_cb(mpegts_psi_table_t *mt, const uint8_t *buf, int len)
   uint8_t *sbuf, *out;
   int olen;

-  /* filter out the other transponders */
-  if ((buf[0] < 0x50 && buf[0] != 0x4e) || buf[0] > 0x5f || len < 14)
+  /* filter out wrong tables */
+  if (buf[0] < 0x4e || buf[0] > 0x6f || len < 14)
     return;

   pm = (pass_muxer_t*)mt->mt_opaque;

#12 Updated by saen acro 3 months ago

Zero Effect, same as before :(

#13 Updated by Jaroslav Kysela 3 months ago

The traces shows the imported events nicely, so you can investigate this more yourself. The key is if EIT events are broadcasted in the mux where the service is broadcasted.

#14 Updated by saen acro 3 months ago

60sec curl download from both
command used

curl -m 60 --output tvh2.ts http://localhost:9981/stream/channelid/1826398699

Same channel but size is totally different ???

DVB-C >>> TVH1  >>>  TVH2  >>> Clients
               16Mb       21Mb (60sec)

DemuxToy TS Analyser
show lot of violations after second tvh

TVH1.TS
TVH2.TS

#15 Updated by Jaroslav Kysela 3 months ago

I do not have a time to do this analysis.

#16 Updated by saen acro 3 months ago

I'm start to be confused?
http://www.digitalekabeltelevisie.nl/dvb_inspector/ nice program work in windows and linux just need JAVA

record from TVH1

there is 0x4E (78) and 0x50 (80) events

but after stream go to TVH2

on output there is no EPG also no EPG inside

Astra send only 0x4E

and MuMuDVB send both 0x4E and 0x50

#17 Updated by Jaroslav Kysela 3 months ago

  • Status changed from New to Fixed
  • % Done changed from 0 to 100

#18 Updated by saen acro 3 months ago

Tested without success :(
No EPG on second TVH

Also available in: Atom PDF