Open Azureit opened 2 years ago
I don't understand your point. MPV plays my transcoded streams fine and streamproxy does not have influence on the proces of generating the transport stream. The generated stream is NOT a subset of the original stream (like when streamer), it's a completely new stream with only one service and therefore only one PMT PID.
The reason mpv doesn't work that well (and other players too) is that they tend to cache a lot.
As you say the generated stream will have only one PMT PID, but if the transponder uses the same PMT PID for all services, all PMT's for all services will be streamed and mpv will pick the first PMT packet and cache it, if the PMT is not for the service being streamed it will fail to find audio/video.
Taken from module-dvbapi.c, Oscam filter PMT's to have only the right for that program serviceID like this:
void dvbapi_start_pmt_filter(int32_t demux_index, int32_t pmt_pid)
{
uchar filter[16], mask[16];
memset(filter, 0, 16);
memset(mask, 0, 16);
filter[0] = 0x02;
i2b_buf(2, demux[demux_index].program_number, filter + 1); // add srvid to filter since the pid can deliver pmt for multiple srvid
mask[0] = 0xFF;
mask[1] = 0xFF;
mask[2] = 0xFF;
Do you have access to Hispasat 30W, if you do try to play the open(not scrambled) service Kuriakos TV from transponder 124760000 it will not play with mpv, the only video player that will work is ffplay.
Taken from 12476000 you can see there's only one PMT PID 817 for all the services.
dvbsnoop -s pidscan
---------------------------------------------------------
Transponder PID-Scan...
---------------------------------------------------------
PID found: 0 (0x0000) [SECTION: Program Association Table (PAT)]
PID found: 1 (0x0001) [SECTION: Conditional Access Table (CAT)]
PID found: 16 (0x0010) [SECTION: Network Information Table (NIT) - actual network]
PID found: 17 (0x0011) [SECTION: Service Description Table (SDT) - other transport stream]
PID found: 18 (0x0012) [SECTION: Event Information Table (EIT) - other transport stream, schedule]
PID found: 20 (0x0014) [SECTION: Time Date Table (TDT)]
PID found: 33 (0x0021) [SECTION: User private]
PID found: 34 (0x0022) [SECTION: User private]
PID found: 82 (0x0052) [unknown]
PID found: 83 (0x0053) [unknown]
PID found: 84 (0x0054) [SECTION: DVB CA message section (EMM/ECM)]
PID found: 85 (0x0055) [SECTION: DVB CA message section (EMM/ECM)]
PID found: 119 (0x0077) [SECTION: DVB CA message section (EMM/ECM)]
PID found: 560 (0x0230) [SECTION: DVB CA message section (EMM/ECM)]
PID found: 561 (0x0231) [SECTION: DVB CA message section (EMM/ECM)]
PID found: 562 (0x0232) [SECTION: DVB CA message section (EMM/ECM)]
PID found: 564 (0x0234) [SECTION: DVB CA message section (EMM/ECM)]
PID found: 565 (0x0235) [SECTION: DVB CA message section (EMM/ECM)]
PID found: 566 (0x0236) [SECTION: DVB CA message section (EMM/ECM)]
PID found: 567 (0x0237) [SECTION: DVB CA message section (EMM/ECM)]
PID found: 568 (0x0238) [SECTION: DVB CA message section (EMM/ECM)]
PID found: 569 (0x0239) [SECTION: DVB CA message section (EMM/ECM)]
PID found: 576 (0x0240) [SECTION: DVB CA message section (EMM/ECM)]
PID found: 577 (0x0241) [SECTION: DVB CA message section (EMM/ECM)]
PID found: 578 (0x0242) [SECTION: DVB CA message section (EMM/ECM)]
PID found: 580 (0x0244) [SECTION: DVB CA message section (EMM/ECM)]
PID found: 581 (0x0245) [SECTION: DVB CA message section (EMM/ECM)]
PID found: 583 (0x0247) [SECTION: DVB CA message section (EMM/ECM)]
PID found: 584 (0x0248) [SECTION: DVB CA message section (EMM/ECM)]
PID found: 585 (0x0249) [SECTION: DVB CA message section (EMM/ECM)]
PID found: 586 (0x024a) [SECTION: DVB CA message section (EMM/ECM)]
PID found: 587 (0x024b) [SECTION: DVB CA message section (EMM/ECM)]
PID found: 588 (0x024c) [SECTION: DVB CA message section (EMM/ECM)]
PID found: 627 (0x0273) [SECTION: DVB CA message section (EMM/ECM)]
PID found: 628 (0x0274) [SECTION: DVB CA message section (EMM/ECM)]
PID found: 629 (0x0275) [SECTION: DVB CA message section (EMM/ECM)]
PID found: 630 (0x0276) [SECTION: DVB CA message section (EMM/ECM)]
PID found: 631 (0x0277) [SECTION: DVB CA message section (EMM/ECM)]
PID found: 632 (0x0278) [SECTION: DVB CA message section (EMM/ECM)]
PID found: 633 (0x0279) [SECTION: DVB CA message section (EMM/ECM)]
PID found: 817 (0x0331) [SECTION: Program Map Table (PMT)]
PID found: 1043 (0x0413) [SECTION: DVB CA message section (EMM/ECM)]
PID found: 1288 (0x0508) [SECTION: DVB CA message section (EMM/ECM)]
PID found: 1289 (0x0509) [SECTION: DVB CA message section (EMM/ECM)]
PID found: 1296 (0x0510) [SECTION: DVB CA message section (EMM/ECM)]
PID found: 1297 (0x0511) [SECTION: DVB CA message section (EMM/ECM)]
PID found: 1298 (0x0512) [SECTION: DVB CA message section (EMM/ECM)]
PID found: 1300 (0x0514) [SECTION: DVB CA message section (EMM/ECM)]
PID found: 1301 (0x0515) [SECTION: DVB CA message section (EMM/ECM)]
PID found: 1303 (0x0517) [SECTION: DVB CA message section (EMM/ECM)]
PID found: 1304 (0x0518) [SECTION: DVB CA message section (EMM/ECM)]
PID found: 1305 (0x0519) [SECTION: DVB CA message section (EMM/ECM)]
PID found: 1312 (0x0520) [SECTION: DVB CA message section (EMM/ECM)]
PID found: 1313 (0x0521) [SECTION: DVB CA message section (EMM/ECM)]
PID found: 1339 (0x053b) [SECTION: DVB CA message section (EMM/ECM)]
PID found: 1555 (0x0613) [SECTION: DVB CA message section (EMM/ECM)]
PID found: 1649 (0x0671) [SECTION: DVB CA message section (EMM/ECM)]
PID found: 4634 (0x121a) [PS/PES: ITU-T Rec. H.262 | ISO/IEC 13818-2 or ISO/IEC 11172-2 video stream]
PID found: 4635 (0x121b) [PS/PES: ISO/IEC 13818-3 or ISO/IEC 11172-3 audio stream]
PID found: 4642 (0x1222) [scrambled]
PID found: 4722 (0x1272) [scrambled]
PID found: 4770 (0x12a2) [scrambled]
PID found: 4802 (0x12c2) [scrambled]
PID found: 4817 (0x12d1) [scrambled]
PID found: 4818 (0x12d2) [scrambled]
PID found: 6408 (0x1908) [scrambled]
PID found: 6409 (0x1909) [scrambled]
PID found: 6410 (0x190a) [scrambled]
PID found: 6411 (0x190b) [scrambled]
PID found: 6418 (0x1912) [scrambled]
PID found: 6419 (0x1913) [scrambled]
PID found: 6420 (0x1914) [scrambled]
PID found: 6421 (0x1915) [scrambled]
PID found: 6422 (0x1916) [scrambled]
PID found: 6423 (0x1917) [scrambled]
PID found: 6424 (0x1918) [scrambled]
PID found: 6425 (0x1919) [scrambled]
PID found: 6435 (0x1923) [scrambled]
PID found: 6436 (0x1924) [scrambled]
PID found: 6437 (0x1925) [scrambled]
PID found: 6438 (0x1926) [scrambled]
PID found: 6439 (0x1927) [scrambled]
PID found: 6440 (0x1928) [scrambled]
PID found: 6453 (0x1935) [scrambled]
PID found: 6454 (0x1936) [scrambled]
PID found: 6455 (0x1937) [scrambled]
PID found: 6456 (0x1938) [scrambled]
PID found: 6469 (0x1945) [scrambled]
PID found: 6470 (0x1946) [scrambled]
PID found: 6471 (0x1947) [scrambled]
PID found: 6472 (0x1948) [scrambled]
PID found: 6483 (0x1953) [scrambled]
PID found: 6484 (0x1954) [scrambled]
PID found: 6488 (0x1958) [scrambled]
PID found: 6491 (0x195b) [PS/PES: private_stream_1]
PID found: 6498 (0x1962) [scrambled]
PID found: 6499 (0x1963) [scrambled]
PID found: 7448 (0x1d18) [scrambled]
PID found: 7449 (0x1d19) [scrambled]
PID found: 7450 (0x1d1a) [scrambled]
PID found: 7451 (0x1d1b) [scrambled]
PID found: 7452 (0x1d1c) [scrambled]
PID found: 7453 (0x1d1d) [scrambled]
PID found: 8024 (0x1f58) [scrambled]
PID found: 8025 (0x1f59) [scrambled]
PID found: 8026 (0x1f5a) [scrambled]
PID found: 8191 (0x1fff) [stuffing]
dvbsnoop -n 10 817
the output are 10 PMT packets from PID 817, each PMT packet is for a diferent serviceID/Program_number
------------------------------------------------------------
SECT-Packet: 00000001 PID: 817 (0x0331), Length: 33 (0x0021)
Time received: Fri 2022-09-23 16:44:41.575
------------------------------------------------------------
0000: 02 b0 1e 05 2d ed 00 00 f2 d2 f0 00 04 f2 d2 f0 ....-...........
0010: 0c 09 04 18 02 e2 77 0a 04 70 6f 72 00 85 07 8d ......w..por....
0020: 84 .
PID: 817 (0x0331)
Guess table from table id...
PMT-decoding....
Table_ID: 2 (0x02) [= Program Map Table (PMT)]
section_syntax_indicator: 1 (0x01)
(fixed '0'): 0 (0x00)
reserved_1: 3 (0x03)
Section_length: 30 (0x001e)
Program_number: 1325 (0x052d)
reserved_2: 3 (0x03)
Version_number: 22 (0x16)
current_next_indicator: 1 (0x01) [= valid now]
Section_number: 0 (0x00)
Last_Section_number: 0 (0x00)
reserved_3: 7 (0x07)
PCR PID: 4818 (0x12d2)
reserved_4: 15 (0x0f)
Program_info_length: 0 (0x0000)
Stream_type loop:
Stream_type: 4 (0x04) [= ISO/IEC 13818-3 Audio]
reserved_1: 7 (0x07)
Elementary_PID: 4818 (0x12d2)
reserved_2: 15 (0x0f)
ES_info_length: 12 (0x000c)
MPEG-DescriptorTag: 9 (0x09) [= CA_descriptor]
descriptor_length: 4 (0x04)
CA_system_ID: 6146 (0x1802) [= Kudelski SA]
reserved: 7 (0x07)
CA_PID: 631 (0x0277)
MPEG-DescriptorTag: 10 (0x0a) [= ISO_639_language_descriptor]
descriptor_length: 4 (0x04)
ISO639_language_code: por
Audio_type: 0 (0x00) [= undefined]
CRC: 2231864708 (0x85078d84)
==========================================================
------------------------------------------------------------
SECT-Packet: 00000002 PID: 817 (0x0331), Length: 33 (0x0021)
Time received: Fri 2022-09-23 16:44:41.577
------------------------------------------------------------
0000: 02 b0 1e 05 2e ed 00 00 ff ff f0 00 04 f2 e2 f0 ................
0010: 0c 09 04 18 02 e2 79 0a 04 70 6f 72 00 17 93 49 ......y..por...I
0020: f5 .
PID: 817 (0x0331)
Guess table from table id...
PMT-decoding....
Table_ID: 2 (0x02) [= Program Map Table (PMT)]
section_syntax_indicator: 1 (0x01)
(fixed '0'): 0 (0x00)
reserved_1: 3 (0x03)
Section_length: 30 (0x001e)
Program_number: 1326 (0x052e)
reserved_2: 3 (0x03)
Version_number: 22 (0x16)
current_next_indicator: 1 (0x01) [= valid now]
Section_number: 0 (0x00)
Last_Section_number: 0 (0x00)
reserved_3: 7 (0x07)
PCR PID: 8191 (0x1fff)
reserved_4: 15 (0x0f)
Program_info_length: 0 (0x0000)
Stream_type loop:
Stream_type: 4 (0x04) [= ISO/IEC 13818-3 Audio]
reserved_1: 7 (0x07)
Elementary_PID: 4834 (0x12e2)
reserved_2: 15 (0x0f)
ES_info_length: 12 (0x000c)
MPEG-DescriptorTag: 9 (0x09) [= CA_descriptor]
descriptor_length: 4 (0x04)
CA_system_ID: 6146 (0x1802) [= Kudelski SA]
reserved: 7 (0x07)
CA_PID: 633 (0x0279)
MPEG-DescriptorTag: 10 (0x0a) [= ISO_639_language_descriptor]
descriptor_length: 4 (0x04)
ISO639_language_code: por
Audio_type: 0 (0x00) [= undefined]
CRC: 395528693 (0x179349f5)
==========================================================
------------------------------------------------------------
SECT-Packet: 00000003 PID: 817 (0x0331), Length: 61 (0x003d)
Time received: Fri 2022-09-23 16:44:41.584
------------------------------------------------------------
0000: 02 b0 3a 12 ec ed 00 00 ff 58 f0 00 0f ff 59 f0 ..:......X....Y.
0010: 0c 09 04 18 02 e2 93 0a 04 70 6f 72 00 1b ff 58 .........por...X
0020: f0 06 09 04 18 02 e2 93 04 ff 5a f0 0c 09 04 18 ..........Z.....
0030: 02 e2 93 0a 04 65 6e 67 00 0c e4 38 91 .....eng...8.
PID: 817 (0x0331)
Guess table from table id...
PMT-decoding....
Table_ID: 2 (0x02) [= Program Map Table (PMT)]
section_syntax_indicator: 1 (0x01)
(fixed '0'): 0 (0x00)
reserved_1: 3 (0x03)
Section_length: 58 (0x003a)
Program_number: 4844 (0x12ec)
reserved_2: 3 (0x03)
Version_number: 22 (0x16)
current_next_indicator: 1 (0x01) [= valid now]
Section_number: 0 (0x00)
Last_Section_number: 0 (0x00)
reserved_3: 7 (0x07)
PCR PID: 8024 (0x1f58)
reserved_4: 15 (0x0f)
Program_info_length: 0 (0x0000)
Stream_type loop:
Stream_type: 15 (0x0f) [= ISO/IEC 13818-7 Audio with ADTS transport sytax]
reserved_1: 7 (0x07)
Elementary_PID: 8025 (0x1f59)
reserved_2: 15 (0x0f)
ES_info_length: 12 (0x000c)
MPEG-DescriptorTag: 9 (0x09) [= CA_descriptor]
descriptor_length: 4 (0x04)
CA_system_ID: 6146 (0x1802) [= Kudelski SA]
reserved: 7 (0x07)
CA_PID: 659 (0x0293)
MPEG-DescriptorTag: 10 (0x0a) [= ISO_639_language_descriptor]
descriptor_length: 4 (0x04)
ISO639_language_code: por
Audio_type: 0 (0x00) [= undefined]
Stream_type: 27 (0x1b) [= AVC video stream as defined in ITU-T Rec. H.264 | ISO/IEC 14496-10 Video]
reserved_1: 7 (0x07)
Elementary_PID: 8024 (0x1f58)
reserved_2: 15 (0x0f)
ES_info_length: 6 (0x0006)
MPEG-DescriptorTag: 9 (0x09) [= CA_descriptor]
descriptor_length: 4 (0x04)
CA_system_ID: 6146 (0x1802) [= Kudelski SA]
reserved: 7 (0x07)
CA_PID: 659 (0x0293)
Stream_type: 4 (0x04) [= ISO/IEC 13818-3 Audio]
reserved_1: 7 (0x07)
Elementary_PID: 8026 (0x1f5a)
reserved_2: 15 (0x0f)
ES_info_length: 12 (0x000c)
MPEG-DescriptorTag: 9 (0x09) [= CA_descriptor]
descriptor_length: 4 (0x04)
CA_system_ID: 6146 (0x1802) [= Kudelski SA]
reserved: 7 (0x07)
CA_PID: 659 (0x0293)
MPEG-DescriptorTag: 10 (0x0a) [= ISO_639_language_descriptor]
descriptor_length: 4 (0x04)
ISO639_language_code: eng
Audio_type: 0 (0x00) [= undefined]
CRC: 216283281 (0x0ce43891)
==========================================================
------------------------------------------------------------
SECT-Packet: 00000004 PID: 817 (0x0331), Length: 61 (0x003d)
Time received: Fri 2022-09-23 16:44:41.588
------------------------------------------------------------
0000: 02 b0 3a 12 ed ed 00 00 ff 58 f0 00 0f ff 59 f0 ..:......X....Y.
0010: 0c 09 04 18 02 e2 93 0a 04 70 6f 72 00 1b ff 58 .........por...X
0020: f0 06 09 04 18 02 e2 93 04 ff 5a f0 0c 09 04 18 ..........Z.....
0030: 02 e2 93 0a 04 65 6e 67 00 68 5b 42 0a .....eng.h[B.
PID: 817 (0x0331)
Guess table from table id...
PMT-decoding....
Table_ID: 2 (0x02) [= Program Map Table (PMT)]
section_syntax_indicator: 1 (0x01)
(fixed '0'): 0 (0x00)
reserved_1: 3 (0x03)
Section_length: 58 (0x003a)
Program_number: 4845 (0x12ed)
reserved_2: 3 (0x03)
Version_number: 22 (0x16)
current_next_indicator: 1 (0x01) [= valid now]
Section_number: 0 (0x00)
Last_Section_number: 0 (0x00)
reserved_3: 7 (0x07)
PCR PID: 8024 (0x1f58)
reserved_4: 15 (0x0f)
Program_info_length: 0 (0x0000)
Stream_type loop:
Stream_type: 15 (0x0f) [= ISO/IEC 13818-7 Audio with ADTS transport sytax]
reserved_1: 7 (0x07)
Elementary_PID: 8025 (0x1f59)
reserved_2: 15 (0x0f)
ES_info_length: 12 (0x000c)
MPEG-DescriptorTag: 9 (0x09) [= CA_descriptor]
descriptor_length: 4 (0x04)
CA_system_ID: 6146 (0x1802) [= Kudelski SA]
reserved: 7 (0x07)
CA_PID: 659 (0x0293)
MPEG-DescriptorTag: 10 (0x0a) [= ISO_639_language_descriptor]
descriptor_length: 4 (0x04)
ISO639_language_code: por
Audio_type: 0 (0x00) [= undefined]
Stream_type: 27 (0x1b) [= AVC video stream as defined in ITU-T Rec. H.264 | ISO/IEC 14496-10 Video]
reserved_1: 7 (0x07)
Elementary_PID: 8024 (0x1f58)
reserved_2: 15 (0x0f)
ES_info_length: 6 (0x0006)
MPEG-DescriptorTag: 9 (0x09) [= CA_descriptor]
descriptor_length: 4 (0x04)
CA_system_ID: 6146 (0x1802) [= Kudelski SA]
reserved: 7 (0x07)
CA_PID: 659 (0x0293)
Stream_type: 4 (0x04) [= ISO/IEC 13818-3 Audio]
reserved_1: 7 (0x07)
Elementary_PID: 8026 (0x1f5a)
reserved_2: 15 (0x0f)
ES_info_length: 12 (0x000c)
MPEG-DescriptorTag: 9 (0x09) [= CA_descriptor]
descriptor_length: 4 (0x04)
CA_system_ID: 6146 (0x1802) [= Kudelski SA]
reserved: 7 (0x07)
CA_PID: 659 (0x0293)
MPEG-DescriptorTag: 10 (0x0a) [= ISO_639_language_descriptor]
descriptor_length: 4 (0x04)
ISO639_language_code: eng
Audio_type: 0 (0x00) [= undefined]
CRC: 1750811146 (0x685b420a)
==========================================================
------------------------------------------------------------
SECT-Packet: 00000005 PID: 817 (0x0331), Length: 41 (0x0029)
Time received: Fri 2022-09-23 16:44:41.592
------------------------------------------------------------
0000: 02 b0 26 13 88 ed 00 00 f9 00 f0 09 09 07 18 14 ..&.............
0010: e5 00 02 52 11 04 f9 01 f0 06 0a 04 70 6f 72 00 ...R........por.
0020: 1b f9 00 f0 00 bd 66 d2 a9 ......f..
PID: 817 (0x0331)
Guess table from table id...
PMT-decoding....
Table_ID: 2 (0x02) [= Program Map Table (PMT)]
section_syntax_indicator: 1 (0x01)
(fixed '0'): 0 (0x00)
reserved_1: 3 (0x03)
Section_length: 38 (0x0026)
Program_number: 5000 (0x1388)
reserved_2: 3 (0x03)
Version_number: 22 (0x16)
current_next_indicator: 1 (0x01) [= valid now]
Section_number: 0 (0x00)
Last_Section_number: 0 (0x00)
reserved_3: 7 (0x07)
PCR PID: 6400 (0x1900)
reserved_4: 15 (0x0f)
Program_info_length: 9 (0x0009)
MPEG-DescriptorTag: 9 (0x09) [= CA_descriptor]
descriptor_length: 7 (0x07)
CA_system_ID: 6164 (0x1814) [= Kudelski SA]
reserved: 7 (0x07)
CA_PID: 1280 (0x0500)
Private Data:
0000: 02 52 11 .R.
Stream_type loop:
Stream_type: 4 (0x04) [= ISO/IEC 13818-3 Audio]
reserved_1: 7 (0x07)
Elementary_PID: 6401 (0x1901)
reserved_2: 15 (0x0f)
ES_info_length: 6 (0x0006)
MPEG-DescriptorTag: 10 (0x0a) [= ISO_639_language_descriptor]
descriptor_length: 4 (0x04)
ISO639_language_code: por
Audio_type: 0 (0x00) [= undefined]
Stream_type: 27 (0x1b) [= AVC video stream as defined in ITU-T Rec. H.264 | ISO/IEC 14496-10 Video]
reserved_1: 7 (0x07)
Elementary_PID: 6400 (0x1900)
reserved_2: 15 (0x0f)
ES_info_length: 0 (0x0000)
CRC: 3177632425 (0xbd66d2a9)
==========================================================
------------------------------------------------------------
SECT-Packet: 00000006 PID: 817 (0x0331), Length: 41 (0x0029)
Time received: Fri 2022-09-23 16:44:41.598
------------------------------------------------------------
0000: 02 b0 26 13 89 ed 00 00 f9 02 f0 09 09 07 18 14 ..&.............
0010: e5 01 02 52 11 04 f9 03 f0 06 0a 04 70 6f 72 00 ...R........por.
0020: 1b f9 02 f0 00 ac 98 d0 5b ........[
PID: 817 (0x0331)
Guess table from table id...
PMT-decoding....
Table_ID: 2 (0x02) [= Program Map Table (PMT)]
section_syntax_indicator: 1 (0x01)
(fixed '0'): 0 (0x00)
reserved_1: 3 (0x03)
Section_length: 38 (0x0026)
Program_number: 5001 (0x1389)
reserved_2: 3 (0x03)
Version_number: 22 (0x16)
current_next_indicator: 1 (0x01) [= valid now]
Section_number: 0 (0x00)
Last_Section_number: 0 (0x00)
reserved_3: 7 (0x07)
PCR PID: 6402 (0x1902)
reserved_4: 15 (0x0f)
Program_info_length: 9 (0x0009)
MPEG-DescriptorTag: 9 (0x09) [= CA_descriptor]
descriptor_length: 7 (0x07)
CA_system_ID: 6164 (0x1814) [= Kudelski SA]
reserved: 7 (0x07)
CA_PID: 1281 (0x0501)
Private Data:
0000: 02 52 11 .R.
Stream_type loop:
Stream_type: 4 (0x04) [= ISO/IEC 13818-3 Audio]
reserved_1: 7 (0x07)
Elementary_PID: 6403 (0x1903)
reserved_2: 15 (0x0f)
ES_info_length: 6 (0x0006)
MPEG-DescriptorTag: 10 (0x0a) [= ISO_639_language_descriptor]
descriptor_length: 4 (0x04)
ISO639_language_code: por
Audio_type: 0 (0x00) [= undefined]
Stream_type: 27 (0x1b) [= AVC video stream as defined in ITU-T Rec. H.264 | ISO/IEC 14496-10 Video]
reserved_1: 7 (0x07)
Elementary_PID: 6402 (0x1902)
reserved_2: 15 (0x0f)
ES_info_length: 0 (0x0000)
CRC: 2895695963 (0xac98d05b)
==========================================================
------------------------------------------------------------
SECT-Packet: 00000007 PID: 817 (0x0331), Length: 41 (0x0029)
Time received: Fri 2022-09-23 16:44:41.604
------------------------------------------------------------
0000: 02 b0 26 13 8a ed 00 00 f9 04 f0 09 09 07 18 14 ..&.............
0010: e5 02 02 52 11 04 f9 05 f0 06 0a 04 65 6e 67 00 ...R........eng.
0020: 1b f9 04 f0 00 7a 86 17 53 .....z..S
PID: 817 (0x0331)
Guess table from table id...
PMT-decoding....
Table_ID: 2 (0x02) [= Program Map Table (PMT)]
section_syntax_indicator: 1 (0x01)
(fixed '0'): 0 (0x00)
reserved_1: 3 (0x03)
Section_length: 38 (0x0026)
Program_number: 5002 (0x138a)
reserved_2: 3 (0x03)
Version_number: 22 (0x16)
current_next_indicator: 1 (0x01) [= valid now]
Section_number: 0 (0x00)
Last_Section_number: 0 (0x00)
reserved_3: 7 (0x07)
PCR PID: 6404 (0x1904)
reserved_4: 15 (0x0f)
Program_info_length: 9 (0x0009)
MPEG-DescriptorTag: 9 (0x09) [= CA_descriptor]
descriptor_length: 7 (0x07)
CA_system_ID: 6164 (0x1814) [= Kudelski SA]
reserved: 7 (0x07)
CA_PID: 1282 (0x0502)
Private Data:
0000: 02 52 11 .R.
Stream_type loop:
Stream_type: 4 (0x04) [= ISO/IEC 13818-3 Audio]
reserved_1: 7 (0x07)
Elementary_PID: 6405 (0x1905)
reserved_2: 15 (0x0f)
ES_info_length: 6 (0x0006)
MPEG-DescriptorTag: 10 (0x0a) [= ISO_639_language_descriptor]
descriptor_length: 4 (0x04)
ISO639_language_code: eng
Audio_type: 0 (0x00) [= undefined]
Stream_type: 27 (0x1b) [= AVC video stream as defined in ITU-T Rec. H.264 | ISO/IEC 14496-10 Video]
reserved_1: 7 (0x07)
Elementary_PID: 6404 (0x1904)
reserved_2: 15 (0x0f)
ES_info_length: 0 (0x0000)
CRC: 2055608147 (0x7a861753)
==========================================================
------------------------------------------------------------
SECT-Packet: 00000008 PID: 817 (0x0331), Length: 41 (0x0029)
Time received: Fri 2022-09-23 16:44:41.607
------------------------------------------------------------
0000: 02 b0 26 13 8c ed 00 00 f9 08 f0 09 09 07 18 14 ..&.............
0010: e5 04 02 52 11 1b f9 08 f0 00 04 f9 09 f0 06 0a ...R............
0020: 04 70 6f 72 00 05 54 e4 28 .por..T.(
PID: 817 (0x0331)
Guess table from table id...
PMT-decoding....
Table_ID: 2 (0x02) [= Program Map Table (PMT)]
section_syntax_indicator: 1 (0x01)
(fixed '0'): 0 (0x00)
reserved_1: 3 (0x03)
Section_length: 38 (0x0026)
Program_number: 5004 (0x138c)
reserved_2: 3 (0x03)
Version_number: 22 (0x16)
current_next_indicator: 1 (0x01) [= valid now]
Section_number: 0 (0x00)
Last_Section_number: 0 (0x00)
reserved_3: 7 (0x07)
PCR PID: 6408 (0x1908)
reserved_4: 15 (0x0f)
Program_info_length: 9 (0x0009)
MPEG-DescriptorTag: 9 (0x09) [= CA_descriptor]
descriptor_length: 7 (0x07)
CA_system_ID: 6164 (0x1814) [= Kudelski SA]
reserved: 7 (0x07)
CA_PID: 1284 (0x0504)
Private Data:
0000: 02 52 11 .R.
Stream_type loop:
Stream_type: 27 (0x1b) [= AVC video stream as defined in ITU-T Rec. H.264 | ISO/IEC 14496-10 Video]
reserved_1: 7 (0x07)
Elementary_PID: 6408 (0x1908)
reserved_2: 15 (0x0f)
ES_info_length: 0 (0x0000)
Stream_type: 4 (0x04) [= ISO/IEC 13818-3 Audio]
reserved_1: 7 (0x07)
Elementary_PID: 6409 (0x1909)
reserved_2: 15 (0x0f)
ES_info_length: 6 (0x0006)
MPEG-DescriptorTag: 10 (0x0a) [= ISO_639_language_descriptor]
descriptor_length: 4 (0x04)
ISO639_language_code: por
Audio_type: 0 (0x00) [= undefined]
CRC: 89449512 (0x0554e428)
==========================================================
------------------------------------------------------------
SECT-Packet: 00000009 PID: 817 (0x0331), Length: 41 (0x0029)
Time received: Fri 2022-09-23 16:44:41.613
------------------------------------------------------------
0000: 02 b0 26 13 8d ed 00 00 f9 0a f0 09 09 07 18 14 ..&.............
0010: e5 05 02 52 11 04 f9 0b f0 06 0a 04 70 6f 72 00 ...R........por.
0020: 1b f9 0a f0 00 eb 60 db 93 ......`..
PID: 817 (0x0331)
Guess table from table id...
PMT-decoding....
Table_ID: 2 (0x02) [= Program Map Table (PMT)]
section_syntax_indicator: 1 (0x01)
(fixed '0'): 0 (0x00)
reserved_1: 3 (0x03)
Section_length: 38 (0x0026)
Program_number: 5005 (0x138d)
reserved_2: 3 (0x03)
Version_number: 22 (0x16)
current_next_indicator: 1 (0x01) [= valid now]
Section_number: 0 (0x00)
Last_Section_number: 0 (0x00)
reserved_3: 7 (0x07)
PCR PID: 6410 (0x190a)
reserved_4: 15 (0x0f)
Program_info_length: 9 (0x0009)
MPEG-DescriptorTag: 9 (0x09) [= CA_descriptor]
descriptor_length: 7 (0x07)
CA_system_ID: 6164 (0x1814) [= Kudelski SA]
reserved: 7 (0x07)
CA_PID: 1285 (0x0505)
Private Data:
0000: 02 52 11 .R.
Stream_type loop:
Stream_type: 4 (0x04) [= ISO/IEC 13818-3 Audio]
reserved_1: 7 (0x07)
Elementary_PID: 6411 (0x190b)
reserved_2: 15 (0x0f)
ES_info_length: 6 (0x0006)
MPEG-DescriptorTag: 10 (0x0a) [= ISO_639_language_descriptor]
descriptor_length: 4 (0x04)
ISO639_language_code: por
Audio_type: 0 (0x00) [= undefined]
Stream_type: 27 (0x1b) [= AVC video stream as defined in ITU-T Rec. H.264 | ISO/IEC 14496-10 Video]
reserved_1: 7 (0x07)
Elementary_PID: 6410 (0x190a)
reserved_2: 15 (0x0f)
ES_info_length: 0 (0x0000)
CRC: 3948993427 (0xeb60db93)
==========================================================
------------------------------------------------------------
SECT-Packet: 00000010 PID: 817 (0x0331), Length: 41 (0x0029)
Time received: Fri 2022-09-23 16:44:41.618
------------------------------------------------------------
0000: 02 b0 26 13 8e ed 00 00 f9 12 f0 09 09 07 18 14 ..&.............
0010: e5 06 02 52 11 04 f9 13 f0 06 0a 04 65 6e 67 00 ...R........eng.
0020: 1b f9 12 f0 00 ff ec 3b e8 .......;.
PID: 817 (0x0331)
Guess table from table id...
PMT-decoding....
Table_ID: 2 (0x02) [= Program Map Table (PMT)]
section_syntax_indicator: 1 (0x01)
(fixed '0'): 0 (0x00)
reserved_1: 3 (0x03)
Section_length: 38 (0x0026)
Program_number: 5006 (0x138e)
reserved_2: 3 (0x03)
Version_number: 22 (0x16)
current_next_indicator: 1 (0x01) [= valid now]
Section_number: 0 (0x00)
Last_Section_number: 0 (0x00)
reserved_3: 7 (0x07)
PCR PID: 6418 (0x1912)
reserved_4: 15 (0x0f)
Program_info_length: 9 (0x0009)
MPEG-DescriptorTag: 9 (0x09) [= CA_descriptor]
descriptor_length: 7 (0x07)
CA_system_ID: 6164 (0x1814) [= Kudelski SA]
reserved: 7 (0x07)
CA_PID: 1286 (0x0506)
Private Data:
0000: 02 52 11 .R.
Stream_type loop:
Stream_type: 4 (0x04) [= ISO/IEC 13818-3 Audio]
reserved_1: 7 (0x07)
Elementary_PID: 6419 (0x1913)
reserved_2: 15 (0x0f)
ES_info_length: 6 (0x0006)
MPEG-DescriptorTag: 10 (0x0a) [= ISO_639_language_descriptor]
descriptor_length: 4 (0x04)
ISO639_language_code: eng
Audio_type: 0 (0x00) [= undefined]
Stream_type: 27 (0x1b) [= AVC video stream as defined in ITU-T Rec. H.264 | ISO/IEC 14496-10 Video]
reserved_1: 7 (0x07)
Elementary_PID: 6418 (0x1912)
reserved_2: 15 (0x0f)
ES_info_length: 0 (0x0000)
CRC: 4293671912 (0xffec3be8)
==========================================================
Please help, if I knew how to fix this, I would already done it.
Before I continue, is this about streaming or is it about transcoding. The latter one is the core business of streamproxy (despite it's name). The former (streaming) is just duplication of enigma functionality, so if something is wrong with streaming, it's already broken there.
It's streaming, can you help solve the enigma functionality.
No it's a hardware thing. Enigma does not generate the PMT's. Recording and streaming is performed by setting a filter on the demuxer (which receives the full transport stream of the transponder from the tuner). The pids of unwanted streams are simply discarded, that's all what happens. The result is a PAT and PMT that include services that are not included in the stream. This is normal behaviour for recording and streaming on settopboxes (but only actually to be seen on enigma, because otherwise the recordings are not freely accessible).
AFAIK mpv actually doesn't use the information in the PMT and probes for audio and video pids itself. As the pids for audio, video, text, pcr etc. have all assigned ranges, mpv can determine the use of each elementary stream from the pid and then do a probe for the codec used.
Thanks, you have been very helpful.
No it's a hardware thing. Enigma does not generate the PMT's. Recording and streaming is performed by setting a filter on the demuxer (which receives the full transport stream of the transponder from the tuner).
The hardware is PID filtered by Enigma with DMX_SET_PES_FILTER, but to solve the PMT problem the PMT PID would need an advanced filter like DMX_SET_FILTER can do. If possible use two demux filters, DMX_SET_FILTER would filter PMT PID and the rest of the PIDs would be filtered using DMX_SET_PES_FILTER. Can this work? and join the output of the two demux filters is possible?
AFAIK mpv actually doesn't use the information in the PMT and probes for audio and video pids itself. As the pids for audio, video, text, pcr etc. have all assigned ranges, mpv can determine the use of each elementary stream from the pid and then do a probe for the codec used.
mpv(and most video players) will fail terribly to identify the working audio/video, this is the output:
[lavf] Found 'mpegts' at score=50 size=2048.
[osd/libass] Using font provider fontconfig
[osd/libass] Done.
[ffmpeg] NULL: SPS unavailable in decode_picture_timing
[ffmpeg] NULL: non-existing PPS 0 referenced
[ffmpeg/video] h264: SPS unavailable in decode_picture_timing
[ffmpeg/video] h264: non-existing PPS 0 referenced
[ffmpeg/video] h264: decode_slice_header error
[ffmpeg/video] h264: no frame!
[ffmpeg/video] h264: SPS unavailable in decode_picture_timing
[ffmpeg/video] h264: non-existing PPS 0 referenced
[ffmpeg/video] h264: SPS unavailable in decode_picture_timing
[ffmpeg/video] h264: non-existing PPS 0 referenced
[ffmpeg/video] h264: decode_slice_header error
[ffmpeg/video] h264: no frame!
[ffmpeg/video] h264: SPS unavailable in decode_picture_timing
[ffmpeg/video] h264: non-existing PPS 0 referenced
[ffmpeg/video] h264: SPS unavailable in decode_picture_timing
[ffmpeg/video] h264: non-existing PPS 0 referenced
[ffmpeg/video] h264: decode_slice_header error
[ffmpeg/video] h264: no frame!
[ffmpeg/video] h264: SPS unavailable in decode_picture_timing
[ffmpeg/video] h264: non-existing PPS 0 referenced
[ffmpeg/video] h264: SPS unavailable in decode_picture_timing
[ffmpeg/video] h264: non-existing PPS 0 referenced
[ffmpeg/video] h264: decode_slice_header error
[ffmpeg/video] h264: no frame!
[ffmpeg/video] h264: SPS unavailable in decode_picture_timing
[ffmpeg/video] h264: non-existing PPS 0 referenced
[ffmpeg/video] h264: SPS unavailable in decode_picture_timing
[ffmpeg/video] h264: non-existing PPS 0 referenced
[ffmpeg/video] h264: decode_slice_header error
[ffmpeg/video] h264: no frame!
[ffmpeg/video] h264: SPS unavailable in decode_picture_timing
[ffmpeg/video] h264: non-existing PPS 0 referenced
[ffmpeg/video] h264: SPS unavailable in decode_picture_timing
[ffmpeg/video] h264: non-existing PPS 0 referenced
[ffmpeg/video] h264: decode_slice_header error
[ffmpeg/video] h264: no frame!
[ffmpeg/video] h264: SPS unavailable in decode_picture_timing
[ffmpeg/video] h264: non-existing PPS 0 referenced
[ffmpeg/video] h264: SPS unavailable in decode_picture_timing
[ffmpeg/video] h264: non-existing PPS 0 referenced
[ffmpeg/video] h264: decode_slice_header error
[ffmpeg/video] h264: no frame!
[ffmpeg/video] h264: SPS unavailable in decode_picture_timing
[ffmpeg/video] h264: non-existing PPS 0 referenced
[ffmpeg/video] h264: SPS unavailable in decode_picture_timing
[ffmpeg/video] h264: non-existing PPS 0 referenced
[ffmpeg/video] h264: decode_slice_header error
[ffmpeg/video] h264: no frame!
[ffmpeg/video] h264: SPS unavailable in decode_picture_timing
[ffmpeg/video] h264: non-existing PPS 0 referenced
[ffmpeg/video] h264: SPS unavailable in decode_picture_timing
[ffmpeg/video] h264: non-existing PPS 0 referenced
[ffmpeg/video] h264: decode_slice_header error
[ffmpeg/video] h264: no frame!
[ffmpeg/video] h264: SPS unavailable in decode_picture_timing
[ffmpeg/video] h264: non-existing PPS 0 referenced
[ffmpeg/video] h264: SPS unavailable in decode_picture_timing
[ffmpeg/video] h264: non-existing PPS 0 referenced
[ffmpeg/video] h264: decode_slice_header error
[ffmpeg/video] h264: no frame!
[ffmpeg/video] h264: SPS unavailable in decode_picture_timing
[ffmpeg/video] h264: non-existing PPS 0 referenced
[ffmpeg/video] h264: SPS unavailable in decode_picture_timing
[ffmpeg/video] h264: non-existing PPS 0 referenced
[ffmpeg/video] h264: decode_slice_header error
[ffmpeg/video] h264: no frame!
[ffmpeg/video] h264: SPS unavailable in decode_picture_timing
[ffmpeg/video] h264: non-existing PPS 0 referenced
[ffmpeg/video] h264: SPS unavailable in decode_picture_timing
[ffmpeg/video] h264: non-existing PPS 0 referenced
[ffmpeg/video] h264: decode_slice_header error
[ffmpeg/video] h264: no frame!
[ffmpeg/video] h264: SPS unavailable in decode_picture_timing
[ffmpeg/video] h264: non-existing PPS 0 referenced
[ffmpeg/video] h264: SPS unavailable in decode_picture_timing
[ffmpeg/video] h264: non-existing PPS 0 referenced
[ffmpeg/video] h264: decode_slice_header error
[ffmpeg/video] h264: no frame!
[ffmpeg/video] h264: SPS unavailable in decode_picture_timing
[ffmpeg/video] h264: non-existing PPS 0 referenced
[ffmpeg/video] h264: SPS unavailable in decode_picture_timing
[ffmpeg/video] h264: non-existing PPS 0 referenced
[ffmpeg/video] h264: decode_slice_header error
[ffmpeg/video] h264: no frame!
[ffmpeg/video] h264: SPS unavailable in decode_picture_timing
[ffmpeg/video] h264: non-existing PPS 0 referenced
[ffmpeg/video] h264: SPS unavailable in decode_picture_timing
[ffmpeg/video] h264: non-existing PPS 0 referenced
[ffmpeg/video] h264: decode_slice_header error
[ffmpeg/video] h264: no frame!
[ffmpeg/video] h264: SPS unavailable in decode_picture_timing
[ffmpeg/video] h264: non-existing PPS 0 referenced
[ffmpeg/video] h264: SPS unavailable in decode_picture_timing
[ffmpeg/video] h264: non-existing PPS 0 referenced
[ffmpeg/video] h264: decode_slice_header error
[ffmpeg/video] h264: no frame!
[ffmpeg/video] h264: SPS unavailable in decode_picture_timing
[ffmpeg/video] h264: non-existing PPS 0 referenced
[ffmpeg/video] h264: SPS unavailable in decode_picture_timing
[ffmpeg/video] h264: non-existing PPS 0 referenced
[ffmpeg/video] h264: decode_slice_header error
[ffmpeg/video] h264: no frame!
[ffmpeg/video] h264: SPS unavailable in decode_picture_timing
[ffmpeg/video] h264: non-existing PPS 0 referenced
[ffmpeg/video] h264: SPS unavailable in decode_picture_timing
[ffmpeg/video] h264: non-existing PPS 0 referenced
[ffmpeg/video] h264: decode_slice_header error
[ffmpeg/video] h264: no frame!
[ffmpeg/video] h264: SPS unavailable in decode_picture_timing
[ffmpeg/video] h264: non-existing PPS 0 referenced
[ffmpeg/video] h264: SPS unavailable in decode_picture_timing
[ffmpeg/video] h264: non-existing PPS 0 referenced
[ffmpeg/video] h264: decode_slice_header error
[ffmpeg/video] h264: no frame!
[ffmpeg/video] h264: SPS unavailable in decode_picture_timing
[ffmpeg/video] h264: non-existing PPS 0 referenced
[ffmpeg/video] h264: SPS unavailable in decode_picture_timing
[ffmpeg/video] h264: non-existing PPS 0 referenced
[ffmpeg/video] h264: decode_slice_header error
[ffmpeg/video] h264: no frame!
[ffmpeg/video] h264: SPS unavailable in decode_picture_timing
[ffmpeg/video] h264: non-existing PPS 0 referenced
[ffmpeg/video] h264: SPS unavailable in decode_picture_timing
[ffmpeg/video] h264: non-existing PPS 0 referenced
[ffmpeg/video] h264: decode_slice_header error
[ffmpeg/video] h264: no frame!
[ffmpeg/video] h264: SPS unavailable in decode_picture_timing
[ffmpeg/video] h264: non-existing PPS 0 referenced
[ffmpeg/video] h264: SPS unavailable in decode_picture_timing
[ffmpeg/video] h264: non-existing PPS 0 referenced
[ffmpeg/video] h264: decode_slice_header error
[ffmpeg/video] h264: no frame!
[ffmpeg/video] h264: SPS unavailable in decode_picture_timing
[ffmpeg/video] h264: non-existing PPS 0 referenced
[ffmpeg/video] h264: SPS unavailable in decode_picture_timing
[ffmpeg/video] h264: non-existing PPS 0 referenced
[ffmpeg/video] h264: decode_slice_header error
[ffmpeg/video] h264: no frame!
[ffmpeg/video] h264: SPS unavailable in decode_picture_timing
[ffmpeg/video] h264: non-existing PPS 0 referenced
[ffmpeg/video] h264: SPS unavailable in decode_picture_timing
[ffmpeg/video] h264: non-existing PPS 0 referenced
[ffmpeg/video] h264: decode_slice_header error
[ffmpeg/video] h264: no frame!
[cplayer] Set property: shared-script-properties -> 1
[ffmpeg/video] h264: mmco: unref short failure
[ffmpeg/video] h264: mmco: unref short failure
[ffmpeg/video] h264: mmco: unref short failure
[ffmpeg/demuxer] mpegts: start time for stream 0 is not set in estimate_timings_from_pts
[ffmpeg/demuxer] mpegts: start time for stream 1 is not set in estimate_timings_from_pts
[ffmpeg/demuxer] mpegts: start time for stream 6 is not set in estimate_timings_from_pts
[ffmpeg/demuxer] mpegts: start time for stream 7 is not set in estimate_timings_from_pts
[ffmpeg/demuxer] mpegts: start time for stream 8 is not set in estimate_timings_from_pts
[ffmpeg/demuxer] mpegts: start time for stream 9 is not set in estimate_timings_from_pts
[ffmpeg/demuxer] mpegts: start time for stream 10 is not set in estimate_timings_from_pts
[ffmpeg/demuxer] mpegts: start time for stream 11 is not set in estimate_timings_from_pts
[ffmpeg/demuxer] mpegts: start time for stream 12 is not set in estimate_timings_from_pts
[ffmpeg/demuxer] mpegts: start time for stream 13 is not set in estimate_timings_from_pts
[ffmpeg/demuxer] mpegts: start time for stream 14 is not set in estimate_timings_from_pts
[ffmpeg/demuxer] mpegts: start time for stream 15 is not set in estimate_timings_from_pts
[ffmpeg/demuxer] mpegts: start time for stream 16 is not set in estimate_timings_from_pts
[ffmpeg/demuxer] mpegts: start time for stream 17 is not set in estimate_timings_from_pts
[ffmpeg/demuxer] mpegts: start time for stream 18 is not set in estimate_timings_from_pts
[ffmpeg/demuxer] mpegts: start time for stream 19 is not set in estimate_timings_from_pts
[ffmpeg/demuxer] mpegts: start time for stream 20 is not set in estimate_timings_from_pts
[ffmpeg/demuxer] mpegts: start time for stream 21 is not set in estimate_timings_from_pts
[ffmpeg/demuxer] mpegts: start time for stream 22 is not set in estimate_timings_from_pts
[ffmpeg/demuxer] mpegts: start time for stream 23 is not set in estimate_timings_from_pts
[ffmpeg/demuxer] mpegts: start time for stream 24 is not set in estimate_timings_from_pts
[ffmpeg/demuxer] mpegts: start time for stream 25 is not set in estimate_timings_from_pts
[ffmpeg/demuxer] mpegts: start time for stream 26 is not set in estimate_timings_from_pts
[ffmpeg/demuxer] mpegts: start time for stream 27 is not set in estimate_timings_from_pts
[ffmpeg/demuxer] mpegts: start time for stream 28 is not set in estimate_timings_from_pts
[ffmpeg/demuxer] mpegts: start time for stream 29 is not set in estimate_timings_from_pts
[ffmpeg/demuxer] mpegts: start time for stream 30 is not set in estimate_timings_from_pts
[ffmpeg/demuxer] mpegts: start time for stream 31 is not set in estimate_timings_from_pts
[ffmpeg/demuxer] mpegts: start time for stream 32 is not set in estimate_timings_from_pts
[ffmpeg/demuxer] mpegts: start time for stream 33 is not set in estimate_timings_from_pts
[ffmpeg/demuxer] mpegts: start time for stream 34 is not set in estimate_timings_from_pts
[ffmpeg/demuxer] mpegts: start time for stream 35 is not set in estimate_timings_from_pts
[ffmpeg/demuxer] mpegts: start time for stream 36 is not set in estimate_timings_from_pts
[ffmpeg/demuxer] mpegts: start time for stream 37 is not set in estimate_timings_from_pts
[ffmpeg/demuxer] mpegts: start time for stream 38 is not set in estimate_timings_from_pts
[ffmpeg/demuxer] mpegts: start time for stream 39 is not set in estimate_timings_from_pts
[ffmpeg/demuxer] mpegts: start time for stream 40 is not set in estimate_timings_from_pts
[ffmpeg/demuxer] mpegts: start time for stream 41 is not set in estimate_timings_from_pts
[ffmpeg/demuxer] mpegts: start time for stream 42 is not set in estimate_timings_from_pts
[ffmpeg/demuxer] mpegts: start time for stream 43 is not set in estimate_timings_from_pts
[ffmpeg/demuxer] mpegts: start time for stream 44 is not set in estimate_timings_from_pts
[ffmpeg/demuxer] mpegts: start time for stream 45 is not set in estimate_timings_from_pts
[ffmpeg/demuxer] mpegts: start time for stream 46 is not set in estimate_timings_from_pts
[ffmpeg/demuxer] mpegts: start time for stream 47 is not set in estimate_timings_from_pts
[ffmpeg/demuxer] mpegts: start time for stream 48 is not set in estimate_timings_from_pts
[ffmpeg/demuxer] mpegts: start time for stream 49 is not set in estimate_timings_from_pts
[ffmpeg/demuxer] mpegts: start time for stream 50 is not set in estimate_timings_from_pts
[ffmpeg/demuxer] mpegts: start time for stream 51 is not set in estimate_timings_from_pts
[ffmpeg/demuxer] mpegts: start time for stream 52 is not set in estimate_timings_from_pts
[ffmpeg/demuxer] mpegts: start time for stream 53 is not set in estimate_timings_from_pts
[ffmpeg/demuxer] mpegts: start time for stream 54 is not set in estimate_timings_from_pts
[ffmpeg/demuxer] mpegts: start time for stream 55 is not set in estimate_timings_from_pts
[ffmpeg/demuxer] mpegts: start time for stream 56 is not set in estimate_timings_from_pts
[ffmpeg/demuxer] mpegts: start time for stream 57 is not set in estimate_timings_from_pts
[ffmpeg/demuxer] mpegts: start time for stream 58 is not set in estimate_timings_from_pts
[ffmpeg/demuxer] mpegts: start time for stream 59 is not set in estimate_timings_from_pts
[ffmpeg/demuxer] mpegts: start time for stream 60 is not set in estimate_timings_from_pts
[ffmpeg/demuxer] mpegts: start time for stream 61 is not set in estimate_timings_from_pts
[ffmpeg/demuxer] mpegts: start time for stream 62 is not set in estimate_timings_from_pts
[ffmpeg/demuxer] mpegts: start time for stream 63 is not set in estimate_timings_from_pts
[ffmpeg/demuxer] mpegts: start time for stream 64 is not set in estimate_timings_from_pts
[ffmpeg/demuxer] mpegts: start time for stream 65 is not set in estimate_timings_from_pts
[file] stream level seek from 4653056 to 11425928
[file] stream level seek from 11675928 to 11175928
[file] stream level seek from 11675928 to 0
[ffmpeg/demuxer] mpegts: Could not find codec parameters for stream 0 (Video: h264 ([27][0][0][0] / 0x001B), none): unspecified size
[ffmpeg/demuxer] Consider increasing the value for the 'analyzeduration' and 'probesize' options
[ffmpeg/demuxer] mpegts: Could not find codec parameters for stream 1 (Audio: mp3 ([4][0][0][0] / 0x0004), 0 channels): unspecified frame size
[ffmpeg/demuxer] Consider increasing the value for the 'analyzeduration' and 'probesize' options
[ffmpeg/demuxer] mpegts: Could not find codec parameters for stream 4 (Unknown: none ([5][0][0][0] / 0x0005)): unknown codec
[ffmpeg/demuxer] Consider increasing the value for the 'analyzeduration' and 'probesize' options
[ffmpeg/demuxer] mpegts: Could not find codec parameters for stream 5 (Unknown: none ([5][0][0][0] / 0x0005)): unknown codec
[ffmpeg/demuxer] Consider increasing the value for the 'analyzeduration' and 'probesize' options
[ffmpeg/demuxer] mpegts: Could not find codec parameters for stream 6 (Audio: mp3 ([4][0][0][0] / 0x0004), 0 channels): unspecified frame size
[ffmpeg/demuxer] Consider increasing the value for the 'analyzeduration' and 'probesize' options
[ffmpeg/demuxer] mpegts: Could not find codec parameters for stream 7 (Video: h264 ([27][0][0][0] / 0x001B), none): unspecified size
[ffmpeg/demuxer] Consider increasing the value for the 'analyzeduration' and 'probesize' options
[ffmpeg/demuxer] mpegts: Could not find codec parameters for stream 8 (Video: h264 ([27][0][0][0] / 0x001B), none): unspecified size
[ffmpeg/demuxer] Consider increasing the value for the 'analyzeduration' and 'probesize' options
[ffmpeg/demuxer] mpegts: Could not find codec parameters for stream 9 (Audio: mp3 ([4][0][0][0] / 0x0004), 0 channels): unspecified frame size
[ffmpeg/demuxer] Consider increasing the value for the 'analyzeduration' and 'probesize' options
[ffmpeg/demuxer] mpegts: Could not find codec parameters for stream 10 (Audio: mp3 ([4][0][0][0] / 0x0004), 0 channels): unspecified frame size
[ffmpeg/demuxer] Consider increasing the value for the 'analyzeduration' and 'probesize' options
[ffmpeg/demuxer] mpegts: Could not find codec parameters for stream 11 (Video: h264 ([27][0][0][0] / 0x001B), none): unspecified size
[ffmpeg/demuxer] Consider increasing the value for the 'analyzeduration' and 'probesize' options
[ffmpeg/demuxer] mpegts: Could not find codec parameters for stream 12 (Video: h264 ([27][0][0][0] / 0x001B), none): unspecified size
[ffmpeg/demuxer] Consider increasing the value for the 'analyzeduration' and 'probesize' options
[ffmpeg/demuxer] mpegts: Could not find codec parameters for stream 13 (Audio: mp3 ([4][0][0][0] / 0x0004), 0 channels): unspecified frame size
[ffmpeg/demuxer] Consider increasing the value for the 'analyzeduration' and 'probesize' options
[ffmpeg/demuxer] mpegts: Could not find codec parameters for stream 14 (Audio: mp3 ([4][0][0][0] / 0x0004), 0 channels): unspecified frame size
[ffmpeg/demuxer] Consider increasing the value for the 'analyzeduration' and 'probesize' options
[ffmpeg/demuxer] mpegts: Could not find codec parameters for stream 15 (Video: h264 ([27][0][0][0] / 0x001B), none): unspecified size
[ffmpeg/demuxer] Consider increasing the value for the 'analyzeduration' and 'probesize' options
[ffmpeg/demuxer] mpegts: Could not find codec parameters for stream 16 (Video: h264 ([27][0][0][0] / 0x001B), none): unspecified size
[ffmpeg/demuxer] Consider increasing the value for the 'analyzeduration' and 'probesize' options
[ffmpeg/demuxer] mpegts: Could not find codec parameters for stream 17 (Audio: mp3 ([4][0][0][0] / 0x0004), 0 channels): unspecified frame size
[ffmpeg/demuxer] Consider increasing the value for the 'analyzeduration' and 'probesize' options
[ffmpeg/demuxer] mpegts: Could not find codec parameters for stream 18 (Audio: mp3 ([4][0][0][0] / 0x0004), 0 channels): unspecified frame size
[ffmpeg/demuxer] Consider increasing the value for the 'analyzeduration' and 'probesize' options
[ffmpeg/demuxer] mpegts: Could not find codec parameters for stream 19 (Video: h264 ([27][0][0][0] / 0x001B), none): unspecified size
[ffmpeg/demuxer] Consider increasing the value for the 'analyzeduration' and 'probesize' options
[ffmpeg/demuxer] mpegts: Could not find codec parameters for stream 20 (Audio: mp3 ([4][0][0][0] / 0x0004), 0 channels): unspecified frame size
[ffmpeg/demuxer] Consider increasing the value for the 'analyzeduration' and 'probesize' options
[ffmpeg/demuxer] mpegts: Could not find codec parameters for stream 21 (Video: h264 ([27][0][0][0] / 0x001B), none): unspecified size
[ffmpeg/demuxer] Consider increasing the value for the 'analyzeduration' and 'probesize' options
[ffmpeg/demuxer] mpegts: Could not find codec parameters for stream 22 (Video: h264 ([27][0][0][0] / 0x001B), none): unspecified size
[ffmpeg/demuxer] Consider increasing the value for the 'analyzeduration' and 'probesize' options
[ffmpeg/demuxer] mpegts: Could not find codec parameters for stream 23 (Audio: mp3 ([4][0][0][0] / 0x0004), 0 channels): unspecified frame size
[ffmpeg/demuxer] Consider increasing the value for the 'analyzeduration' and 'probesize' options
[ffmpeg/demuxer] mpegts: Could not find codec parameters for stream 24 (Audio: mp3 ([4][0][0][0] / 0x0004), 0 channels): unspecified frame size
[ffmpeg/demuxer] Consider increasing the value for the 'analyzeduration' and 'probesize' options
[ffmpeg/demuxer] mpegts: Could not find codec parameters for stream 25 (Video: h264 ([27][0][0][0] / 0x001B), none): unspecified size
[ffmpeg/demuxer] Consider increasing the value for the 'analyzeduration' and 'probesize' options
[ffmpeg/demuxer] mpegts: Could not find codec parameters for stream 26 (Audio: mp3 ([4][0][0][0] / 0x0004), 0 channels): unspecified frame size
[ffmpeg/demuxer] Consider increasing the value for the 'analyzeduration' and 'probesize' options
[ffmpeg/demuxer] mpegts: Could not find codec parameters for stream 27 (Video: h264 ([27][0][0][0] / 0x001B), none): unspecified size
[ffmpeg/demuxer] Consider increasing the value for the 'analyzeduration' and 'probesize' options
[ffmpeg/demuxer] mpegts: Could not find codec parameters for stream 28 (Video: h264 ([27][0][0][0] / 0x001B), none): unspecified size
[ffmpeg/demuxer] Consider increasing the value for the 'analyzeduration' and 'probesize' options
[ffmpeg/demuxer] mpegts: Could not find codec parameters for stream 29 (Audio: mp3 ([4][0][0][0] / 0x0004), 0 channels): unspecified frame size
[ffmpeg/demuxer] Consider increasing the value for the 'analyzeduration' and 'probesize' options
[ffmpeg/demuxer] mpegts: Could not find codec parameters for stream 30 (Audio: mp3 ([4][0][0][0] / 0x0004), 0 channels): unspecified frame size
[ffmpeg/demuxer] Consider increasing the value for the 'analyzeduration' and 'probesize' options
[ffmpeg/demuxer] mpegts: Could not find codec parameters for stream 31 (Video: h264 ([27][0][0][0] / 0x001B), none): unspecified size
[ffmpeg/demuxer] Consider increasing the value for the 'analyzeduration' and 'probesize' options
[ffmpeg/demuxer] mpegts: Could not find codec parameters for stream 32 (Audio: mp3 ([4][0][0][0] / 0x0004), 0 channels): unspecified frame size
[ffmpeg/demuxer] Consider increasing the value for the 'analyzeduration' and 'probesize' options
[ffmpeg/demuxer] mpegts: Could not find codec parameters for stream 33 (Video: h264 ([27][0][0][0] / 0x001B), none): unspecified size
[ffmpeg/demuxer] Consider increasing the value for the 'analyzeduration' and 'probesize' options
[ffmpeg/demuxer] mpegts: Could not find codec parameters for stream 34 (Video: h264 ([27][0][0][0] / 0x001B), none): unspecified size
[ffmpeg/demuxer] Consider increasing the value for the 'analyzeduration' and 'probesize' options
[ffmpeg/demuxer] mpegts: Could not find codec parameters for stream 35 (Audio: mp3 ([4][0][0][0] / 0x0004), 0 channels): unspecified frame size
[ffmpeg/demuxer] Consider increasing the value for the 'analyzeduration' and 'probesize' options
[ffmpeg/demuxer] mpegts: Could not find codec parameters for stream 36 (Audio: mp3 ([3][0][0][0] / 0x0003), 0 channels): unspecified frame size
[ffmpeg/demuxer] Consider increasing the value for the 'analyzeduration' and 'probesize' options
[ffmpeg/demuxer] mpegts: Could not find codec parameters for stream 37 (Video: h264 ([27][0][0][0] / 0x001B), none): unspecified size
[ffmpeg/demuxer] Consider increasing the value for the 'analyzeduration' and 'probesize' options
[ffmpeg/demuxer] mpegts: Could not find codec parameters for stream 38 (Audio: mp3 ([4][0][0][0] / 0x0004), 0 channels): unspecified frame size
[ffmpeg/demuxer] Consider increasing the value for the 'analyzeduration' and 'probesize' options
[ffmpeg/demuxer] mpegts: Could not find codec parameters for stream 39 (Video: h264 ([27][0][0][0] / 0x001B), none): unspecified size
[ffmpeg/demuxer] Consider increasing the value for the 'analyzeduration' and 'probesize' options
[ffmpeg/demuxer] mpegts: Could not find codec parameters for stream 40 (Video: h264 ([27][0][0][0] / 0x001B), none): unspecified size
[ffmpeg/demuxer] Consider increasing the value for the 'analyzeduration' and 'probesize' options
[ffmpeg/demuxer] mpegts: Could not find codec parameters for stream 41 (Audio: mp3 ([4][0][0][0] / 0x0004), 0 channels): unspecified frame size
[ffmpeg/demuxer] Consider increasing the value for the 'analyzeduration' and 'probesize' options
[ffmpeg/demuxer] mpegts: Could not find codec parameters for stream 42 (Video: h264 ([27][0][0][0] / 0x001B), none): unspecified size
[ffmpeg/demuxer] Consider increasing the value for the 'analyzeduration' and 'probesize' options
[ffmpeg/demuxer] mpegts: Could not find codec parameters for stream 43 (Audio: mp3 ([4][0][0][0] / 0x0004), 0 channels): unspecified frame size
[ffmpeg/demuxer] Consider increasing the value for the 'analyzeduration' and 'probesize' options
[ffmpeg/demuxer] mpegts: Could not find codec parameters for stream 45 (Audio: mp3 ([3][0][0][0] / 0x0003), 0 channels): unspecified frame size
[ffmpeg/demuxer] Consider increasing the value for the 'analyzeduration' and 'probesize' options
[ffmpeg/demuxer] mpegts: Could not find codec parameters for stream 46 (Video: h264 ([27][0][0][0] / 0x001B), none): unspecified size
[ffmpeg/demuxer] Consider increasing the value for the 'analyzeduration' and 'probesize' options
[ffmpeg/demuxer] mpegts: Could not find codec parameters for stream 47 (Audio: mp3 ([3][0][0][0] / 0x0003), 0 channels): unspecified frame size
[ffmpeg/demuxer] Consider increasing the value for the 'analyzeduration' and 'probesize' options
[ffmpeg/demuxer] mpegts: Could not find codec parameters for stream 48 (Video: h264 ([27][0][0][0] / 0x001B), none): unspecified size
[ffmpeg/demuxer] Consider increasing the value for the 'analyzeduration' and 'probesize' options
[ffmpeg/demuxer] mpegts: Could not find codec parameters for stream 49 (Audio: mp3 ([4][0][0][0] / 0x0004), 0 channels): unspecified frame size
[ffmpeg/demuxer] Consider increasing the value for the 'analyzeduration' and 'probesize' options
[ffmpeg/demuxer] mpegts: Could not find codec parameters for stream 50 (Video: h264 ([27][0][0][0] / 0x001B), none): unspecified size
[ffmpeg/demuxer] Consider increasing the value for the 'analyzeduration' and 'probesize' options
[ffmpeg/demuxer] mpegts: Could not find codec parameters for stream 51 (Audio: mp3 ([4][0][0][0] / 0x0004), 0 channels): unspecified frame size
[ffmpeg/demuxer] Consider increasing the value for the 'analyzeduration' and 'probesize' options
[ffmpeg/demuxer] mpegts: Could not find codec parameters for stream 52 (Audio: mp3 ([4][0][0][0] / 0x0004), 0 channels): unspecified frame size
[ffmpeg/demuxer] Consider increasing the value for the 'analyzeduration' and 'probesize' options
[ffmpeg/demuxer] mpegts: Could not find codec parameters for stream 53 (Video: h264 ([27][0][0][0] / 0x001B), none): unspecified size
[ffmpeg/demuxer] Consider increasing the value for the 'analyzeduration' and 'probesize' options
[ffmpeg/demuxer] mpegts: Could not find codec parameters for stream 54 (Audio: mp3 ([4][0][0][0] / 0x0004), 0 channels): unspecified frame size
[ffmpeg/demuxer] Consider increasing the value for the 'analyzeduration' and 'probesize' options
[ffmpeg/demuxer] mpegts: Could not find codec parameters for stream 55 (Video: h264 ([27][0][0][0] / 0x001B), none): unspecified size
[ffmpeg/demuxer] Consider increasing the value for the 'analyzeduration' and 'probesize' options
[ffmpeg/demuxer] mpegts: Could not find codec parameters for stream 56 (Audio: mp3 ([4][0][0][0] / 0x0004), 0 channels): unspecified frame size
[ffmpeg/demuxer] Consider increasing the value for the 'analyzeduration' and 'probesize' options
[ffmpeg/demuxer] mpegts: Could not find codec parameters for stream 57 (Audio: mp3 ([4][0][0][0] / 0x0004), 0 channels): unspecified frame size
[ffmpeg/demuxer] Consider increasing the value for the 'analyzeduration' and 'probesize' options
[ffmpeg/demuxer] mpegts: Could not find codec parameters for stream 58 (Audio: mp3 ([4][0][0][0] / 0x0004), 0 channels): unspecified frame size
[ffmpeg/demuxer] Consider increasing the value for the 'analyzeduration' and 'probesize' options
[ffmpeg/demuxer] mpegts: Could not find codec parameters for stream 59 (Audio: mp3 ([4][0][0][0] / 0x0004), 0 channels): unspecified frame size
[ffmpeg/demuxer] Consider increasing the value for the 'analyzeduration' and 'probesize' options
[ffmpeg/demuxer] mpegts: Could not find codec parameters for stream 60 (Audio: mp3 ([4][0][0][0] / 0x0004), 0 channels): unspecified frame size
[ffmpeg/demuxer] Consider increasing the value for the 'analyzeduration' and 'probesize' options
[ffmpeg/demuxer] mpegts: Could not find codec parameters for stream 61 (Audio: mp3 ([4][0][0][0] / 0x0004), 0 channels): unspecified frame size
[ffmpeg/demuxer] Consider increasing the value for the 'analyzeduration' and 'probesize' options
[ffmpeg/demuxer] mpegts: Could not find codec parameters for stream 62 (Audio: mp3 ([4][0][0][0] / 0x0004), 0 channels): unspecified frame size
[ffmpeg/demuxer] Consider increasing the value for the 'analyzeduration' and 'probesize' options
[ffmpeg/demuxer] mpegts: Could not find codec parameters for stream 63 (Audio: aac ([15][0][0][0] / 0x000F), 0 channels): unspecified sample format
[ffmpeg/demuxer] Consider increasing the value for the 'analyzeduration' and 'probesize' options
[ffmpeg/demuxer] mpegts: Could not find codec parameters for stream 64 (Video: h264 ([27][0][0][0] / 0x001B), none): unspecified size
[ffmpeg/demuxer] Consider increasing the value for the 'analyzeduration' and 'probesize' options
[ffmpeg/demuxer] mpegts: Could not find codec parameters for stream 65 (Audio: mp3 ([4][0][0][0] / 0x0004), 0 channels): unspecified frame size
[ffmpeg/demuxer] Consider increasing the value for the 'analyzeduration' and 'probesize' options
[lavf] avformat_find_stream_info() finished after 0 bytes.
[demux] Detected file format: mpegts (libavformat)
[cplayer] Opening done: kuriakos_tv.ts
[find_files] Loading external files in .
[cplayer] Running hook: ytdl_hook/on_preloaded
[lavf] select track 0
[lavf] select track 1
[cplayer] (+) Video --vid=1 (h264)
[cplayer] Video --vid=2 (h264 1920x1080 25.000fps)
[cplayer] Video --vid=3 (h264)
[cplayer] Video --vid=4 (h264)
[cplayer] Video --vid=5 (h264)
[cplayer] Video --vid=6 (h264)
[cplayer] Video --vid=7 (h264)
[cplayer] Video --vid=8 (h264)
[cplayer] Video --vid=9 (h264)
[cplayer] Video --vid=10 (h264)
[cplayer] Video --vid=11 (h264)
[cplayer] Video --vid=12 (h264)
[cplayer] Video --vid=13 (h264)
[cplayer] Video --vid=14 (h264)
[cplayer] Video --vid=15 (h264)
[cplayer] Video --vid=16 (h264)
[cplayer] Video --vid=17 (h264)
[cplayer] Video --vid=18 (h264)
[cplayer] Video --vid=19 (h264)
[cplayer] Video --vid=20 (h264)
[cplayer] Video --vid=21 (h264)
[cplayer] Video --vid=22 (h264)
[cplayer] Video --vid=23 (h264)
[cplayer] Video --vid=24 (h264)
[cplayer] Video --vid=25 (h264)
[cplayer] Video --vid=26 (h264)
[cplayer] Video --vid=27 (h264)
[cplayer] (+) Audio --aid=1 (mp3)
[cplayer] Audio --aid=2 --alang=por (mp2 2ch 48000Hz)
[cplayer] Audio --aid=3 --alang=por (mp3)
[cplayer] Audio --aid=4 --alang=por (mp3)
[cplayer] Audio --aid=5 --alang=por (mp3)
[cplayer] Audio --aid=6 --alang=por (mp3)
[cplayer] Audio --aid=7 --alang=eng (mp3)
[cplayer] Audio --aid=8 --alang=por (mp3)
[cplayer] Audio --aid=9 --alang=por (mp3)
[cplayer] Audio --aid=10 --alang=por (mp3)
[cplayer] Audio --aid=11 --alang=eng (mp3)
[cplayer] Audio --aid=12 --alang=eng (mp3)
[cplayer] Audio --aid=13 --alang=spa (mp3)
[cplayer] Audio --aid=14 --alang=por (mp3)
[cplayer] Audio --aid=15 --alang=spa (mp3)
[cplayer] Audio --aid=16 --alang=eng (mp3)
[cplayer] Audio --aid=17 --alang=eng (mp3)
[cplayer] Audio --aid=18 --alang=por (mp3)
[cplayer] Audio --aid=19 --alang=eng (mp3)
[cplayer] Audio --aid=20 --alang=spa (mp3)
[cplayer] Audio --aid=21 --alang=por (mp3)
[cplayer] Audio --aid=22 --alang=por (mp3)
[cplayer] Audio --aid=23 --alang=eng (mp3)
[cplayer] Audio --aid=24 --alang=por (mp3)
[cplayer] Audio --aid=25 --alang=por (mp3)
[cplayer] Audio --aid=26 --alang=por (mp3)
[cplayer] Audio --aid=27 --alang=fra (mp3)
[cplayer] Audio --aid=28 --alang=por (mp3)
[cplayer] Audio --aid=29 --alang=por (mp3)
[cplayer] Audio --aid=30 --alang=por (mp3)
[cplayer] Audio --aid=31 --alang=por (mp3)
[cplayer] Audio --aid=32 --alang=por (mp3)
[cplayer] Audio --aid=33 --alang=por (mp3)
[cplayer] Audio --aid=34 --alang=por (mp3)
[cplayer] Audio --aid=35 --alang=por (aac)
[cplayer] Audio --aid=36 --alang=eng (mp3)
[cplayer] Subs --sid=1 --slang=por (dvb_teletext)
[vo/gpu] Probing for best GPU context.
[vo/gpu/opengl] Initializing GPU context 'wayland'
[vo/gpu/opengl] Initializing GPU context 'x11egl'
[vo/gpu/x11] X11 opening display: :0
[vo/gpu/x11] Display 0 (HDMI-A-0): [0, 0, 1920, 1080] @ 60.000000 FPS
[vo/gpu/x11] Current display FPS: 60.000000
[vo/gpu/opengl] EGL_VERSION=1.5
[vo/gpu/opengl] EGL_VENDOR=Mesa Project
[vo/gpu/opengl] EGL_CLIENT_APIS=OpenGL OpenGL_ES
[vo/gpu/opengl] Trying to create Desktop OpenGL context.
[vo/gpu/opengl] Choosing visual EGL config 0x11, visual ID 0x21
[vo/gpu/opengl] GL_VERSION='4.6 (Core Profile) Mesa 21.2.6'
[vo/gpu/opengl] Detected desktop OpenGL 4.6.
[vo/gpu/opengl] GL_VENDOR='AMD'
[vo/gpu/opengl] GL_RENDERER='AMD Radeon(TM) Vega 11 Graphics (RAVEN, DRM 3.42.0, 5.15.0-48-generic, LLVM 12.0.0)'
[vo/gpu/opengl] GL_SHADING_LANGUAGE_VERSION='4.60'
[vo/gpu/opengl] Loaded extension GL_NV_vdpau_interop.
[vo/gpu] Testing FBO format rgba16f
[vo/gpu] Using FBO format rgba16f.
[vo/gpu] No advanced processing required. Enabling dumb mode.
[vo/gpu] Assuming 60.000000 FPS for display sync.
[vd] Container reported FPS: 0.000000
[vd] Codec list:
[vd] h264 - H.264 / AVC / MPEG-4 AVC / MPEG-4 part 10
[vd] h264_v4l2m2m (h264) - V4L2 mem2mem H.264 decoder wrapper
[vd] h264_cuvid (h264) - Nvidia CUVID H264 decoder
[vd] Opening decoder h264
[vd] Looking at hwdec h264-vaapi...
[vo/gpu] Loading hwdec driver 'vaapi-egl'
[vo/gpu/vaapi-egl] using VAAPI EGL interop
[vo/gpu/vaapi-egl] Trying to open a x11 VA display...
mesa: for the --simplifycfg-sink-common option: may only occur zero or one times!
mesa: for the --global-isel-abort option: may only occur zero or one times!
mesa: for the --amdgpu-atomic-optimizations option: may only occur zero or one times!
[vo/gpu/vaapi-egl/vaapi] Initialized VAAPI: version 1.7
[vo/gpu/vaapi-egl] Going to probe surface formats (may log bogus errors)...
[vo/gpu/vaapi-egl] Done probing surface formats.
[vo/gpu] Loading hwdec driver 'vdpau-gl'
[vo/gpu] Loading hwdec driver 'drmprime-drm'
[vo/gpu/drmprime-drm] Failed to retrieve DRM fd from native display.
[vo/gpu] Loading failed.
[vd] Trying hardware decoding via h264-vaapi.
[vd] Selected codec: h264 (H.264 / AVC / MPEG-4 AVC / MPEG-4 part 10)
[vf] User filter list:
[vf] (empty)
[ad] Codec list:
[ad] mp3float (mp3) - MP3 (MPEG audio layer 3)
[ad] mp3 - MP3 (MPEG audio layer 3)
[ad] Opening decoder mp3float
[ad] Requesting 1 threads for decoding.
[ad] Selected codec: mp3float (MP3 (MPEG audio layer 3))
[af] User filter list:
[af] (empty)
[cplayer] Starting playback...
[cplayer] Set property: shared-script-properties -> 1
[lavf] EOF reached.
[af] filter input EOF
[af] [userspeed] (disabled)
[af] [convert] (disabled)
[af] filter output EOF
[vf] filter input EOF
[vf] [userdeint] (disabled)
[vf] [autorotate] (disabled)
[vf] [convert] (disabled)
[vf] filter output EOF
[cplayer] audio EOF without any data
[cplayer] video EOF reached
[cplayer] playback restart complete @ -9223372036854775808.000000
[cplayer] EOF code: 1
[cplayer] finished playback, no audio or video data played (reason 4)
[cplayer]
[cplayer]
[cplayer] Exiting... (Errors when loading file)
[cplayer] Set property: shared-script-properties -> 1
What needs to be done is to generate a new PMT, with only the recorded service and discard the original one. I guess enigma could do that, but I don't think there anyone at the moment with the level of inside knowledge to implement that.
I don't see how you could make a stripped PMT using only filters.
Please note that manufacturers' drivers most of the time only implement that subset of dvb4linux that are strictly required to have enigma run. The API description is therefore unfortunately not a good starting point. Best way is to look into the enigma source.
Furthermore, I make recordings on a daily basis which I often watch using mpv. There is always the initial complaining, but after a second, it always starts playing, no matter from what transponder or service. There are some complaints because at the start the frames and/or gop's are incomplete, that's normal.
Same for streaming. It may take a few moments due to have mpv fill it's cache but then it starts. Mind you enigma uses the same code for recording and streaming.
I almost start to wonder whether your services are actually decrypted?
What needs to be done is to generate a new PMT, with only the recorded service and discard the original one. I guess enigma could do that, but I don't think there anyone at the moment with the level of inside knowledge to implement that.
You're right, a new PMT is the way I solve this with ffmpeg at my PC. If only I could use the ffmpeg installed at set-top box to filter the stream. Do you know any enigma plugin or service I could adapt to have ffmpeg in the middle of the stream?
I almost start to wonder whether your services are actually decrypted?
No my friend, it's open that service. If you have access to Hispasat 30W, frequency 12476.00 try this:
ffmpeg -hide_banner -loglevel error -i 'http://192.168.1.12:8001/1:0:1:17B4:30:36:CE40000:0:0:0:' -map '0:p:0x17B4' -c copy -f mpegts - -- | mpv --vf=lavfi=yadif -
or
ffplay -vf yadif 'http://192.168.1.12:8001/1:0:1:17B4:30:36:CE40000:0:0:0:'
Furthermore, I make recordings on a daily basis which I often watch using mpv. There is always the initial complaining, but after a second, it always starts playing, no matter from what transponder or service. There are some complaints because at the start the frames and/or gop's are incomplete, that's normal.
Same for streaming. It may take a few moments due to have mpv fill it's cache but then it starts. Mind you enigma uses the same code for recording and streaming.
Recording from transponders that PMT PID is equal for every service, the mpv GUI will not start and the command line output will be stuck, because it will be waiting for the audio/video streams of the first PMT it receives that will be --vid=1 and --aid=1, now you can imagine that most of the times the stream will not play, and the streams order is constantly changing.
This is the relevant command line output of mpv that tells where the video/audio is stuck with a (+) sign, you can see in this case the correct video is at --vid=8 and correct audio at --aid=6. It's a shame mpv doesn't support ffmpeg -map stream specifiers like p:program_id
and i:stream_id
:(
[lavf] select track 0
[lavf] select track 1
[cplayer] (+) Video --vid=1 (h264)
[cplayer] Video --vid=2 (h264)
[cplayer] Video --vid=3 (h264)
[cplayer] Video --vid=4 (h264)
[cplayer] Video --vid=5 (h264)
[cplayer] Video --vid=6 (h264)
[cplayer] Video --vid=7 (h264)
[cplayer] Video --vid=8 (h264 1920x1080 25.000fps)
[cplayer] Video --vid=9 (h264)
[cplayer] Video --vid=10 (h264)
[cplayer] Video --vid=11 (h264)
[cplayer] Video --vid=12 (h264)
[cplayer] Video --vid=13 (h264)
[cplayer] Video --vid=14 (h264)
[cplayer] Video --vid=15 (h264)
[cplayer] Video --vid=16 (h264)
[cplayer] Video --vid=17 (h264)
[cplayer] Video --vid=18 (h264)
[cplayer] Video --vid=19 (h264)
[cplayer] Video --vid=20 (h264)
[cplayer] Video --vid=21 (h264)
[cplayer] Video --vid=22 (h264)
[cplayer] Video --vid=23 (h264)
[cplayer] Video --vid=24 (h264)
[cplayer] Video --vid=25 (h264)
[cplayer] Video --vid=26 (h264)
[cplayer] Video --vid=27 (h264)
[cplayer] (+) Audio --aid=1 --alang=por (mp3)
[cplayer] Audio --aid=2 (mp3)
[cplayer] Audio --aid=3 --alang=por (mp3)
[cplayer] Audio --aid=4 --alang=por (mp3)
[cplayer] Audio --aid=5 --alang=por (mp3)
[cplayer] Audio --aid=6 --alang=por (mp2 2ch 48000Hz)
[cplayer] Audio --aid=7 --alang=por (mp3)
[cplayer] Audio --aid=8 --alang=eng (mp3)
[cplayer] Audio --aid=9 --alang=por (mp3)
[cplayer] Audio --aid=10 --alang=por (mp3)
[cplayer] Audio --aid=11 --alang=por (mp3)
[cplayer] Audio --aid=12 --alang=eng (mp3)
[cplayer] Audio --aid=13 --alang=eng (mp3)
[cplayer] Audio --aid=14 --alang=spa (mp3)
[cplayer] Audio --aid=15 --alang=spa (mp3)
[cplayer] Audio --aid=16 --alang=eng (mp3)
[cplayer] Audio --aid=17 --alang=eng (mp3)
[cplayer] Audio --aid=18 --alang=por (mp3)
[cplayer] Audio --aid=19 --alang=eng (mp3)
[cplayer] Audio --aid=20 --alang=spa (mp3)
[cplayer] Audio --aid=21 --alang=por (mp3)
[cplayer] Audio --aid=22 --alang=por (mp3)
[cplayer] Audio --aid=23 --alang=eng (mp3)
[cplayer] Audio --aid=24 --alang=por (mp3)
[cplayer] Audio --aid=25 --alang=por (mp3)
[cplayer] Audio --aid=26 --alang=por (mp3)
[cplayer] Audio --aid=27 --alang=fra (mp3)
[cplayer] Audio --aid=28 --alang=por (mp3)
[cplayer] Audio --aid=29 --alang=por (mp3)
[cplayer] Audio --aid=30 --alang=por (mp3)
[cplayer] Audio --aid=31 --alang=por (mp3)
[cplayer] Audio --aid=32 --alang=por (mp3)
[cplayer] Audio --aid=33 --alang=por (mp3)
[cplayer] Audio --aid=34 --alang=por (mp3)
[cplayer] Audio --aid=35 --alang=por (aac)
[cplayer] Audio --aid=36 --alang=eng (mp3)
[cplayer] Subs --sid=1 --slang=por (dvb_teletext)
No I can't receive Hispasat, not even if I wanted to, because the roof of my house is in the way.
Adding ffmpeg in the middle is technically not impossible, but a complex task. It would be better to use libav* instead, but it has a difficult interface to implement.
Thank you for your patience with me.
While responding to you, I remembered old inetd could do the job, give it a try and it did, I have a workaround :)
Tested with 8 streams at the same time, 8 ffmpeg running and the CPU below 10%.
The only problem is ffmpeg -abort_on empty_output_stream
doesn't work correctly, or as I expected. But that will be a problem in rare conditions.
My recipe:
/etc/services
ffmpeg-e2 8002/tcp
/etc/inetd.conf
ffmpeg-e2 stream tcp nowait root /home/root/ffmpeg-e2.sh ffmpeg-e2.sh
/home/root/ffmpeg-e2.sh
#!/bin/bash
read request
request_arr=($request)
if [ "${request_arr[0]}" == "GET" ]; then
sref=${request_arr[1]:1}
IFS=':' sref_arr=($sref)
if [ "${#sref_arr[@]}" -ge "10" ]; then
program_id=${sref_arr[3]}
network_id_sat=${sref_arr[5]}":"${sref_arr[6],,}
serviceplayable=1
if ! wget -q --timeout=5 -O- "http://127.0.0.1/api/serviceplayable?sRef=${sref}" 2> /dev/null | grep -q isplayable.*true; then
serviceplayable=0 # try to make the service playable by zapping to it.
wget -q --timeout=5 -O /dev/null "http://127.0.0.1/api/zap?sRef=${sref}" > /dev/null 2>&1
sleep 3; wget -q --timeout=5 -O- "http://127.0.0.1/api/serviceplayable?sRef=${sref}" 2> /dev/null | grep -q isplayable.*true && serviceplayable=1
fi
if [ $serviceplayable -eq 1 ]; then
if [ "$network_id_sat" == "36:ce40000" ]; then
echo -ne "HTTP/1.0 200 OK\nContent-Type: video/mpeg\nConnection: Close\nServer: streamserver\n\n"
ffmpeg -hide_banner -loglevel quiet -i "http://127.0.0.1:8001/${sref}" -map "0:p:0x${program_id}" -c copy -abort_on empty_output_stream -f mpegts -
sleep 2; exit 0
else
ip_addr=$(ip -4 -o addr show up primary scope global | grep -ohm1 'inet [0-9]*\.[0-9]*\.[0-9]*\.[0-9]*' | awk '{print $2}')
echo -ne "HTTP/1.0 302 Found\nLocation: http://${ip_addr}:8001/${sref}\nConnection: Close\nServer: streamserver\n\n"
sleep 2; exit 0
fi
else
echo -ne "HTTP/1.0 503 Service Unavailable\nConnection: Close\nServer: streamserver\n\n"
sleep 2; exit 1
fi
fi
fi
echo -ne "HTTP/1.0 400 Bad Request\nConnection: Close\nServer: streamserver\n\n"
sleep 2; exit 1
/etc/enigma2/settings
config.OpenWebif.streamport=8002
Do you have this same issue on other transponders too? As again I've never seen it...
The issue for enigma are the transponders from provider NOS at frequencies:12360,12399,12437,12476 Network_ID: 54 (0x0036) [= TV Cabo | 902 | Satellite | TV Cabo Portugal]
)
Provider MEO has transponders without this issue for enigma at frequencies:12130,12245 Network_ID: 83 (0x0053) [= PT comunicações | 905 | Satellite | PT Comunicações]
But to cut costs MEO and NOS agree to share transponders, and now both have this issue on most of there services :(
Now that we talk about this I can reduce the scope of when ffmpeg is needed, by filtering the network_id 0x0036. If supported by the video players I can do a redirect to the other port.
mpv is an example, in fact most video players will not play ts streams from transponders with all service PMT's at same pid, instead players will stick to the first PMT found, that most likely is not from the service being recorded, and using that first PMT found, try to play audio/video not included and fail. For the stream to work the PMT's need to be filtered to include only from the service being recorded, but DMX_SET_PES_FILTER does not handle this kind of filter. Can PMT's be filtered separately?