Skip to content

Commit 8349181

Browse files
Fix parsing workflows from mp4 (isobmff) (#3707)
1 parent 98b75e4 commit 8349181

File tree

1 file changed

+4
-1
lines changed

1 file changed

+4
-1
lines changed

src/scripts/metadata/isobmff.ts

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,10 @@ import {
99
IsobmffBoxContentRange
1010
} from '@/types/metadataTypes'
1111

12-
const MAX_READ_BYTES = 2 * 1024 * 1024
12+
// Set max read high, as atoms are stored near end of file
13+
// while search is made to be efficient.
14+
const MAX_READ_BYTES = 64 * 1024 * 1024
15+
1316
const BOX_TYPES = {
1417
USER_DATA: [0x75, 0x64, 0x74, 0x61],
1518
META_DATA: [0x6d, 0x65, 0x74, 0x61],

0 commit comments

Comments
 (0)