Opened 8 years ago

Closed 8 years ago

#1624 closed enhancement (fixed)

add waveform filter for video

Reported by: dericed Owned by:
Priority: wish Component: avfilter
Version: git-master Keywords:
Cc: Blocked By:
Blocking: Reproduced by developer: no
Analyzed by developer: no


For video inspection it could be helpful to have a waveform filter for video. I can replicate this by using yuvdiag ( with mjpegtools and running:

ffmpeg -f lavfi -i mandelbrot -pix_fmt yuv420p -f yuv4mpegpipe - | ./yuvdiag -l | ffplay -i -

I'd recommend allowing options to select Y, U, and/or V individually to show either overlaid or in parade mode.

I uploaded an output of the above command here:

Change History (4)

comment:1 Changed 8 years ago by cehoyos

  • Component changed from undetermined to avfilter
  • Keywords avfilter removed
  • Status changed from new to open

comment:2 Changed 8 years ago by richardpl

Implemented as histogram filter: "-vf histogram=mode=waveform:step=2:waveform_mode=column" gives same output as yuvdiag.

Do you really need u & v component in waveform mode? How should it be done?

comment:3 Changed 8 years ago by richardpl

Ignore, I found far more useful explanation here

Some stuff is done slightly different and some others are missing.
I will work on missing stuff and than close this bug.

comment:4 Changed 8 years ago by richardpl

  • Resolution set to fixed
  • Status changed from open to closed

I do not consider separate/combination Y/U/V/R/G/B/A that important. I may eventually implement it anyway.

Note: See TracTickets for help on using tickets.