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

Opaque error when compressedBytes is too large #47

Closed
GalenReich opened this issue Oct 6, 2020 · 0 comments · Fixed by #50
Closed

Opaque error when compressedBytes is too large #47

GalenReich opened this issue Oct 6, 2020 · 0 comments · Fixed by #50
Labels

Comments

@GalenReich
Copy link
Contributor

The error: Error: Bytes: value bigger than specified number of bytes is thrown when the compressedBytes parameter is too large.

It can be reproduced using the following command, which uses unreasonably large (but valid size) slices.

EncodeStream --compressedBytes 527521 --fragmentLength 0 --prefix 0 --scalar 419 --framerate 3 --width1280 --height 720 --format 4:2:2 --bytes 2 --bitDepth 10 --kernel LeGall --waveletDepth 3 --vSlice 90 --hSlice 80 --output Stream --mode HQ_CBR --verbose ./linear_ramps.16p2 linear_ramps_test.vc2

In this example the number of allocated bytess (527521) is on the cusp of success, --compressedBytes 527520 succeeds.

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