- March 26, 2007
- 3,715
- 180
- Home Country
- Germany
This a modification to fix/workaround the problem in this thread - https://forum.team-mediaportal.com/general-support-51/cant-play-mpeg-ts-file-recorded-argus-97539/ [^]
Basically it relaxes the TS packet level scrambling checks to allow incorrectly flagged streams (i.e. not actually scrambled but scrambling header bit set) to play - as they do with some other TS splitters.
The TS packet headers are never encrypted, so it's safe to let parsing run to the payload checking stage. At that point it's expecting to find a valid PES packet start code and stream ID - if it doesn't (e.g. because the payload is scrambled) the packet is dropped. I also added a check for PES-level scrambling (which is allowed for DVB, but probably never used), just in case.
http://mantis.team-mediaportal.com/view.php?id=3617
Open the issue in Mantis...
Basically it relaxes the TS packet level scrambling checks to allow incorrectly flagged streams (i.e. not actually scrambled but scrambling header bit set) to play - as they do with some other TS splitters.
The TS packet headers are never encrypted, so it's safe to let parsing run to the payload checking stage. At that point it's expecting to find a valid PES packet start code and stream ID - if it doesn't (e.g. because the payload is scrambled) the packet is dropped. I also added a check for PES-level scrambling (which is allowed for DVB, but probably never used), just in case.
http://mantis.team-mediaportal.com/view.php?id=3617
Open the issue in Mantis...