Jump to content


Photo

Fail to filter program


  • Please log in to reply
6 replies to this topic

#1 azureit

  • Member
  • 5 posts

0
Neutral

Posted 27 May 2020 - 07:56

According to https://books.google...9YC&pg=RA2-PA59

Satellite DVB system transmission can use:

  • one PMT per channel
  • one PMT to describe multiple channels.

Enigma2 is filtering channels by PMT, so it will fail to filter when one PMT to describe multiple channels.

 

82936117-0239d500-9f86-11ea-8945-7a4564b



Re: Fail to filter program #2 dhwz

  • Senior Member
  • 227 posts

+20
Neutral

Posted 27 May 2020 - 11:18

I'm pretty sure this is incorrect as I'm watching SIC HD right now!

Re: Fail to filter program #3 azureit

  • Member
  • 5 posts

0
Neutral

Posted 27 May 2020 - 12:49

I'm pretty sure this is incorrect as I'm watching SIC HD right now!

What did I wrote that is incorrect?

All channels of that transponder have the same PMT ID, one PMT to describe multiple channels.

Do the test of saving one channel to ts file and with ffprobe you will discover that the filter has failed, it will include the streams(audio stream, video stream, ...) not only from that channel, but all the channels with the same PMT ID



Re: Fail to filter program #4 dhwz

  • Senior Member
  • 227 posts

+20
Neutral

Posted 27 May 2020 - 14:47

FYI above you didn't mention you are just talking about recordings.

But nope, I agree that the complete PMT is recorded but not the streams itself. Only the selected SID and it's mapped streams, in my example SID 700 (SIC HD) is recorded.
 

