The AV1 parser doesn't read enough bytes for the ispe element - getting the correct values requires looping over every OBU_FRAME or OBU_FRAME_HEADER in the source bitstream and finding the maximum size, but currently it only reads one block (currently 5000 bytes). There are a couple of solutions for this, but I'd like to know which one is appropriate for gpac.

1. Configure the AV1 parser to read an arbitrary number of bytes.
2. Use a function like av1_get_layer_size added by my a1lx PR specifically for the ispe element to determine sizes (it could in fact be the exact same function).

Thanks for reporting your issue. Please make sure these boxes are checked before submitting your issue - thank you!

- [x] I looked for a similar issue and couldn't find any.
- [x] I tried with the latest version of GPAC. Installers available at http://gpac.io/downloads/gpac-nightly-builds/
- [x] I give enough information for contributors to reproduce my issue (meaningful title, github labels, platform and compiler, command-line ...). I can share files anonymously with this dropbox: https://www.mediafire.com/filedrop/filedrop_hosted.php?drop=eec9e058a9486fe4e99c33021481d9e1826ca9dbc242a6cfaab0fe95da5e5d95

Detailed guidelines: http://gpac.io/2013/07/16/how-to-file-a-bug-properly/

AV1 parser doesn't read enough to get correct size for ispe element
This is a GitHub Issue
repo:gpac
owner:gpac
Title : AV1 parser doesn't read enough to get correct size for ispe element
Issue date:

--- start body ---
The AV1 parser doesn't read enough bytes for the ispe element - getting the correct values requires looping over every OBU_FRAME or OBU_FRAME_HEADER in the source bitstream and finding the maximum size, but currently it only reads one block (currently 5000 bytes). There are a couple of solutions for this, but I'd like to know which one is appropriate for gpac.

1. Configure the AV1 parser to read an arbitrary number of bytes.
2. Use a function like av1_get_layer_size added by my a1lx PR specifically for the ispe element to determine sizes (it could in fact be the exact same function).

Thanks for reporting your issue. Please make sure these boxes are checked before submitting your issue - thank you!

- [x] I looked for a similar issue and couldn't find any.
- [x] I tried with the latest version of GPAC. Installers available at http://gpac.io/downloads/gpac-nightly-builds/
- [x] I give enough information for contributors to reproduce my issue (meaningful title, github labels, platform and compiler, command-line ...). I can share files anonymously with this dropbox: https://www.mediafire.com/filedrop/filedrop_hosted.php?drop=eec9e058a9486fe4e99c33021481d9e1826ca9dbc242a6cfaab0fe95da5e5d95

Detailed guidelines: http://gpac.io/2013/07/16/how-to-file-a-bug-properly/

--- end body ---
