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

[Feature Request] Fixed frame- / pagesize #50

Open
SciLor opened this issue Mar 24, 2020 · 0 comments
Open

[Feature Request] Fixed frame- / pagesize #50

SciLor opened this issue Mar 24, 2020 · 0 comments

Comments

@SciLor
Copy link

SciLor commented Mar 24, 2020

I am currently in a project were we try to encode opus files into a specific custom file format.
There is a non opus file header first (usally 0x200 length). Then the real opus "file" starts.

Specialty: Every Opus Frame / Page has to start at a 0x1000 of the file or multiply of that. So the first page has to be 0x800 long, all following pages 0x1000.

Could somebody hint me how and where to implement it to opus-tools / libopusenc?

The manufacturer seemed to have use opus-tools or a custom fork of it for that:

                tags.Comment = "Lavf56.40.101";
                tags.Fields["encoder"] = "opusenc from opus-tools 0.1.9";
                tags.Fields["encoder_options"] = "--quiet --bitrate 96 --vbr";
                tags.Fields["pad"] = new string('0', 0x138);

Our custom C# encoder tool doing extact that
I think there is an extension of https://github.com/xiph/libopusenc needed
Audio Format Description

@SciLor SciLor changed the title [Feature Request] [Feature Request] Fixed frame- / pagesize Mar 24, 2020
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