[FFmpeg-user] ebuR128 display of live source

Bouke / Videotoolshed bouke at videotoolshed.com
Fri Mar 3 13:31:40 EET 2023


> 
> On 1 Mar 2023, at 11:53, Bouke / Videotoolshed <bouke at videotoolshed.com> wrote:
> 
> Hi,
> Trying to get a visualisation of my levels during record / stream.
> This works fine for file based material:
> 
> ffplay -f lavfi -i "amovie=/Users/bouke/Downloads/test.wav,ebur128=video=1:meter=18:target=-16 [out0][out1]"
> 
> But I would like to have a live source (I’m on Mac, AVfoundation I guess.)


Tried the following:

ffplay -f lavfi -i "amovie='\:2':f=avfoundation,ebur128=video=1:meter=18:target=-16 [out0][out1]”

Closer, but still no cigar:
It does not throw an error, but nothing is shown, as if input is not fed to the ebur128 filter

 
ffplay version git-2021-03-31-b3e9a84 Copyright (c) 2003-2021 the FFmpeg developers
  built with Apple clang version 12.0.0 (clang-1200.0.32.29)
  configuration: --enable-videotoolbox --enable-nonfree --enable-gpl --enable-lv2 --enable-openssl --enable-libsvtav1 --enable-libx264 --enable-libx265 --enable-libvpx --enable-libxvid --enable-libvidstab --enable-libaom --enable-libopencore_amrnb --enable-libopencore_amrwb --enable-libmp3lame --enable-libopus --enable-libvorbis --enable-libtheora --enable-libfdk-aac --enable-libwebp --enable-libsrt --disable-debug --disable-doc --disable-shared --enable-pthreads --enable-static --enable-small --enable-version3 --enable-libfreetype --enable-libfontconfig --enable-decklink --extra-cflags='-I/Users/bouke/ffmpeg-build-script/workspace/include -I/Users/bouke/ffmpeg-build-script/include' --extra-ldexeflags= --extra-ldflags='-L/Users/bouke/ffmpeg-build-script/workspace/lib -L/Users/bouke/ffmpeg-build-script/include' --extra-libs='-ldl -lpthread -lm -lz' --pkgconfigdir=/Users/bouke/ffmpeg-build-script/workspace/lib/pkgconfig --pkg-config-flags=--static --prefix=/Users/bouke/ffmpeg-build-script/workspace
  libavutil      56. 63.101 / 56. 63.101
  libavcodec     58.117.101 / 58.117.101
  libavformat    58. 65.101 / 58. 65.101
  libavdevice    58. 11.103 / 58. 11.103
  libavfilter     7. 96.100 /  7. 96.100
  libswscale      5.  8.100 /  5.  8.100
  libswresample   3.  8.100 /  3.  8.100
  libpostproc    55.  8.100 / 55.  8.100
    nan    :  0.000 fd=   0 aq=    0KB vq=    0KB sq=    0B f=0/0   


More information about the ffmpeg-user mailing list