-
Notifications
You must be signed in to change notification settings - Fork 42
Open
Description
I am unable to convert FSB version 5 files.
Command:
python3 extract.py file.fsbError Message:
Traceback (most recent call last):
File "C:\python-fsb5_win64\extract.py", line 131, in <module>
main()
File "C:\python-fsb5_win64\extract.py", line 127, in main
exit(app.run(sys.argv[1:]))
File "C:\python-fsb5_win64\extract.py", line 121, in run
self.handle_file(f)
File "C:\python-fsb5_win64\extract.py", line 99, in handle_file
fsb, ext = self.load_fsb(data)
File "C:\python-fsb5_win64\extract.py", line 55, in load_fsb
fsb = fsb5.load(data)
File "C:\python-fsb5_win64\fsb5\__init__.py", line 230, in load
return FSB5(data)
File "C:\python-fsb5_win64\fsb5\__init__.py", line 124, in __init__
self.header = self.header._replace(mode=SoundFormat(self.header.mode), size=buf.tell())
File "C:\Program Files\WindowsApps\PythonSoftwareFoundation.Python.3.9_3.9.3568.0_x64__qbz5n2kfra8p0\lib\enum.py", line 384, in __call__
return cls.__new__(cls, value)
File "C:\Program Files\WindowsApps\PythonSoftwareFoundation.Python.3.9_3.9.3568.0_x64__qbz5n2kfra8p0\lib\enum.py", line 702, in __new__
raise ve_exc
ValueError: 16 is not a valid SoundFormatMetadata
Metadata
Assignees
Labels
No labels