mirror of
https://git.ffmpeg.org/ffmpeg.git
synced 2024-12-14 11:14:44 +00:00
1270e12e49
Current code compares the desired recording time with InputStream.pts, which has a very unclear meaning. Change the code to use actual timestamps of the frames passed to the encoder. In several tests, one less frame is encoded, which is more correct. In the idroq test one more frame is encoded, which is again more correct. Behavior with stream copy should be unchanged.
45 lines
2.5 KiB
Plaintext
45 lines
2.5 KiB
Plaintext
ret: 0 st: 0 flags:1 dts: 0.000000 pts: 0.000000 pos: 9908 size: 27867
|
|
ret: 0 st:-1 flags:0 ts:-1.000000
|
|
ret: 0 st: 0 flags:1 dts: 0.000000 pts: 0.000000 pos: 9908 size: 27867
|
|
ret: 0 st:-1 flags:1 ts: 1.894167
|
|
ret: 0 st: 0 flags:1 dts: 0.960000 pts: 0.960000 pos: 301466 size: 27864
|
|
ret: 0 st: 0 flags:0 ts: 0.800000
|
|
ret: 0 st: 0 flags:1 dts: 0.960000 pts: 0.960000 pos: 301466 size: 27864
|
|
ret:-1 st: 0 flags:1 ts:-0.320000
|
|
ret:-1 st: 1 flags:0 ts: 2.586122
|
|
ret: 0 st: 1 flags:1 ts: 1.462857
|
|
ret: 0 st: 1 flags:1 dts: 0.992653 pts: 0.992653 pos: 329556 size: 209
|
|
ret: 0 st:-1 flags:0 ts: 0.365002
|
|
ret: 0 st: 0 flags:1 dts: 0.480000 pts: 0.480000 pos: 156166 size: 27955
|
|
ret:-1 st:-1 flags:1 ts:-0.740831
|
|
ret:-1 st: 0 flags:0 ts: 2.160000
|
|
ret: 0 st: 0 flags:1 ts: 1.040000
|
|
ret: 0 st: 0 flags:1 dts: 0.960000 pts: 0.960000 pos: 301466 size: 27864
|
|
ret: 0 st: 1 flags:0 ts:-0.052245
|
|
ret: 0 st: 1 flags:1 dts: 0.000000 pts: 0.000000 pos: 37784 size: 208
|
|
ret: 0 st: 1 flags:1 ts: 2.847347
|
|
ret: 0 st: 1 flags:1 dts: 0.992653 pts: 0.992653 pos: 329556 size: 209
|
|
ret:-1 st:-1 flags:0 ts: 1.730004
|
|
ret: 0 st:-1 flags:1 ts: 0.624171
|
|
ret: 0 st: 0 flags:1 dts: 0.480000 pts: 0.480000 pos: 156166 size: 27955
|
|
ret: 0 st: 0 flags:0 ts:-0.480000
|
|
ret: 0 st: 0 flags:1 dts: 0.000000 pts: 0.000000 pos: 9908 size: 27867
|
|
ret: 0 st: 0 flags:1 ts: 2.400000
|
|
ret: 0 st: 0 flags:1 dts: 0.960000 pts: 0.960000 pos: 301466 size: 27864
|
|
ret:-1 st: 1 flags:0 ts: 1.306122
|
|
ret: 0 st: 1 flags:1 ts: 0.208980
|
|
ret: 0 st: 1 flags:1 dts: 0.208980 pts: 0.208980 pos: 92800 size: 209
|
|
ret: 0 st:-1 flags:0 ts:-0.904994
|
|
ret: 0 st: 0 flags:1 dts: 0.000000 pts: 0.000000 pos: 9908 size: 27867
|
|
ret: 0 st:-1 flags:1 ts: 1.989173
|
|
ret: 0 st: 0 flags:1 dts: 0.960000 pts: 0.960000 pos: 301466 size: 27864
|
|
ret: 0 st: 0 flags:0 ts: 0.880000
|
|
ret: 0 st: 0 flags:1 dts: 0.960000 pts: 0.960000 pos: 301466 size: 27864
|
|
ret:-1 st: 0 flags:1 ts:-0.240000
|
|
ret:-1 st: 1 flags:0 ts: 2.664490
|
|
ret: 0 st: 1 flags:1 ts: 1.567347
|
|
ret: 0 st: 1 flags:1 dts: 0.992653 pts: 0.992653 pos: 329556 size: 209
|
|
ret: 0 st:-1 flags:0 ts: 0.460008
|
|
ret: 0 st: 0 flags:1 dts: 0.480000 pts: 0.480000 pos: 156166 size: 27955
|
|
ret:-1 st:-1 flags:1 ts:-0.645825
|