Comments (5)
from pyogg.
Thank you for your help
Yes, three minutes long.
Unexpectedly use OpusFileReader for writing, when OpusFileWriter is present.
Those classes are still a work in progress and their interfaces may still change.
I will assume that OpusFileReader, OpusFileStream and OpusEncoder, at the types level, must have a similar interface to return a stream. It doesn't matter where we get the data from, OpusFileWriter only writes the opus stream. Pipeline read/encode -> write
from pyogg.
I have added an example demonstrating how two OggOpus files can be concatenated together. Please see https://github.com/TeamPyOgg/PyOgg/blob/master/examples/03b-concat-ogg-opus.py
I would recommend you clone the latest repository from Github. This will give you the most recent version of PyOgg (unreleased), plus the example code and audio files that it uses.
Again, these interfaces have not been finalized, so please expect breaking changes in the (fairly near) future. However I expect that none of the changes will be very difficult for you to adapt to.
Are you happy that I close this issue?
Cheers,
Matthew
from pyogg.
Also, my apologies for any confusion my first reply caused: OpusFileReader
does not exist :o) Consider instead OpusFileStream
or OpusFile
. In the example I used OpusFile
.
from pyogg.
Are you happy that I close this issue?
no problems. Good luck. And thanks again.
from pyogg.
Related Issues (20)
- Release latest master
- opus_file.bytes_per_sample missing
- PyOggError: File 'test.ogg' couldn't be opened or doesn't exist. Error code: -132 HOT 2
- issue loading libs when using 32bit python on 64bit windows
- How to parse ogg-stream from websocket? HOT 2
- ImportError: cannot import name 'OpusDecoder' from 'pyogg' HOT 1
- AttributeError: module 'pyogg.opus' has no attribute 'opus_int32' HOT 6
- On Windows, non-ascii path breaks VorbisFile HOT 1
- Docs: include simple oneliner for apt-get install of common dependencies on Linux HOT 2
- as_array() method for OpusFile is not available HOT 6
- Playing a file with PyAudio HOT 8
- About how to generate .ogg/opus file when i have data(binary file) by opus_encode(...) function C language API
- How install the pyogg dependency in Ubuntu 18.04 HOT 1
- OpusFile and OpusFileStream: Open Opus files from memory. HOT 4
- Memory leaks in PyOgg?
- OggOpusWriter: Incorrect duration when sample rate is not 48kHz.
- How to install pyogg 0.7 in termux? HOT 1
- Why `bytes_per_sample` for opus file is restricted to 16 bits?
- ERROR: Could not find a version that satisfies the requirement pyogg>=0.6.14a1 HOT 2
- Problems of loading opus library
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from pyogg.