[note 1] Cinema-at-24'fps is cinema that is framed with metadata that forces play at 24'fps (with 1001/24000 second intervals). Forcing 24pps to 24'fps stretches running times by 3.6 seconds per hour of cinema [note 7].1: cinema-at-24'fps [note 1], NOTATION: [24pps]24'fps & 48KHz[x1.001]48KHz [note 6] 2: cinema-at-24'fps-soft [note 2], NOTATION: [24pps]24'fps & 48KHz[x1.001]48KHz [note 6] 3: cinema-at-25fps-forced [note 3], NOTATION: [24pps]25fps & 48KHz[x0.96]48KHz 4: cinema-at-25fps-telecined [note 4], NOTATION: [24pps__48hps__(Aa-Xx)(Aa-LlLm-WxXx)=50hps__25pps]25fps 5: cinema-at-30'fps [note 5], NOTATION: [24pps__48hps__(Aa-Dd)(AaBbBcCdDd)=60hps__30pps]30'fps & 48KHz[x1.001]48KHz
For cinema-at-24'fps, cinema running time = player running time x 1.001 For cinema-at-24'fps-soft, cinema running time = player running time x 1.001 For cinema-at-25fps-forced, cinema running time = player running time x 0.96 For cinema-at-25fps-telecined, cinema running time = player running time For cinema-at-30'fps, cinema running time = player running time x 1.001
PTS interval, ticks per frame = (system clock, ticks per second) / (video FPS, frames per second) = 1 / TB / FPSIndividual frame PTSs are then computed as follows:
PTS-of-N = N x (PTS interval), where 'N' is frame index (0 1 2 ..).If a source video's PTS-of-1 is non-zero, the video has a mastering flaw, it was probably clipped improperly from a longer video.
[note 1] The values of PTS have units: ticks. In most tools, PTS values are limited to 32 bits -- max value: 4294967295 ticks. The values of PTS intervals have units: ticks-per-frame. Ticks and ticks-per-frame and frames-per-second can be combined to compute max running time as follows:PTS intervals for various TBs ...[note 1] TB: 1/90000 1/180000 1/360000 24'fps: 3753.75 7507.5 15015 24fps: 3750 7500 15000 25fps: 3600 7200 14400 30'fps: 3003 6006 12012 30fps: 3000 6000 12000 60'fps: 1501.5 3003 6006 60fps: 1500 3000 6000 120'fps: 750.75 1501.5 3003 120fps: 750 1500 3000 max running time: 13:15:21 6:37:40 3:18:50 ...[note 2]
Max running time, seconds = (4294967295 ticks) / (PTS interval, ticks per frame) / (FPS, frames per second).Actual PTSs on commercial DVD & Bluray discs (i.e. in MPEG2-TSs) are 33 bits -- max value: 8589934591 ticks -- that, for 24'fps video, can support up to 2288360 frames (running times up to 26:30:43). Since MPEG-2 videos can be longer than 32 bits support, it is possible to encounter videos that can't be handled by existing video tools. What saves the situation is that such videos do not physically fit on DVD or Bluray discs.
Max running time, seconds = (4294967295 ticks) / (360000 ticks per second) = 11930.464708[3..] seconds = 3:18:50.464708[3..].For videos longer than 3:18:50 but less than 6:37:40, cut TB to 1/180000 and avoid making 24'fps or 120'fps videos.
PTS interval check = 1 / TB / FPS.For example:
1 / (1/180000) / 24'fps = 180000 / (24/1.001) = 180000 x 1.001 / 24 = 7507.5 fails the check whereas
1 / (1/360000) / 24'fps = 360000 / (24/1.001) = 360000 x 1.001 / 24 = 15015 passes the check.