본문 바로가기

WebRTC

aec_dump 관련 내용

Using unpack_aecdump

After building unpack_aecdump I copied it to a different location and used it as follows:

./unpack_aecdump audio_debug.4440.aec_dump.1

The first line below is the input file, the others are the output files (file size in bytes at the front). If the output files already exist they are overwritten.

163865593 audio_debug.4440.aec_dump.1 643 settings.txt 39862916 reverse0.wav 21696044 ref_out0.wav 19933244 input0.wav

Do note that input0.wav is exactly the same file as audio_debug.4440.source_input.1.wav, which I also got from chrome://webrtc-internals together with the aecdump file.

The meaning of those files are also explained in https://groups.google.com/d/msg/discuss-webrtc/NxPHdEAyU9k/QcH-DkVtD6oJ:

  • reverse.pcm: the received audio from the network, bound for rendering.
  • input.pcm: the captured audio, before audio processing.
  • ref_out.pcm: the captured audio, after audio processing, bound for the network.

    Using unpack_aecdump

    After building unpack_aecdump I copied it to a different location and used it as follows:

    ./unpack_aecdump audio_debug.4440.aec_dump.1

    The first line below is the input file, the others are the output files (file size in bytes at the front). If the output files already exist they are overwritten.

    163865593 audio_debug.4440.aec_dump.1 643 settings.txt 39862916 reverse0.wav 21696044 ref_out0.wav 19933244 input0.wav

    Do note that input0.wav is exactly the same file as audio_debug.4440.source_input.1.wav, which I also got from chrome://webrtc-internals together with the aecdump file.

    The meaning of those files are also explained in https://groups.google.com/d/msg/discuss-webrtc/NxPHdEAyU9k/QcH-DkVtD6oJ:

    • reverse.pcm: the received audio from the network, bound for rendering.
    • input.pcm: the captured audio, before audio processing.
    • ref_out.pcm: the captured audio, after audio processing, bound for the network.

'WebRTC' 카테고리의 다른 글

WebRTC 실제 테스트  (0) 2020.07.30
SoX 명령어 cheat sheet  (0) 2020.07.22
webRTC aec3 pipline  (0) 2020.06.16
chromium echo cancellation 테스트  (0) 2020.06.05
chromium 빌드하기  (0) 2020.06.03