Opened 12 years ago

Closed 12 years ago

#1624 closed enhancement (fixed)

add waveform filter for video

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

Description

For video inspection it could be helpful to have a waveform filter for video. I can replicate this by using yuvdiag (http://www.silicontrip.net/~mark/lavtools/yuvdiag.c) 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: www.youtube.com/watch?v=HXbLNbT8NRQ

Change History (4)

comment:1 by Carl Eugen Hoyos, 12 years ago

Component: undeterminedavfilter
Keywords: avfilter removed
Status: newopen

comment:2 by Elon Musk, 12 years ago

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 by Elon Musk, 12 years ago

Ignore, I found far more useful explanation here http://documentation.apple.com/en/color/usermanual/index.html#chapter=8%26section=3%26tasks=true

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

comment:4 by Elon Musk, 12 years ago

Resolution: fixed
Status: openclosed

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.