Skip to content
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

Vorbis: Multiple logical bitstreams #70

Open
mattgwwalker opened this issue Dec 11, 2020 · 0 comments
Open

Vorbis: Multiple logical bitstreams #70

mattgwwalker opened this issue Dec 11, 2020 · 0 comments

Comments

@mattgwwalker
Copy link
Collaborator

PyOgg doesn't currently support Vorbis files with multiple logical bitstreams.

A logical bitstream may have a different number of channels or even a different sampling rate (see https://xiph.org/vorbis/doc/vorbisfile/ov_read.html).

Vorbis files with multiple logical bitstreams could be supported by chaining VorbisFile instances (with say a 'next' attribute that points to the next VorbisFile that would contain the PCM for the next logical bitstream).

A considerable constraint to implementing this was that examples files that demonstrated multiple logical bitstreams couldn't be found or created. Thus, if anyone is impacted by this issue, it would be extremely useful if you could share example Vorbis files that have multiple logical bitstreams.

Note that even Audacity doesn't handle multiple logical bitstreams (see https://wiki.audacityteam.org/wiki/OGG#Importing_multiple_stream_files).

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant