SuppaMan Posted August 4 Posted August 4 Hi everyone, I've recently started using DVBViewer with streams coming from a TVHeadend server, and I’ve encountered a strange issue with the EPG display. Specifically, the EPG shown in DVBViewer (both in the general guide and in the per-channel view) seems to be mixed up. It displays a combination of EPG data from the currently tuned channel and previously viewed channels. It also shows programs with the same time, which obviously can't be correct! To clarify, the EPG data from the TVHeadend stream itself appears to be correct. I verified this by downloading the stream (both the single channel and the whole mux) directly via a browser and stopping it at the right moment, so the issue seems to lie in how DVBViewer handles or caches EPG data from these streams. The correct EPG for the channel is: 18:44 One Piece 19:15 Chuck 20:11 Due uomini e 1/2 <--- here i tuned the channel in DVBViewer 20:35 Due uomini e 1/2 21:00 Due uomini e 1/2 21:25 Lupin e il tesoro di anastasia 23:14 THE BIG BANG THEORY (S9 Ep13 L'ottimizzazione dell'empatia) 23:32 THE BIG BANG THEORY (S9 Ep14 La materializzazione della nonnina) 23:55 THE BIG BANG THEORY (S9 Ep15 La sommersione di San Valentino) 00:20 THE BIG BANG THEORY (S9 Ep16 La reazione positivo - negativa) 00:50 THE BIG BANG THEORY (S9 Ep17 La sperimentazione del genetliaco) 01:15 One Piece 01:45 One Piece 02:11 One Piece 02:39 Holly e Benji Forever 03:03 Holly e Benji Forever 03:26 Holly e Benji Forever 03:51 Il mistero della pietra azzurra 04:15 Il mistero della pietra azzurra 04:40 Il mistero della pietra azzurra 05:05 Camera Cafe' 05:30 Camera Cafe' 05:55 Schitt's Creek 06:16 Schitt's Creek 06:38 Schitt's Creek and so on... In this Drive folder you'll find: - a sample of the whole mux stream (captured by browser) - a sample of the single channel stream (captured by browser) - the recording of the same stream via DVBViewer (obviously the stream URL is the same) - my support.zip file https://drive.google.com/drive/folders/1QJ2AFjcOpgbt1NypRyGHlKS9AK1V2jUw?usp=sharing DVBViewer is setup to record all the TS extra info. Note that "THE BIG BANG THEORY - S7 Ep15 La manipolazione della locomotiva", which is the timer name (chosen by DVBViewer) is not related to this channel, but from a previously tuned one. This happens both with DVBViewer 7.1.0.0 and 7.3.1.0 (which is currently installed on my system, even if support.zip in setup.xml says it's 7.1.0.0). Is this a bug or am I doing something wrong? Thanks in advance! Quote
Griga Posted August 5 Posted August 5 Generally EPG data is assigned to channels by comparing the (Original)NetworkID, TransportStreamID and ServiceID. This is a kind of "DVB path" that is supposed to uniquely identify a DVB channel (or more general a DVB service). In your whole mux recording I find (by using the TransEdit Analyzer) for Mediaset Italia2 HD: OriginalNetworkID = 272, TransportStreamID = 901, ServiceID = 104 and 105 (there are two services carrying the same name). The EPG data for the services 104 and 105 in the mux is labeled with the same IDs, of course. That's how it should be. It can also be seen in the TransEdit Analyzer. However, in your DVBViewer recording I find for Mediaset Italia2 HD: OriginalNetworkID = 1, TransportStreamID = 1, ServiceID = 1. Here the EPG data is also labeled with these IDs. But how can this happen? Who changed the IDs to 1? DVBViewer does not change them when recording, which means, they arrive like this. I often see such values in IPTV streams, that are not part of a DVB mux or network, so they are set to 1 by default, because it is not necessary to distinguish them from other streams. DVBViewer works around it by creating artificial IDs from an MD5 URL hash for all channels belonging to the TS Stream reception type, so the streams can be distinguished internally. However, for assigning broadcasted (!) EPG data, the original IDs must be used. If they are all 1 for different channels, you inevitably get ambiguities, and the data gets mixed up. Please also check the Network ID, (Transport)Stream ID and Service ID values for the channels in question in the DVBViewer Channel Editor. To which reception type do they belong? Generally, if DVBViewer is used as client of a Sat>IP server like tvheadend, you should use virtual RTSP devices (see Options -> Hardware, click "Scan Sat>IP Servers) and channels with the original reception type (satellite, terrestrial... which means, you need to perform a channel scan or import one of the channel lists installed with DVBViewer). Particularly if you want to receive EPG data, you should not import m3u lists from the server or from somewhere else, because then you get IPTV, which usually has no native EPG. I guess, you are doing the latter, and that's how you get into trouble. Quote
SuppaMan Posted August 5 Author Posted August 5 Thank you for the rapid response. So the problem lies on how TVHeadend serves the single channel over HTTP, switching the SID to 1. Unfortunately I don't see a way to change this. As you guessed, every channel from that playlist has 1 as SID in DVBViewer: https://drive.google.com/file/d/1q4KPclEpFtAARE74FDpRn9jIrQAdDh_H/view?usp=drive_link I tried this because when I use DVBViewer Media Server, the EPG is displayed even watching the streams in HTTP. Anyway, when using RTSP in SAT>IP: even if the automatic scan didn't find the server (I'm in a normal local network, and I disabled the Windows firewall), inserting it manually two times (I dedicated two tuners at this), and after a full scan, made the whole thing work flawlessly: the EPG is correctly displayed, and the channels are even faster in tuning 😁 Thank you as always for the valuable support! Quote
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.