[FFmpeg-user] Setting color is strange showvolume filter

nicolab robelt2525 at gmail.com
Thu Jul 2 17:21:56 CEST 2015


Setting color RGB(0xffffff), Green is fine, but Red, Blue is reversed?

example
ffplay -f lavfi aevalsrc="sin(440*2*PI*t):s=8000,showvolume=c=0x00ff00"
color is 0x00ff00

ffplay -f lavfi aevalsrc="sin(440*2*PI*t):s=8000,showvolume=c=0xff0000"
color is 0x0000ff, not 0xff0000

ffplay version N-73361-g03b2b40 Copyright (c) 2003-2015 the FFmpeg
developers
  built with gcc 4.9.2 (GCC)
  configuration: --enable-gpl --enable-version3 --disable-w32threads
--enable-av
isynth --enable-bzlib --enable-fontconfig --enable-frei0r --enable-gnutls
--enab
le-iconv --enable-libass --enable-libbluray --enable-libbs2b
--enable-libcaca --
enable-libdcadec --enable-libfreetype --enable-libgme --enable-libgsm
--enable-l
ibilbc --enable-libmodplug --enable-libmp3lame --enable-libopencore-amrnb
--enab
le-libopencore-amrwb --enable-libopenjpeg --enable-libopus --enable-librtmp
--en
able-libschroedinger --enable-libsoxr --enable-libspeex --enable-libtheora
--ena
ble-libtwolame --enable-libvidstab --enable-libvo-aacenc
--enable-libvo-amrwbenc
 --enable-libvorbis --enable-libvpx --enable-libwavpack --enable-libwebp
--enabl
e-libx264 --enable-libx265 --enable-libxavs --enable-libxvid --enable-lzma
--ena
ble-decklink --enable-zlib
  libavutil      54. 27.100 / 54. 27.100
  libavcodec     56. 46.100 / 56. 46.100
  libavformat    56. 40.100 / 56. 40.100
  libavdevice    56.  4.100 / 56.  4.100
  libavfilter     5. 19.100 /  5. 19.100
  libswscale      3.  1.101 /  3.  1.101
  libswresample   1.  2.100 /  1.  2.100
  libpostproc    53.  3.100 / 53.  3.100
Input #0, lavfi, from
'aevalsrc=sin(440*2*PI*t):s=8000,showvolume=c=0xff0000':
  Duration: N/A, start: 0.000000, bitrate: N/A
    Stream #0:0: Video: rawvideo (RGBA / 0x41424752), rgba, 400x20 [SAR 1:1
DAR
20:1], 7.81 fps, 7.81 tbr, 8k tbn, 8k tbc
   0.51 M-V:  0.000 fd=   0 aq=    0KB vq=  188KB sq=    0B f=0/0

ffplay -f lavfi aevalsrc="sin(440*2*PI*t):s=8000,showvolume=c=0x0000ff"
color is 0xff0000, not 0x0000ff



-----
https://twitter.com/nico_lab
http://nico-lab.net/
--
View this message in context: http://ffmpeg-users.933282.n4.nabble.com/Setting-color-is-strange-showvolume-filter-tp4671282.html
Sent from the FFmpeg-users mailing list archive at Nabble.com.


More information about the ffmpeg-user mailing list