Skip to content

Basic custom Ogg Opus comment tag write support #111

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

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

AlexTMjugador
Copy link

These changes let PyOgg users add custom comment tags to the generated stream, as opposed to the current behavior of hardcoding no comment tags on all cases, which can come in handy for stream identification requirements.

While at it, I've tweaked the vendor string from ENCODER=PyOgg to PyOgg <VERSION>, where <VERSION> is the value of the __version__ variable at __init__.py. The rationale for this change is that this brings the vendor string format more in line with the conventions used by libopus and other encoders (such as FFmpeg and libavcodec), while also being more useful to track the precise encoder code used to generate the stream thanks to the addition of the version number.

These changes let PyOgg users add custom comment tags to the generated
stream, as opposed to the current behavior of hardcoding no comment tags
on all cases, which can come in handy for stream identification
requirements.

While at it, I've tweaked the vendor string from `ENCODER=PyOgg` to
`PyOgg <VERSION>`, where `<VERSION>` is the value of the `__version__`
variable at `__init__.py`. The rationale for this change is that this
brings the vendor string format more in line with the conventions
used by libopus and other encoders (such as FFmpeg and libavcodec),
while also being more useful to track the precise encoder code used to
generate the stream thanks to the addition of the version number.
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

Successfully merging this pull request may close these issues.

1 participant