Syntax error in .ts container

About encoding, codec settings, muxers and filter usage
Mr.Shtein
New Cone
New Cone
Posts: 6
Joined: 30 Jun 2019 07:46

Syntax error in .ts container

Postby Mr.Shtein » 30 Jun 2019 08:03

Good afternoon, tell me please I saved a small piece of video using a VLC player, and I can't read it. Because I have an error section_syntax_indicator = 0b0 in the analyzer. Reserved bits in PAT = 0b01, although they must be 0b00 But it cannot be so by specification and I cannot continue further.
Image

User avatar
InTheWings
Developer
Developer
Posts: 1275
Joined: 07 Aug 2013 13:15
VLC version: crashing
Operating System: Linux
Contact:

Re: Syntax error in .ts container

Postby InTheWings » 02 Jul 2019 09:28

section syntax indicator
1

must be 0
0

reserved
11
2.1.64 reserved: The term "reserved", when used in the clauses defining the coded bit stream, indicates that the value
may be used in the future for ISO defined extensions. Unless otherwise specified within this Recommendation |
International Standard, all reserved bits shall be set to '1'.
table id 0
0000

-> 0xB0

I don't see where you have B1. Bytes clearly shows:
00 00 B0 0D
:!: If you want your problem to be solved :
* First read troubleshooting guide VSG:Main
* Always provide verbose LOGS ! (command line or from gui)
* Always check your issue against a developer build from Nightly Build of VLC
* Tell us when your problem is solved !

Mr.Shtein
New Cone
New Cone
Posts: 6
Joined: 30 Jun 2019 07:46

Postby Mr.Shtein » 02 Jul 2019 17:58

adaptation_field ends on the last byte of FF, then there are 2 bytes with the value of HEX 00 00, so it turns out that table_id == HEX 00, and what do the next HEX 00 ??

Mr.Shtein
New Cone
New Cone
Posts: 6
Joined: 30 Jun 2019 07:46

Postby Mr.Shtein » 02 Jul 2019 19:11

maybe attach a file that I'm parsing, only 250 ms.

User avatar
InTheWings
Developer
Developer
Posts: 1275
Joined: 07 Aug 2013 13:15
VLC version: crashing
Operating System: Linux
Contact:

Re:

Postby InTheWings » 03 Jul 2019 09:59

adaptation_field ends on the last byte of FF, then there are 2 bytes with the value of HEX 00 00, so it turns out that table_id == HEX 00, and what do the next HEX 00 ??
There's no second 00.
The first 00 is pointer field.
pointer_field – This is an 8-bit field whose value shall be the number of bytes, immediately following the pointer_field
until the first byte of the first section that is present in the payload of the transport stream packet (so a value of 0x00 in
the pointer_field indicates that the section starts immediately after the pointer_field). When at least one section begins in
a given transport stream packet, then the payload_unit_start_indicator (refer to 2.4.3.2) shall be set to '1' and the first byte
of the payload of that transport stream packet shall contain the pointer. When no section begins in a given transport stream
packet, then the payload_unit_start_indicator shall be set to '0' and no pointer shall be sent in the payload of that packet.
:!: If you want your problem to be solved :
* First read troubleshooting guide VSG:Main
* Always provide verbose LOGS ! (command line or from gui)
* Always check your issue against a developer build from Nightly Build of VLC
* Tell us when your problem is solved !

Mr.Shtein
New Cone
New Cone
Posts: 6
Joined: 30 Jun 2019 07:46

Re: Syntax error in .ts container

Postby Mr.Shtein » 03 Jul 2019 14:46

When the payload of the transport stream packet contains transport stream section data, the payload_unit_start_indicator has the following significance: if the transport stream packet carries the first byte of a section, the payload_unit_start_indicator value shall be '1', indicating that the first byte of the payload of this transport stream packet carries the pointer_field. If the transport stream packet does not carry the first byte of a section, the payload_unit_start_indicator value shall be '0', indicating that there is no pointer_field in the payload. Refer to 2.4.4.1 and 2.4.4.2. This also applies to private streams of stream_type 5 (refer to Table 2-34).
In this case, the first byte of the payload is not A6?

Mr.Shtein
New Cone
New Cone
Posts: 6
Joined: 30 Jun 2019 07:46

Postby Mr.Shtein » 03 Jul 2019 14:50

I'm sorry, but I really don't understand

User avatar
InTheWings
Developer
Developer
Posts: 1275
Joined: 07 Aug 2013 13:15
VLC version: crashing
Operating System: Linux
Contact:

Re: Syntax error in .ts container

Postby InTheWings » 03 Jul 2019 18:13

First byte of payload is Byte 172: 00 B0 0D
:!: If you want your problem to be solved :
* First read troubleshooting guide VSG:Main
* Always provide verbose LOGS ! (command line or from gui)
* Always check your issue against a developer build from Nightly Build of VLC
* Tell us when your problem is solved !

Mr.Shtein
New Cone
New Cone
Posts: 6
Joined: 30 Jun 2019 07:46

Postby Mr.Shtein » 04 Jul 2019 06:51

Thank you very much, now I get it.


Return to “VLC stream-output (sout)”

Who is online

Users browsing this forum: No registered users and 17 guests