[FFmpeg-trac] #10519(ffplay:new): Ffplay playback dynaudnorm from pipe never works, but ffmpeg does

FFmpeg trac at avcodec.org
Sat Aug 12 07:54:42 EEST 2023


#10519: Ffplay playback dynaudnorm from pipe never works, but ffmpeg does
-------------------------------------+-------------------------------------
             Reporter:  Kei          |                     Type:  defect
               Status:  new          |                 Priority:  normal
            Component:  ffplay       |                  Version:  git-
             Keywords:  ffplay       |  master
  dynaudnorm stdin stdout pipe       |               Blocked By:
             Blocking:               |  Reproduced by developer:  0
Analyzed by developer:  0            |
-------------------------------------+-------------------------------------
 Summary of the bug:

 On windows, with the same command used in both examples, where
 some_program.exe launches the executable of "args" parameter with its
 arguments, then pipe wasapi loopback capture data of 32 bit float with 48k
 rate and 2 channels into pipe:0.

 Dynaudnorm does not work on stdin/pipe:0 for ffplay.
 The audio played in ffplay have no difference from the original, also
 shown in the display audio graph of ffplay.

 How to reproduce:
 {{{
 some_program.exe args ^
 ffplay.exe ^
 -autoexit
 -codec:a pcm_f32le ^
 -f f32le ^
 -ar 48000 ^
 -ac 2 ^
 -i pipe:0 ^
 -af dynaudnorm=f=10:g=3:m=100:n=1
 }}}

 But it works for ffmpeg.
 The audio has perceived difference when playback of saved test.opus.

 {{{
 some_program.exe args ^
 ffmpeg.exe ^
 -codec:a pcm_f32le ^
 -f f32le ^
 -ar 48000 ^
 -ac 2 ^
 -i pipe:0 ^
 -af dynaudnorm=f=10:g=3:m=100:n=1 ^
 -c:a libopus ^
 "test.opus"
 }}}
-- 
Ticket URL: <https://trac.ffmpeg.org/ticket/10519>
FFmpeg <https://ffmpeg.org>
FFmpeg issue tracker


More information about the FFmpeg-trac mailing list