[FFmpeg-trac] #5076(avfilter:closed): Add options for background and waveform colors in showwaves

FFmpeg trac at avcodec.org
Fri Jan 29 04:23:07 CET 2016


#5076: Add options for background and waveform colors in showwaves
-------------------------------------+-------------------------------------
             Reporter:  llogan       |                    Owner:
                 Type:  enhancement  |                   Status:  closed
             Priority:  wish         |                Component:  avfilter
              Version:  git-master   |               Resolution:  fixed
             Keywords:  showwaves,   |               Blocked By:
  showwavespic                       |  Reproduced by developer:  0
             Blocking:               |
Analyzed by developer:  0            |
-------------------------------------+-------------------------------------

Comment (by llogan):

 Waveform color support added in 6ed3a10f644b7e96ec2bece7ab6c98629fdd5ff9
 (`colors` option).

 A `background_color` option would be useful, but now that format is RGBA
 users can at least avoid using colorkey/chromakey filters and overlay the
 output from showwaves(pic) over an output from color filter if color
 background is desired. For example:

 {{{
 ffmpeg -i music.wav -f lavfi -i color=s=600x240:c=red -filter_complex \
 "[0:a]showwavespic[fg];[1:v][fg]overlay=format=rgb" -frames:v 1 output.png
 }}}

--
Ticket URL: <https://trac.ffmpeg.org/ticket/5076#comment:2>
FFmpeg <https://ffmpeg.org>
FFmpeg issue tracker


More information about the FFmpeg-trac mailing list