mix-matrix in audioconvert plugin ignored for some files
moritz.vieli
moritz.vieli at gmail.com
Sat Dec 15 16:57:27 UTC 2018
Hi there
I have two test files:
- 4 channels: https://www.dropbox.com/s/bzw7c66d0asrcob/ok.wav?dl=0
- 2 channels: https://www.dropbox.com/s/yk1nbkied5se8xa/nok.wav?dl=0
The files are played with the following pipelines:
- ok.wav: gst-launch-1.0 uridecodebin uri=file:///test/ok.wav ! audioconvert
mix-matrix="<<(float)0.0, (float)0.0, (float)0.0, (float)0.0>, <(float)0.0,
(float)0.0, (float)0.0, (float)0.0>>" ! audioresample ! osxaudiosink
- nok.wav: gst-launch-1.0 uridecodebin uri=file:///test/nok.wav !
audioconvert mix-matrix="<<(float)0.0, (float)0.0>, <(float)0.0,
(float)0.0>>" ! audioresample ! osxaudiosink
Now, I'd expect both files to be played completely silent. It works
perfectly for ok.wav, but unfortunately, the mix-matrix seems to be
completely ignored for nok.wav and the file is played in stereo.
Here is the output of gst-discoverer-1.0:
ok.wav
----
Topology:
audio: audio/x-wav
Tags:
Containerformat: WAV
Bitrate: 5644800
Audio-Codec: Uncompressed 32-bit IEEE float audio
Codec:
audio/x-wav
Additional info:
None
Stream ID: 341a6ef67d495ed33284a5b4182f6232
Language: <unknown>
Channels: 4 (front-left, front-right, rear-left, rear-right)
Sample rate: 44100
Depth: 32
Bitrate: 5644800
Max bitrate: 0
Properties:
Duration: 0:00:17.280000000
Seekable: yes
Live: no
Tags:
Containerformat: WAV
Bitrate: 5644800
Audio-Codec: Uncompressed 32-bit IEEE float audio
nok.wav
----
Topology:
audio: audio/x-wav
Tags:
Containerformat: WAV
Bitrate: 2822400
Audio-Codec: Uncompressed 32-bit IEEE float audio
Codec:
audio/x-wav
Additional info:
None
Stream ID: 0f9d10198a75ec7f310075e4f27d4d97
Language: <unknown>
Channels: 2 (front-left, front-right)
Sample rate: 44100
Depth: 32
Bitrate: 2822400
Max bitrate: 0
Properties:
Duration: 0:04:02.744784581
Seekable: yes
Live: no
Tags:
Containerformat: WAV
Bitrate: 2822400
Audio-Codec: Uncompressed 32-bit IEEE float audio
I am running Gstreamer 1.14. Apart from the the different channel count, I
could not figure a relevant difference. Do you have an idea, why the
mix-matrix does not work for nok.wav?
Best,
Moritz
--
Sent from: http://gstreamer-devel.966125.n4.nabble.com/
More information about the gstreamer-devel
mailing list