nable to preserve channel positions using wasapi + opusenc + opusdec

classic Classic list List threaded Threaded
1 message Options
Reply | Threaded
Open this post in threaded view
|

nable to preserve channel positions using wasapi + opusenc + opusdec

ignazp
Hello Im trying to decode a 7.1 audio stream encoded with opus (on windows), but I'm noticing that the channel positions after decoding is not the expected one [FL FR FC LFE1 RL RR SL SR], as reported also by wasapi's logs. I reproduced the issue using audiotestsrc and a mix matrix that filters all channels but the CENTRAL one (3° channel), after the decoding the channel is the 5° one.
set MAT_CENTRAL="<<(float)0.0, (float)0.0, (float)0.0, (float)0.0, (float)0.0, (float)0.0, (float)0.0, (float)0.0>,  <(float)0.0, (float)0.0, (float)0.0, (float)0.0, (float)0.0, (float)0.0, (float)0.0, (float)0.0>,  <(float)0.0, (float)0.0, (float)1.0, (float)0.0, (float)0.0, (float)0.0, (float)0.0, (float)0.0>,  <(float)0.0, (float)0.0, (float)0.0, (float)0.0, (float)0.0, (float)0.0, (float)0.0, (float)0.0>,  <(float)0.0, (float)0.0, (float)0.0, (float)0.0, (float)0.0, (float)0.0, (float)0.0, (float)0.0>,  <(float)0.0, (float)0.0, (float)0.0, (float)0.0, (float)0.0, (float)0.0, (float)0.0, (float)0.0>,  <(float)0.0, (float)0.0, (float)0.0, (float)0.0, (float)0.0, (float)0.0, (float)0.0, (float)0.0>,  <(float)0.0, (float)0.0, (float)0.0, (float)0.0, (float)0.0, (float)0.0, (float)0.0, (float)0.0>>"

audiotestsrc ! audioconvert mix-matrix=%MAT_CENTRAL% ! audio/x-raw,format=S16LE,layout=interleaved,channels=8 ! opusenc bitrate=128000 ! opusdec ! audioconvert ! wasapisink
Any suggestion?
Ignazio


Sent from the GStreamer-devel mailing list archive at Nabble.com.

_______________________________________________
gstreamer-devel mailing list
[hidden email]
https://lists.freedesktop.org/mailman/listinfo/gstreamer-devel
Ignazio