[FFmpeg-user] flashing green partial image in output video

Herndon Elliott alabamatoy at gmail.com
Tue Jan 8 15:38:10 EET 2019


Zoneminder using ffmpeg to produce short video from compilation of jpeg
images.  Version info is in the log below.  Resulting video has flashing
green covering about 2/3 of image.

Example of output video is here:
https://drive.google.com/open?id=1P0g_TYxl84F7edYARhE-XFniyJ1p2-UF

ffmpeg input parameters (after the -i ) are:
-r 25 -g 250 -q:v 1 -f avi -vtag XVID -bf 2 -vf
"hqdn3d,lutyuv=y=gammaval(1.4),unsharp"

ffmpeg output (log) is below:
=======================
ffmpeg version 2.8.15-0ubuntu0.16.04.1 Copyright (c) 2000-2018 the FFmpeg
developers
  built with gcc 5.4.0 (Ubuntu 5.4.0-6ubuntu1~16.04.10) 20160609
  configuration: --prefix=/usr --extra-version=0ubuntu0.16.04.1
--build-suffix=-ffmpeg --toolchain=hardened
--libdir=/usr/lib/x86_64-linux-gnu --incdir=/usr/include/x86_64-linux-gnu
--cc=cc --cxx=g++ --enable-gpl --enable-shared --disable-stripping
--disable-decoder=libopenjpeg --disable-decoder=libschroedinger
--enable-avresample --enable-avisynth --enable-gnutls --enable-ladspa
--enable-libass --enable-libbluray --enable-libbs2b --enable-libcaca
--enable-libcdio --enable-libflite --enable-libfontconfig
--enable-libfreetype --enable-libfribidi --enable-libgme --enable-libgsm
--enable-libmodplug --enable-libmp3lame --enable-libopenjpeg
--enable-libopus --enable-libpulse --enable-librtmp
--enable-libschroedinger --enable-libshine --enable-libsnappy
--enable-libsoxr --enable-libspeex --enable-libssh --enable-libtheora
--enable-libtwolame --enable-libvorbis --enable-libvpx --enable-libwavpack
--enable-libwebp --enable-libx265 --enable-libxvid --enable-libzvbi
--enable-openal --enable-opengl --enable-x11grab --enable-libdc1394
--enable-libiec61883 --enable-libzmq --enable-frei0r --enable-libx264
--enable-libopencv
  libavutil      54. 31.100 / 54. 31.100
  libavcodec     56. 60.100 / 56. 60.100
  libavformat    56. 40.101 / 56. 40.101
  libavdevice    56.  4.100 / 56.  4.100
  libavfilter     5. 40.101 /  5. 40.101
  libavresample   2.  1.  0 /  2.  1.  0
  libswscale      3.  1.101 /  3.  1.101
  libswresample   1.  2.101 /  1.  2.101
  libpostproc    53.  3.100 / 53.  3.100
[mjpeg @ 0x11e66c0] Changeing bps to 8
Input #0, image2, from '%05d-capture.jpg':
  Duration: 00:00:15.72, start: 0.000000, bitrate: N/A
    Stream #0:0: Video: mjpeg, yuvj420p(pc, bt470bg/unknown/unknown),
1280x720 [SAR 1:1 DAR 16:9], 25 fps, 25 tbr, 25 tbn, 25 tbc
[swscaler @ 0x1292820] deprecated pixel format used, make sure you did set
range correctly
Output #0, avi, to 'Ext3-75115-r1-s0_75.avi':
  Metadata:
    ISFT            : Lavf56.40.101
    Stream #0:0: Video: mpeg4 (XVID / 0x44495658), yuv420p, 960x540 [SAR
1:1 DAR 16:9], q=2-31, 200 kb/s, 10 fps, 10 tbn, 10 tbc
    Metadata:
      encoder         : Lavc56.60.100 mpeg4
Stream mapping:
  Stream #0:0 -> #0:0 (mjpeg (native) -> mpeg4 (native))
Press [q] to stop, [?] for help
frame=   21 fps=0.0 q=1.0 size=    1790kB time=00:00:01.80
bitrate=8144.9kbits/s
frame=   40 fps= 39 q=1.0 size=    3460kB time=00:00:03.70
bitrate=7661.0kbits/s
frame=   60 fps= 39 q=1.0 size=    4806kB time=00:00:05.70
bitrate=6906.7kbits/s
frame=   80 fps= 39 q=1.0 size=    6415kB time=00:00:07.70
bitrate=6824.9kbits/s
frame=  100 fps= 39 q=1.0 size=    8188kB time=00:00:09.70
bitrate=6915.1kbits/s
frame=  120 fps= 39 q=1.0 size=    9552kB time=00:00:11.70
bitrate=6687.8kbits/s
frame=  139 fps= 39 q=1.0 size=   11246kB time=00:00:13.60
bitrate=6774.1kbits/s
frame=  159 fps= 39 q=1.0 size=   12871kB time=00:00:15.60
bitrate=6759.0kbits/s
frame=  179 fps= 39 q=1.0 size=   14271kB time=00:00:17.60
bitrate=6642.7kbits/s
frame=  199 fps= 39 q=1.0 size=   16034kB time=00:00:19.60
bitrate=6701.6kbits/s
frame=  219 fps= 39 q=1.0 size=   17709kB time=00:00:21.60
bitrate=6716.4kbits/s
frame=  235 fps= 38 q=1.0 size=   18784kB time=00:00:23.20
bitrate=6632.7kbits/s
frame=  255 fps= 38 q=1.0 size=   20444kB time=00:00:25.20
bitrate=6646.0kbits/s
frame=  275 fps= 38 q=1.0 size=   22152kB time=00:00:27.20
bitrate=6671.7kbits/s
frame=  295 fps= 38 q=1.0 size=   23539kB time=00:00:29.20
bitrate=6603.9kbits/s
frame=  315 fps= 38 q=1.0 size=   25191kB time=00:00:31.20
bitrate=6614.1kbits/s
frame=  335 fps= 38 q=1.0 size=   26917kB time=00:00:33.20
bitrate=6641.6kbits/s
frame=  355 fps= 38 q=1.0 size=   28303kB time=00:00:35.20
bitrate=6586.8kbits/s
frame=  375 fps= 38 q=1.0 size=   29937kB time=00:00:37.20
bitrate=6592.5kbits/s
frame=  393 fps= 38 q=1.0 Lsize=   31609kB time=00:00:39.20
bitrate=6605.5kbits/s
video:31594kB audio:0kB subtitle:0kB other streams:0kB global headers:0kB
muxing overhead: 0.047543%
=======================

Any advice on resolving the flashing green would be appreciated.

Herndon Elliott
Madison, Al
256-853-0390
ΜΟΛΩΝ ΛΑΒΕ  "molon labe"


More information about the ffmpeg-user mailing list