Project

General

Profile

Bug #4691

Rewrite MPEG-TS SI tables not working for all channels

Added by David jrm about 3 years ago. Updated about 3 years ago.

Status:
New
Priority:
Normal
Category:
Streaming
Target version:
-
Start date:
2017-10-26
Due date:
% Done:

0%

Estimated time:
Found in version:
4.3-589~g7d0e509
Affected Versions:

Description

Hi,

I have been looking around an issue I'm experienced since few time ago which is that some channels don't send video/audio at all to vlc or TVH Client (Android), but it works for Kodi in linux/Android/PC.

I've just discovered that it is related to the Rewrite MPEG options, as disabling all options except the last one (EIT),the channel works in vlc and tvh client correctly.

Is there any option Im missing apart of the MPEG rewrite ones?

Thanks


Files

enabled.ts (30.7 MB) enabled.ts Rewrite enabled David jrm, 2017-10-26 18:03
disabled.ts (30.7 MB) disabled.ts Rewrite disabled David jrm, 2017-10-26 18:03
new_disabled.ts (30.7 MB) new_disabled.ts David jrm, 2017-11-02 10:22
new_enabled.ts (30.7 MB) new_enabled.ts David jrm, 2017-11-02 10:22
rw_enabled.ts (26.5 MB) rw_enabled.ts David jrm, 2017-11-04 10:10

History

#1

Updated by Jaroslav Kysela about 3 years ago

Attach .ts file for both conditions (rewrite enabled / not enabled) for the problematic channel. Output from tvh.

#2

Updated by David jrm about 3 years ago

Jaroslav Kysela wrote:

Attach .ts file for both conditions (rewrite enabled / not enabled) for the problematic channel. Output from tvh.

Here you go...

#3

Updated by Jaroslav Kysela about 3 years ago

The enabled.ts does not seem to be correct. It contains sid 3101 but it should be probable 1 (if you keep the 'Rewrite service ID' configuration as 1).

It means that the file is not an output with rewrite enabled.

#4

Updated by David jrm about 3 years ago

Jaroslav Kysela wrote:

The enabled.ts does not seem to be correct. It contains sid 3101 but it should be probable 1 (if you keep the 'Rewrite service ID' configuration as 1).

It means that the file is not an output with rewrite enabled.

I'm sure the file was dumped with the enabled option, anyway it seems that now is working with both options, but lets check just in case the issue is that now TVH is not overwriting the id at all. See new samples attached

#5

Updated by Jaroslav Kysela about 3 years ago

Did you also set 'rewrite service ID' to 1 (it's the default) ?

#6

Updated by David jrm about 3 years ago

Jaroslav Kysela wrote:

Did you also set 'rewrite service ID' to 1 (it's the default) ?

Yep, rewrite was set to 1 and default profile was set to pass

#7

Updated by Jaroslav Kysela about 3 years ago

I'm afraid, but the *enabled.ts files does not have SID (Service ID) set to 1 which means that the rewrite code is probably not active. I did quick tests here and it works. If you run ffprobe (from ffmpeg) on the .ts file, you should see lines like:

Input #0, mpegts, from '/home/perex/Download/new_enabled.ts':
  Duration: 00:00:30.63, start: 45668.496222, bitrate: 8413 kb/s
  Program 3101 

Where 'Program' should be '1'.

#8

Updated by David jrm about 3 years ago

Jaroslav Kysela wrote:

I'm afraid, but the *enabled.ts files does not have SID (Service ID) set to 1 which means that the rewrite code is probably not active. I did quick tests here and it works. If you run ffprobe (from ffmpeg) on the .ts file, you should see lines like:

[...]

Where 'Program' should be '1'.

OK, I know now why the dump was not working as expected... I used as described in the mux dump the url from the mux directly and doing that, no profile is selected in tvh at all for this stream, however using the url from the channel it select pass profile and id is rewrited as expected. See attached.

Anyway not sure if you will be able to see anything as this seems to be working since few days from non kodi clients (still thinking why :) )

Thanks

#9

Updated by Jaroslav Kysela about 3 years ago

OK, let me know when things are broken (with .ts example). The rw_enabled.ts seems ok.

Also available in: Atom PDF