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

Guard Bits In CINEMA2K Profile #1340

Closed
anderson1077 opened this issue Apr 8, 2021 · 3 comments · Fixed by #1559
Closed

Guard Bits In CINEMA2K Profile #1340

anderson1077 opened this issue Apr 8, 2021 · 3 comments · Fixed by #1559

Comments

@anderson1077
Copy link

All CINEMA profiles result in 2 guard bits. SMPTE RDD-52 now specifies 1 guard bit for CINEMA2K and 2 guard bits for CINEMA4K. This appears to be a hard-coded parameter, and would be great to either change it to match the recommendation or make it a user definable parameter.

Also note that RDD-52 also specifies a cblk of 32,32, whereas the default is 64,64. There is already an option to override this.

@MarcAntoine-Arnaud
Copy link

MarcAntoine-Arnaud commented Nov 7, 2024

By doing same as here, it's possible to set the guard bits to 1.

I have submitted a patch on FFmpeg to be able to set this parameter in libopenjpeg encoder.

@rouault
Copy link
Collaborator

rouault commented Nov 7, 2024

@anderson1077 / @MarcAntoine-Arnaud could you check if #1559 fixes the issue?

@MarcAntoine-Arnaud
Copy link

It's sounds perfect !
I will keep my patch on ffmpeg for now as I not sure to be able to use latest openjpeg version.

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

Successfully merging a pull request may close this issue.

3 participants