Skip to content

OverflowError: size does not fit in an int #28

@shecker

Description

@shecker

Hi Brendan, thanks for this awesome library.
I have noticed that I am unable to load videos greater than a certain size using this library. For example I am working with videos around 4GB in size and when I try to load those in via

import lintel
with open( 'a_4GB_video.MP4', 'rb') as f:
    video = f.read()
    decoded_frames, width, height = lintel.loadvid_frame_nums( video, frame_nums=2)

I get:

OverflowError: size does not fit in an int.

Could this be due to some 32bit code? I am able to use this library with smaller videos (~200mb works fine)
Thanks a lot.
Cheers,
Simon

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions