Writing to ogg crashes Python
See original GitHub issueWindows 10 x64, Python 3.8.1. PySoundFile installed with pip install pysoundfile
.
With Python’s interactive interpreter from the command line (directly typing python
in cmd), I opened an ogg file (about 37 seconds long, sample rate 48000, 6 channels), and wrote the same data back to another ogg. This caused python to exit without printing any error message. Writing the same data to a wav file does not cause any error whatsoever.
If there is any other information I need to provide to help solve the issue, please let me know 😕
Issue Analytics
- State:
- Created 3 years ago
- Comments:5 (3 by maintainers)
Top Results From Across the Web
Working with Ogg files using Python - Stack Overflow
When I'm trying to execute this script Python interpreter crashes. The source code of this script is: import getopt import ogg.vorbis import ...
Read more >pyrogg - PyPI
pyrogg is a simple recoding library for Ogg-Vorbis audio files, implemented in Cython. It reads Vorbis streams from the provided input files and...
Read more >PyGame: A Primer on Game Programming in Python
This primer assumes you have a basic understanding of writing Python programs, including user-defined functions, imports, loops, and conditionals.
Read more >ffmpeg Documentation
Otherwise, the metadata will be written into the output file if the muxer supports it. ... ffmpeg -i INPUT -codec:v libtheora -b:v 1000k...
Read more >Bug listing with status RESOLVED with resolution OBSOLETE ...
issue with udev ("the udev init script is written for baselayout 2, ... of MP3 and Ogg Vorbis files" status:RESOLVED resolution:OBSOLETE severity: ...
Read more >
Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free
Top Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Does the problem occur for any kind of ogg file, or is it specific to this data or sample rate or number of channels?
At any rate, this problem is likely a bug in libsndfile, not SoundFile.
This sounds like there is a conflict between a version of libvorbis loaded by Qt and by libsndfile. Conflicts such as these are colloquially known as “DLL Hell”. Essentially, C libraries export a list of symbols (functions, constants, etc), and if you load a C library twice, only one set of symbols can be active. If you load two different versions of the library, you have a problem.