-
Notifications
You must be signed in to change notification settings - Fork 1k
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
Unable to process >4GB files
error for M4B files much smaller than 4GB
#757
Comments
Hi, Python 3.12.0, Win11, 64bit called viafrom pydub import AudioSegment
path = "my full path without spaces.mp3"
AudioSegment.from_file(path, format="mp3") Stacktrace
|
The error message is a little misleading: what it should really say is that it can't process uncompressed (i.e., What happens behind the scenes is that Maybe |
Is there a reason this 4GB limit exists? I have a lot more RAM than that nowadays. E: Oh that's why. https://stackoverflow.com/a/27880366/1149933
That's annoying. |
Steps to reproduce
Use
AudioSegment.from_file(file_path)
to load a moderately large M4B file. I am using one which is 638MB.In case it's relevant,
ffprobe -i [MY_M4B_FILE]
shows chapter information plusExpected behavior
AudioSegment.from_file(file_path)
should load files <4GB without error.Actual behavior
AudioSegment.from_file(file_path)
throwsUnable to process >4GB files
error.Your System configuration
ffmpeg version 6.0 Copyright (c) 2000-2023 the FFmpeg developers built with Apple clang version 14.0.3 (clang-1403.0.22.14.1) configuration: --prefix=/opt/homebrew/Cellar/ffmpeg/6.0-with-options_4 --enable-shared --cc=clang --host-cflags= --host-ldflags= --enable-gpl --enable-libaom --enable-libdav1d --enable-libmp3lame --enable-libopus --enable-libsnappy --enable-libtheora --enable-libvorbis --enable-libvpx --enable-libx264 --enable-libx265 --enable-libfontconfig --enable-libfreetype --enable-frei0r --enable-libass --enable-demuxer=dash --enable-opencl --enable-audiotoolbox --enable-videotoolbox --enable-neon --disable-htmlpages --enable-libfdk-aac --enable-nonfree
Is there an audio file you can include to help us reproduce?
The audio file in question is not public domain. If this is not expected behavior and will be fixed, I can work on providing a public domain file to reproduce the issue.
The text was updated successfully, but these errors were encountered: