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

Figure out gpac flags for decoding frames #3

Open
maureendaum opened this issue Feb 1, 2021 · 1 comment
Open

Figure out gpac flags for decoding frames #3

maureendaum opened this issue Feb 1, 2021 · 1 comment
Assignees

Comments

@maureendaum
Copy link
Collaborator

maureendaum commented Feb 1, 2021

From #1 :

One more question about the build: the compiler complains about these lines, saying it can't convert flags to type GF_ISONaluExtractMode. I am not familiar with the gpac library, but it seems it is because the resulting bit-wise oring is not a "valid enum" value based on the source code for GF_ISONaluExtractMode. Based on this, is it sufficient to just pass the GF_ISOM_NALU_EXTRACT_ANNEXB_FLAG flag since if I am understanding it correctly, it will also apply the GF_ISOM_NALU_EXTRACT_INBAND_PS_FLAG flag? Passing just the GF_ISOM_NALU_EXTRACT_ANNEXB_FLAG flag gets me through the whole build, and I will test some runs next.

However, I don't see that issue, and when I remove GF_ISOM_NALU_EXTRACT_INBAND_PS_FLAG the decoder fails to output any frames after a selection.

@maureendaum
Copy link
Collaborator Author

None of the single flags available in GPAC 1.0.1 seem to work; the decoder fails to output any frames after a selection.
Using the combination of flags in GPAC 0.7.1 does work.

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