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: Support audio channel mask with Avs+ r4001 #35

Closed
tebasuna51 opened this issue Jul 9, 2023 · 3 comments
Closed

Feature Request: Support audio channel mask with Avs+ r4001 #35

tebasuna51 opened this issue Jul 9, 2023 · 3 comments

Comments

@tebasuna51
Copy link

The last Avs+ r4001 support the audio property Channel Mask included in VideoInfo struct.

See the new Avisynth.h in https://github.com/AviSynth/AviSynthPlus/blob/master/avs_core/include/avisynth.h
to know how it is stored in the existing int image_type.

Audio decoders must fill that info like do in audio_output.cpp:

...
vi->nchannels = output_channels;
vi->audio_samples_per_second = aohp->output_sample_rate;
...
Now we need:
vi-> image_type = ...

@Asd-g
Copy link
Contributor

Asd-g commented Jul 14, 2023

Try the attached version.

LSMASHSource_test.zip

@tebasuna51
Copy link
Author

Seems work fine for me with some samples ac3, eac3 and dts
I'll continue testing with other samples.

@FranceBB
Copy link

Thanks for the Channel Mask property support, works like a charm in the stable build. :)
Now we just need ffmpeg support and we're good to go in production. :D

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

3 participants