Input #0, mpegts, from '20200527 1530 - SIC HD - Primeiro Jornal.ts':
  Duration: 00:01:17.08, start: 29740.707789, bitrate: 3996 kb/s
  Program 4
    Stream #0:37[0x21]: Unknown: none ([5][0][0][0] / 0x0005)
  Program 6
    Stream #0:38[0xd8]: Unknown: none ([5][0][0][0] / 0x0005)
    Stream #0:39[0xd9]: Unknown: none ([5][0][0][0] / 0x0005)
  Program 18
    Stream #0:40[0x1f1a]: Unknown: none ([11][0][0][0] / 0x000B)
  Program 700
    Stream #0:41[0x176](por): Subtitle: dvb_teletext ([6][0][0][0] / 0x0006)
    Stream #0:2[0x174]: Video: h264 (High) ([27][0][0][0] / 0x001B), yuv420p(tv, bt709, top first), 1920x1080 [SAR 1:1 DAR 16:9], 25 fps, 50 tbr, 90k tbn, 50 tbc
    Stream #0:3[0x175]: Audio: mp2 ([4][0][0][0] / 0x0004), 48000 Hz, stereo, s16p, 192 kb/s
  Program 701
    Stream #0:42[0x179](por): Subtitle: dvb_teletext ([6][0][0][0] / 0x0006)
    Stream #0:43[0x177]: Video: h264 ([27][0][0][0] / 0x001B), none, 90k tbr, 90k tbn
    Stream #0:44[0x178](por): Audio: mp3 ([4][0][0][0] / 0x0004), 0 channels
  Program 800
    Stream #0:45[0x800](por): Audio: mp3 ([4][0][0][0] / 0x0004), 0 channels
  Program 804
    Stream #0:0[0x19d2]: Video: h264 ([27][0][0][0] / 0x001B), none, 90k tbr, 90k tbn, 180k tbc
    Stream #0:1[0x19d3](eng): Audio: mp3 ([4][0][0][0] / 0x0004), 0 channels
  Program 807
    Stream #0:4[0x1f71](por): Audio: mp3 ([4][0][0][0] / 0x0004), 0 channels
    Stream #0:5[0x1f70]: Video: h264 ([27][0][0][0] / 0x001B), none, 90k tbr, 90k tbn
  Program 808
    Stream #0:6[0x1f30]: Video: h264 ([27][0][0][0] / 0x001B), none, 90k tbr, 90k tbn
    Stream #0:7[0x1f31](eng): Audio: mp3 ([4][0][0][0] / 0x0004), 0 channels
  Program 809
    Stream #0:8[0x1f41](eng): Audio: mp3 ([4][0][0][0] / 0x0004), 0 channels
    Stream #0:9[0x1f40]: Video: h264 ([27][0][0][0] / 0x001B), none, 90k tbr, 90k tbn
  Program 815
    Stream #0:10[0x1f62](spa): Audio: mp3 ([4][0][0][0] / 0x0004), 0 channels
    Stream #0:11[0x1f60]: Video: h264 ([27][0][0][0] / 0x001B), none, 90k tbr, 90k tbn
    Stream #0:12[0x1f61](por): Audio: mp3 ([4][0][0][0] / 0x0004), 0 channels
  Program 816
    Stream #0:13[0x1f77](por): Audio: mp3 ([4][0][0][0] / 0x0004), 0 channels
    Stream #0:14[0x1f76]: Video: h264 ([27][0][0][0] / 0x001B), none, 90k tbr, 90k tbn
  Program 818
    Stream #0:15[0x19f3]: Video: h264 ([27][0][0][0] / 0x001B), none, 90k tbr, 90k tbn
    Stream #0:16[0x19f4](por): Audio: mp3 ([4][0][0][0] / 0x0004), 0 channels
  Program 822
    Stream #0:17[0x1f52]: Video: h264 ([27][0][0][0] / 0x001B), none, 90k tbr, 90k tbn
    Stream #0:18[0x1f53](por): Audio: mp3 ([4][0][0][0] / 0x0004), 0 channels
    Stream #0:19[0x1f54](eng): Audio: mp3 ([4][0][0][0] / 0x0004), 0 channels
    Stream #0:20[0x1f55](por): Subtitle: dvb_teletext ([6][0][0][0] / 0x0006)
  Program 947
    Stream #0:21[0x19a0]: Video: h264 ([27][0][0][0] / 0x001B), none, 90k tbr, 90k tbn
    Stream #0:22[0x19a1]: Audio: mp3 ([4][0][0][0] / 0x0004), 0 channels
  Program 1298
    Stream #0:23[0x1de4]: Video: h264 ([27][0][0][0] / 0x001B), none, 90k tbr, 90k tbn
    Stream #0:24[0x1de5](eng): Audio: mp3 ([4][0][0][0] / 0x0004), 0 channels
  Program 1305
    Stream #0:23[0x1de4]: Video: h264 ([27][0][0][0] / 0x001B), none, 90k tbr, 90k tbn
    Stream #0:24[0x1de5](eng): Audio: mp3 ([4][0][0][0] / 0x0004), 0 channels
  Program 1306
    Stream #0:25[0x1f84]: Video: h264 ([27][0][0][0] / 0x001B), none, 90k tbr, 90k tbn
    Stream #0:26[0x1f85](por): Audio: mp3 ([4][0][0][0] / 0x0004), 0 channels
  Program 1309
    Stream #0:27[0x1260]: Video: h264 ([27][0][0][0] / 0x001B), none, 90k tbr, 90k tbn
    Stream #0:28[0x1261](eng): Audio: mp3 ([4][0][0][0] / 0x0004), 0 channels
  Program 1338
    Stream #0:29[0x1d31](por): Audio: mp3 ([4][0][0][0] / 0x0004), 0 channels
    Stream #0:30[0x1d30]: Video: h264 ([27][0][0][0] / 0x001B), none, 90k tbr, 90k tbn
  Program 1340
    Stream #0:31[0x1f86]: Video: h264 ([27][0][0][0] / 0x001B), none, 90k tbr, 90k tbn
    Stream #0:32[0x1f87](por): Audio: mp3 ([4][0][0][0] / 0x0004), 0 channels
  Program 1341
    Stream #0:33[0x1f88]: Video: h264 ([27][0][0][0] / 0x001B), none, 90k tbr, 90k tbn
    Stream #0:34[0x1f89](eng): Audio: mp3 ([4][0][0][0] / 0x0004), 0 channels
  Program 1342
    Stream #0:33[0x1f88]: Video: h264 ([27][0][0][0] / 0x001B), none, 90k tbr, 90k tbn
    Stream #0:34[0x1f89](eng): Audio: mp3 ([4][0][0][0] / 0x0004), 0 channels
  Program 1343
    Stream #0:35[0x1f4a]: Video: h264 ([27][0][0][0] / 0x001B), none, 90k tbr, 90k tbn
    Stream #0:36[0x1f4b](eng): Audio: mp3 ([4][0][0][0] / 0x0004), 0 channels


Re: Fail to filter program #5 azureit

  • Member
  • 5 posts

