ts_diag.py report segments analyzed: 5 key file : enc.key (not printed) iv (fixed, given): 2aa96af110f99fd7cfccddee74f52e86 note: each segment is also tried with the HLS-spec sequence- number-derived IV (used automatically when the manifest's #EXT-X-KEY has no explicit IV= attribute) -- whichever candidate actually produces a valid TS sync byte is used, and reported per-segment below. manifest : index.m3u8 (12 EXTINF entries parsed) manifest's #EXT-X-KEY line: #EXT-X-KEY:METHOD=AES-128,URI="http://103.183.47.210:8585/R-IPTV/getKeyfile",IV=0x2aa96af110f99fd7cfccddee74f52e86 ====================================================================== SEGMENT: index9.ts ====================================================================== sequence number (from filename): 9 ciphertext size : 421312 bytes (mod 16 = 0) decrypt mode : padded-ok IV that worked : given IV (2aa96af110f99fd7cfccddee74f52e86) TS packets : 2241 sync errors : 0 TEI errors : 0 continuity errors : 0 PCR packets : 46 PMT pid : 0xbbb stream_type=0x1b pid=0x3eb (video) stream_type=0x0f pid=0x7d3 (audio) video NAL histogram : P/B-slice=45, IDR=1, SPS=1, PPS=1, AUD=46 leading slice type : IDR (5) -- segment opens cleanly video first PTS (90k) : 2924733264 (32497.036s) video last PTS sampled: 2924765664 (32497.396s) [first 10 PES headers only] SPS profile/level : Main (77) / Level 3.1 constraint_flags=0x40 SPS resolution : 720x576 frame_mbs_only_flag=1 max_ref_frames=1 SPS VUI : fps=25.0 fixed_frame_rate=True aspect_ratio_idc=4 Level margin check : needs 40500.0 MB/s, Level 3.1 allows 108000 MB/s -> 62.5% headroom PPS : entropy=CABAC num_slice_groups=1 audio first PTS (90k) : 2924734974 (32497.055s) audio-video start gap : +0.019s (audio minus video; ~0 is healthy, seconds-scale values indicate a PTS anchor problem) manifest EXTINF : 1.866s (compare against measured video PTS span above; large mismatches point at the playlist-duration issue) ====================================================================== SEGMENT: index8.ts ====================================================================== sequence number (from filename): 8 ciphertext size : 45504 bytes (mod 16 = 0) decrypt mode : padded-ok IV that worked : given IV (2aa96af110f99fd7cfccddee74f52e86) TS packets : 242 sync errors : 0 TEI errors : 0 continuity errors : 0 PCR packets : 1 PMT pid : 0xbbb stream_type=0x1b pid=0x3eb (video) stream_type=0x0f pid=0x7d3 (audio) video NAL histogram : IDR=1, SPS=1, PPS=1, AUD=1 leading slice type : IDR (5) -- segment opens cleanly video first PTS (90k) : 2924556864 (32495.076s) video last PTS sampled: 2924556864 (32495.076s) [first 1 PES headers only] SPS profile/level : Main (77) / Level 3.1 constraint_flags=0x40 SPS resolution : 720x576 frame_mbs_only_flag=1 max_ref_frames=1 SPS VUI : fps=25.0 fixed_frame_rate=True aspect_ratio_idc=4 Level margin check : needs 40500.0 MB/s, Level 3.1 allows 108000 MB/s -> 62.5% headroom PPS : entropy=CABAC num_slice_groups=1 audio first PTS (90k) : 2924539134 (32494.879s) audio-video start gap : -0.197s (audio minus video; ~0 is healthy, seconds-scale values indicate a PTS anchor problem) manifest EXTINF : 0.055s ====================================================================== SEGMENT: index7.ts ====================================================================== sequence number (from filename): 7 ciphertext size : 457232 bytes (mod 16 = 0) decrypt mode : padded-ok IV that worked : given IV (2aa96af110f99fd7cfccddee74f52e86) TS packets : 2432 sync errors : 0 TEI errors : 0 continuity errors : 0 PCR packets : 50 PMT pid : 0xbbb stream_type=0x1b pid=0x3eb (video) stream_type=0x0f pid=0x7d3 (audio) video NAL histogram : P/B-slice=49, IDR=1, SPS=1, PPS=1, AUD=50 leading slice type : IDR (5) -- segment opens cleanly video first PTS (90k) : 2924376864 (32493.076s) video last PTS sampled: 2924409264 (32493.436s) [first 10 PES headers only] SPS profile/level : Main (77) / Level 3.1 constraint_flags=0x40 SPS resolution : 720x576 frame_mbs_only_flag=1 max_ref_frames=1 SPS VUI : fps=25.0 fixed_frame_rate=True aspect_ratio_idc=4 Level margin check : needs 40500.0 MB/s, Level 3.1 allows 108000 MB/s -> 62.5% headroom PPS : entropy=CABAC num_slice_groups=1 audio first PTS (90k) : 2924372094 (32493.023s) audio-video start gap : -0.053s (audio minus video; ~0 is healthy, seconds-scale values indicate a PTS anchor problem) manifest EXTINF : 1.847s (compare against measured video PTS span above; large mismatches point at the playlist-duration issue) ====================================================================== SEGMENT: index6.ts ====================================================================== sequence number (from filename): 6 ciphertext size : 185760 bytes (mod 16 = 0) decrypt mode : padded-ok IV that worked : given IV (2aa96af110f99fd7cfccddee74f52e86) TS packets : 988 sync errors : 0 TEI errors : 0 continuity errors : 0 PCR packets : 19 PMT pid : 0xbbb stream_type=0x1b pid=0x3eb (video) stream_type=0x0f pid=0x7d3 (audio) video NAL histogram : P/B-slice=18, IDR=1, SPS=1, PPS=1, AUD=19 leading slice type : IDR (5) -- segment opens cleanly video first PTS (90k) : 2924124864 (32490.276s) video last PTS sampled: 2924157264 (32490.636s) [first 10 PES headers only] SPS profile/level : Main (77) / Level 3.1 constraint_flags=0x40 SPS resolution : 720x576 frame_mbs_only_flag=1 max_ref_frames=1 SPS VUI : fps=25.0 fixed_frame_rate=True aspect_ratio_idc=4 Level margin check : needs 40500.0 MB/s, Level 3.1 allows 108000 MB/s -> 62.5% headroom PPS : entropy=CABAC num_slice_groups=1 audio first PTS (90k) : 2924119854 (32490.221s) audio-video start gap : -0.056s (audio minus video; ~0 is healthy, seconds-scale values indicate a PTS anchor problem) manifest EXTINF : 0.704s (compare against measured video PTS span above; large mismatches point at the playlist-duration issue) ====================================================================== SEGMENT: index5.ts ====================================================================== sequence number (from filename): 5 ciphertext size : 491248 bytes (mod 16 = 0) decrypt mode : padded-ok IV that worked : given IV (2aa96af110f99fd7cfccddee74f52e86) TS packets : 2613 sync errors : 0 TEI errors : 0 continuity errors : 0 PCR packets : 50 PMT pid : 0xbbb stream_type=0x1b pid=0x3eb (video) stream_type=0x0f pid=0x7d3 (audio) video NAL histogram : P/B-slice=49, IDR=1, SPS=1, PPS=1, AUD=50 leading slice type : IDR (5) -- segment opens cleanly video first PTS (90k) : 2923944864 (32488.276s) video last PTS sampled: 2923977264 (32488.636s) [first 10 PES headers only] SPS profile/level : Main (77) / Level 3.1 constraint_flags=0x40 SPS resolution : 720x576 frame_mbs_only_flag=1 max_ref_frames=1 SPS VUI : fps=25.0 fixed_frame_rate=True aspect_ratio_idc=4 Level margin check : needs 40500.0 MB/s, Level 3.1 allows 108000 MB/s -> 62.5% headroom PPS : entropy=CABAC num_slice_groups=1 audio first PTS (90k) : 2923948974 (32488.322s) audio-video start gap : +0.046s (audio minus video; ~0 is healthy, seconds-scale values indicate a PTS anchor problem) manifest EXTINF : 1.899s (compare against measured video PTS span above; large mismatches point at the playlist-duration issue) ====================================================================== END OF REPORT -- share this text output back for review. ======================================================================