ZhishenYang / tstools

Automatically exported from code.google.com/p/tstools
0 stars 0 forks source link

tsreport incorrectly asserts DTS 'errors' #21

Open GoogleCodeExporter opened 9 years ago

GoogleCodeExporter commented 9 years ago
What steps will reproduce the problem?
1. Create a TS with no DTS
2. 'tsreport -cnt <pid>'

What is the expected output? What do you see instead?
Using my example transport stream I get the output:
### PID(512): DTS (7150612428t) < PCR (7150612509t)

Given that I don't have DTS in my transport:
  PES header
    Start code:        00 00 01
    Stream ID:         c0   (192) SYSTEM START: Audio stream 00
    PES packet length: 0192 (402)
    Flags:             84 80 data-aligned : PTS
    PES header len 15
    PTS 7146951508

I would not expect a value for DTS, also it would seem odd that this warning 
would be generated. It would make seem to me to skip DTS validation if the 
PTS/DTS flags were '10'.

What version of the product are you using? On what operating system?

TS tools version 1.11, tsreport built Jan  3 2009 17:20:54
Debian Wheezy, Ubuntu 12.04, Centos 6.3 and AmazonAMI

Please provide any additional information below.

Sorry, I can't provide a patch; It's unfortunately beyond my current level of C.

Original issue reported on code.google.com by c...@gryning.com on 12 Dec 2012 at 1:03

GoogleCodeExporter commented 9 years ago
Note that DTS is implied to be equal to PTS if DTS is not present. So if PTS < 
PCR that would also imply DTS < PCR.

Original comment by piers.sc...@ericsson.com on 15 Mar 2013 at 1:02