0
Neutral

Posted 29 May 2020 - 09:55

 

FYI above you didn't mention you are just talking about recordings.

But nope, I agree that the complete PMT is recorded but not the streams itself. Only the selected SID and it's mapped streams, in my example SID 700 (SIC HD) is recorded.
 

Input #0, mpegts, from '20200527 1530 - SIC HD - Primeiro Jornal.ts':
  Duration: 00:01:17.08, start: 29740.707789, bitrate: 3996 kb/s
  Program 4
    Stream #0:37[0x21]: Unknown: none ([5][0][0][0] / 0x0005)
  Program 6
    Stream #0:38[0xd8]: Unknown: none ([5][0][0][0] / 0x0005)
    Stream #0:39[0xd9]: Unknown: none ([5][0][0][0] / 0x0005)
  Program 18
    Stream #0:40[0x1f1a]: Unknown: none ([11][0][0][0] / 0x000B)
  Program 700
    Stream #0:41[0x176](por): Subtitle: dvb_teletext ([6][0][0][0] / 0x0006)
    Stream #0:2[0x174]: Video: h264 (High) ([27][0][0][0] / 0x001B), yuv420p(tv, bt709, top first), 1920x1080 [SAR 1:1 DAR 16:9], 25 fps, 50 tbr, 90k tbn, 50 tbc
    Stream #0:3[0x175]: Audio: mp2 ([4][0][0][0] / 0x0004), 48000 Hz, stereo, s16p, 192 kb/s
  Program 701
    Stream #0:42[0x179](por): Subtitle: dvb_teletext ([6][0][0][0] / 0x0006)
    Stream #0:43[0x177]: Video: h264 ([27][0][0][0] / 0x001B), none, 90k tbr, 90k tbn
    Stream #0:44[0x178](por): Audio: mp3 ([4][0][0][0] / 0x0004), 0 channels
  Program 800
    Stream #0:45[0x800](por): Audio: mp3 ([4][0][0][0] / 0x0004), 0 channels
  Program 804
    Stream #0:0[0x19d2]: Video: h264 ([27][0][0][0] / 0x001B), none, 90k tbr, 90k tbn, 180k tbc
    Stream #0:1[0x19d3](eng): Audio: mp3 ([4][0][0][0] / 0x0004), 0 channels
  Program 807
    Stream #0:4[0x1f71](por): Audio: mp3 ([4][0][0][0] / 0x0004), 0 channels
    Stream #0:5[0x1f70]: Video: h264 ([27][0][0][0] / 0x001B), none, 90k tbr, 90k tbn
  Program 808
    Stream #0:6[0x1f30]: Video: h264 ([27][0][0][0] / 0x001B), none, 90k tbr, 90k tbn
    Stream #0:7[0x1f31](eng): Audio: mp3 ([4][0][0][0] / 0x0004), 0 channels
  Program 809
    Stream #0:8[0x1f41](eng): Audio: mp3 ([4][0][0][0] / 0x0004), 0 channels
    Stream #0:9[0x1f40]: Video: h264 ([27][0][0][0] / 0x001B), none, 90k tbr, 90k tbn
  Program 815
    Stream #0:10[0x1f62](spa): Audio: mp3 ([4][0][0][0] / 0x0004), 0 channels
    Stream #0:11[0x1f60]: Video: h264 ([27][0][0][0] / 0x001B), none, 90k tbr, 90k tbn
    Stream #0:12[0x1f61](por): Audio: mp3 ([4][0][0][0] / 0x0004), 0 channels
  Program 816
    Stream #0:13[0x1f77](por): Audio: mp3 ([4][0][0][0] / 0x0004), 0 channels
    Stream #0:14[0x1f76]: Video: h264 ([27][0][0][0] / 0x001B), none, 90k tbr, 90k tbn
  Program 818
    Stream #0:15[0x19f3]: Video: h264 ([27][0][0][0] / 0x001B), none, 90k tbr, 90k tbn
    Stream #0:16[0x19f4](por): Audio: mp3 ([4][0][0][0] / 0x0004), 0 channels
  Program 822
    Stream #0:17[0x1f52]: Video: h264 ([27][0][0][0] / 0x001B), none, 90k tbr, 90k tbn
    Stream #0:18[0x1f53](por): Audio: mp3 ([4][0][0][0] / 0x0004), 0 channels
    Stream #0:19[0x1f54](eng): Audio: mp3 ([4][0][0][0] / 0x0004), 0 channels
    Stream #0:20[0x1f55](por): Subtitle: dvb_teletext ([6][0][0][0] / 0x0006)
  Program 947
    Stream #0:21[0x19a0]: Video: h264 ([27][0][0][0] / 0x001B), none, 90k tbr, 90k tbn
    Stream #0:22[0x19a1]: Audio: mp3 ([4][0][0][0] / 0x0004), 0 channels
  Program 1298
    Stream #0:23[0x1de4]: Video: h264 ([27][0][0][0] / 0x001B), none, 90k tbr, 90k tbn
    Stream #0:24[0x1de5](eng): Audio: mp3 ([4][0][0][0] / 0x0004), 0 channels
  Program 1305
    Stream #0:23[0x1de4]: Video: h264 ([27][0][0][0] / 0x001B), none, 90k tbr, 90k tbn
    Stream #0:24[0x1de5](eng): Audio: mp3 ([4][0][0][0] / 0x0004), 0 channels
  Program 1306
    Stream #0:25[0x1f84]: Video: h264 ([27][0][0][0] / 0x001B), none, 90k tbr, 90k tbn
    Stream #0:26[0x1f85](por): Audio: mp3 ([4][0][0][0] / 0x0004), 0 channels
  Program 1309
    Stream #0:27[0x1260]: Video: h264 ([27][0][0][0] / 0x001B), none, 90k tbr, 90k tbn
    Stream #0:28[0x1261](eng): Audio: mp3 ([4][0][0][0] / 0x0004), 0 channels
  Program 1338
    Stream #0:29[0x1d31](por): Audio: mp3 ([4][0][0][0] / 0x0004), 0 channels
    Stream #0:30[0x1d30]: Video: h264 ([27][0][0][0] / 0x001B), none, 90k tbr, 90k tbn
  Program 1340
    Stream #0:31[0x1f86]: Video: h264 ([27][0][0][0] / 0x001B), none, 90k tbr, 90k tbn
    Stream #0:32[0x1f87](por): Audio: mp3 ([4][0][0][0] / 0x0004), 0 channels
  Program 1341
    Stream #0:33[0x1f88]: Video: h264 ([27][0][0][0] / 0x001B), none, 90k tbr, 90k tbn
    Stream #0:34[0x1f89](eng): Audio: mp3 ([4][0][0][0] / 0x0004), 0 channels
  Program 1342
    Stream #0:33[0x1f88]: Video: h264 ([27][0][0][0] / 0x001B), none, 90k tbr, 90k tbn
    Stream #0:34[0x1f89](eng): Audio: mp3 ([4][0][0][0] / 0x0004), 0 channels
  Program 1343
    Stream #0:35[0x1f4a]: Video: h264 ([27][0][0][0] / 0x001B), none, 90k tbr, 90k tbn
    Stream #0:36[0x1f4b](eng): Audio: mp3 ([4][0][0][0] / 0x0004), 0 channels

 

 

