Matthew
20th October 2006, 07:09
Lets say one is encoding at 25fps using a list of i-frames, then uses DGPulldown to get 29.97 fps.
How does one convert the frame values exactly, in order to get the chapter points?
The method I've currently used is to use FLOOR(29.97/25) and then let MuxMan pick the next i-frame (which will sometimes be the frame provided and sometimes be the frame provided+1).
To illustrate my point, example from below:
79656.6636 gets rounded down.
121813.6644 gets rounded up.
PAL PAL*29.97/25 Actual (from muxman)
0 0 0
11283 13526.0604 13526
18702 22419.9576 22420
21315 25552.422 25552
28203 33809.7564 33810
31815 38139.822 38140
34842 41768.5896 41768
38427 46066.2876 46066
43242 51838.5096 51838
49368 59182.3584 59182
54603 65458.0764 65458
66447 79656.6636 79656
81279 97437.2652 97437
86997 104292.0036 104292
101613 121813.6644 121814
109051 130730.3388 130730
117883 141318.1404 141318
126733 151927.5204 151927
131122 157189.0536 157189
140059 167902.7292 167903
147865 177260.562 177260
158527 190042.1676 190042
176257 211296.8916 211296
188158 225563.8104 225563
192763 231084.2844 231084
200035 239801.958 239801
How does one convert the frame values exactly, in order to get the chapter points?
The method I've currently used is to use FLOOR(29.97/25) and then let MuxMan pick the next i-frame (which will sometimes be the frame provided and sometimes be the frame provided+1).
To illustrate my point, example from below:
79656.6636 gets rounded down.
121813.6644 gets rounded up.
PAL PAL*29.97/25 Actual (from muxman)
0 0 0
11283 13526.0604 13526
18702 22419.9576 22420
21315 25552.422 25552
28203 33809.7564 33810
31815 38139.822 38140
34842 41768.5896 41768
38427 46066.2876 46066
43242 51838.5096 51838
49368 59182.3584 59182
54603 65458.0764 65458
66447 79656.6636 79656
81279 97437.2652 97437
86997 104292.0036 104292
101613 121813.6644 121814
109051 130730.3388 130730
117883 141318.1404 141318
126733 151927.5204 151927
131122 157189.0536 157189
140059 167902.7292 167903
147865 177260.562 177260
158527 190042.1676 190042
176257 211296.8916 211296
188158 225563.8104 225563
192763 231084.2844 231084
200035 239801.958 239801