-
-
Notifications
You must be signed in to change notification settings - Fork 894
Implement Nellymoser decoder #1920
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
Conversation
2437424
to
75a35ed
Compare
Releasing the draft lock, ready for CR. One thing that I'm still not sure about is how |
Thank you for your awesome work! Do you have any interest in moving the nelly2pcm-rs repo to the Ruffle organization? You would remain the maintainer of the repo. This is, of course, entirely up to you. I don't know of any way to coax the Flash IDE to export the Nellymoser8k/16k codecs (I suspect these mostly come from FLV files, and it was added to SWF format for parity?) Perhaps @Dinnerbone could run scanner to search for Nellymoser8k/16k/Speex sound format. |
Sure, actually it would be a much more suitable place for it. I just need a permission to create public repositories in EDIT: On second thought, under the assumption that we intend this crate to be tightly-coupled with Ruffle, I don't see any advantage in placing it in a repository of its own. I see how it could easily complicate making changes and fixing bugs. Maybe we should put it as a separate crate on this repository, or even not in a separate crate at all, just like it used to be during the progress of this PR. @Herschel please let me know what do you think about that.
Sounds good. In the worst-case we can simply remain not supporting those compressions. |
597a444
to
eeaa72c
Compare
After talking on Discord, we decided that codecs can go in the same repo as subcrates under a |
0cd91d7
to
10e7a3b
Compare
c6494f3
to
711c06c
Compare
@Herschel Is there any reason for not merging this PR? |
c165f5e
to
876a436
Compare
Because Nellymoser and H.263 are the first proprietary formats we may support, I am consulting legal advice before proceeding. Thanks for the patience. |
After consulting with a few people, I think we're in the clear on this codec, and it's best to keep this in a separate repo (sorry for the back and forth). This gives us some degree of separation in case we have to yank that specific crate for any reason, and these codecs are fairly decoupled from the rest of Ruffle (compared to You should have access to create a private repo under the GitHub org; let's call it |
When will nellymoser be available in the ruffle firefox extension? Seems this might solve some problems with missing sound. |
Going to merge this, thanks for your work! In the future, I'd like to make nellymoser (and all codecs) optional features that are enabled by default. |
Based on
nellymoserdec.c
of FFmpeg, which is itself based onnelly2pcm
.TODO
RustDCT
to minimize code size.AudioCompression::Nellymoser16Khz
andAudioCompression::Nellymoser8Khz
.Fixes #1121, fixes #1118 and partially #5, #929, #1839.