Most video players will not play that ts file, because first video stream from the ts, is from Program 804.

Just a guess, but this can affect play too, the time it takes to open the channel.


Edited by azureit, 29 May 2020 - 09:56.


Re: Fail to filter program #6 azureit

  • Member
  • 5 posts

0
Neutral

Posted 29 May 2020 - 09:58

Diff log of play vs stream

wpz84HE.png



Re: Fail to filter program #7 azureit

  • Member
  • 5 posts

0
Neutral

Posted 11 August 2020 - 15:47

Is it possible, using the demux api, to filter the PMT table by table_id_extension? This would fix this problem.

I seen at a HOWTO-use-the-demux-api this example:

	/* set up a TDT filter, table id 0x70 */
	sctfilter.pid = pid;
	sctfilter.filter.filter[0] = 0x70;
	sctfilter.filter.mask[0]   = 0xff;
	sctfilter.flags = DMX_IMMEDIATE_START;

sctfilter.pid would be the PMT table pid and the sctfilter.filter.filter[0] would be the table_id_extension

Will it work this way?

 

Test file: drive.google.com/file/d/1VjogXZU65SGHsm5TcbvLxCR2LVUhtVe7/view?usp=sharing
yORXkGu.png
WanWizard littlesat Erik Slagter athoik




0 user(s) are reading this topic

0 members, 0 guests, 0 anonymous users