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

Encode* does not set picture numbers correctly #29

Closed
GalenReich opened this issue Jul 17, 2020 · 0 comments · Fixed by #30
Closed

Encode* does not set picture numbers correctly #29

GalenReich opened this issue Jul 17, 2020 · 0 comments · Fixed by #30
Labels

Comments

@GalenReich
Copy link
Contributor

Picture numbers must have consecutive, ascending integer values, wrapping at (2**32)-1 back to 0.

Using EncodeHQ-ConstQ to encode the real_pictures file with

EncodeHQ-ConstQ \
    -x 1280 -y 720 -f 4:2:2 -z 10 -r 6 \
    -k LeGall -d 3 -a 2 -u 1 -v -q 0 -S 2 \
   ./real_pictures.16p2 ./encoded_real_pictures.vc2

gives a non-conformat bitstream with sequential pictures having a picture number of zero. It also gives a nonconformant stream when the interlaced flag (-i) is set

Encode_CBR produces nonconformant bitstream with the same error if the interlaced flag is set (but not otherwise).

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant