Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Decoding timestamps do not increase monotonically #23

Open
matteo-agnelli opened this issue Apr 29, 2019 · 0 comments
Open

Decoding timestamps do not increase monotonically #23

matteo-agnelli opened this issue Apr 29, 2019 · 0 comments

Comments

@matteo-agnelli
Copy link

Describe the bug

In order to proper package (for example, into mp4 files) the encoder output, the encoded frames are expected to be returned in increasing decode timestamp (DTS) order. This is, however, not happening. Or, to be more precise, it seems that DTSs are jumping backwards after a few frames.

To Reproduce

Encode some frames with the 'encoder_encode()' function and observe the values of the 'dts' field of the encoded frames.

Expected behavior

DTSs are expected to increase monotonically (no backwards jump).

Screenshots

PTSs/DTSs trend from a simple test:
avs2

Desktop (please complete the following information):

  • Issues reproduced under MacOS 10.12/10.13, Microsoft Visual Studio 2015/2017 and Debian 9
  • Encoder compiled with nasm 2.14
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant