[FFmpeg-user] Problem with astats and adrawgraph

Michael Koch astroelectronic at t-online.de
Mon Nov 25 01:08:56 EET 2019

Am 24.11.2019 um 22:17 schrieb Michael Koch:
> Hello all,
> I'd like to draw a curve of the RMS audio level with the following 
> command line. The problem is that the output is a black video and no 
> curve is visible.
> c://ffmpeg/ffmpeg -i P1000479.mov -lavfi astats,adrawgraph=
> m1="lavfi.astats.RMS level 
> dB":mode=line:slide=scroll:min=-100:max=100:size=1920
> x270:fg1=0xffffffff:bg=0x000000ff -pix_fmt yuv420p -t 10 -y test.mp4
> However when I replace
>  astats,adrawgraph=m1="lavfi.astats.RMS level dB"
> for example by
>  signalstats,drawgraph=m1="lavfi.signalstats.YAVG"
> then a curve is shown as expected.
> What's wrong in this part?
> astats,adrawgraph=m1="lavfi.astats.RMS level dB"

I just found the solution to this problem myself:

The underline character is missing in the documentation, where the 
option is called "RMS level dB". Same problem for most other options too.

But now I have another problem. I'm simultaneously using drawgraph and 
adrawgraph, but they don't run synchronously in X direction. The 
adrawgraph is approximately twice as fast as drawgraph.


More information about the ffmpeg-user mailing list