ArdenButterfield / stammer

Recreate any audio track by rearranging the frames of another video
MIT License
434 stars 29 forks source link

OverflowError: cannot fit 'int' into an index-sized integer #86

Open dinorokii opened 4 months ago

dinorokii commented 4 months ago

I have received this error and I haven't seen it in Issues yet

raceback (most recent call last):
  File "C:\Users\Dinoroki\AppData\Local\Programs\Python\Python39-32\lib\site-packages\scipy\io\wavfile.py", line 462, in _read_data_chunk
    data = numpy.fromfile(fid, dtype=dtype, count=count)
io.UnsupportedOperation: fileno

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "C:\Users\Dinoroki\stammer-main\stammer.py", line 307, in <module>
    main()
  File "C:\Users\Dinoroki\stammer-main\stammer.py", line 303, in main
    process(**vars(args))
  File "C:\Users\Dinoroki\stammer-main\stammer.py", line 240, in process
    _, carrier_audio = wavfile.read(get_audio_as_wav_bytes(carrier_path))
  File "C:\Users\Dinoroki\AppData\Local\Programs\Python\Python39-32\lib\site-packages\scipy\io\wavfile.py", line 689, in read
    data = _read_data_chunk(fid, format_tag, channels, bit_depth,
  File "C:\Users\Dinoroki\AppData\Local\Programs\Python\Python39-32\lib\site-packages\scipy\io\wavfile.py", line 465, in _read_data_chunk
    data = numpy.frombuffer(fid.read(size), dtype=dtype)
OverflowError: cannot fit 'int' into an index-sized integer

i don't know if this is painfully obvious why it isn't working or something