[FFmpeg-user] green bar at bottom of video

Michael Koch astroelectronic at t-online.de
Sat Jul 6 10:22:52 EEST 2024


Hi,

when I run this command, the output video has a green bar at the bottom 
when played with VLC player.
But it plays fine with FFplay or PotPlayer . Is this a bug in FFmpeg or 
in VLC?

ffmpeg -f lavfi -i color=gray:size=600x400,format=gray -t 5 -y out.mov

The console output is below.

Michael



C:\Users\astro\Desktop\test>ffmpeg -f lavfi -i 
color=gray:size=600x400,format=gray -t 5 -y out.mov
ffmpeg version 2024-07-04-git-03175b587c-essentials_build-www.gyan.dev 
Copyright (c) 2000-2024 the FFmpeg developers
   built with gcc 13.2.0 (Rev5, Built by MSYS2 project)
   configuration: --enable-gpl --enable-version3 --enable-static 
--disable-w32threads --disable-autodetect --enable-fontconfig 
--enable-iconv --enable-gnutls --enable-libxml2 --enable-gmp 
--enable-bzlib --enable-lzma --enable-zlib --enable-libsrt 
--enable-libssh --enable-libzmq --enable-avisynth --enable-sdl2 
--enable-libwebp --enable-libx264 --enable-libx265 --enable-libxvid 
--enable-libaom --enable-libopenjpeg --enable-libvpx 
--enable-mediafoundation --enable-libass --enable-libfreetype 
--enable-libfribidi --enable-libharfbuzz --enable-libvidstab 
--enable-libvmaf --enable-libzimg --enable-amf --enable-cuda-llvm 
--enable-cuvid --enable-dxva2 --enable-d3d11va --enable-d3d12va 
--enable-ffnvcodec --enable-libvpl --enable-nvdec --enable-nvenc 
--enable-vaapi --enable-libgme --enable-libopenmpt 
--enable-libopencore-amrwb --enable-libmp3lame --enable-libtheora 
--enable-libvo-amrwbenc --enable-libgsm --enable-libopencore-amrnb 
--enable-libopus --enable-libspeex --enable-libvorbis --enable-librubberband
   libavutil      59. 28.100 / 59. 28.100
   libavcodec     61.  9.100 / 61.  9.100
   libavformat    61.  4.100 / 61.  4.100
   libavdevice    61.  2.100 / 61.  2.100
   libavfilter    10.  2.102 / 10.  2.102
   libswscale      8.  2.100 /  8.  2.100
   libswresample   5.  2.100 /  5.  2.100
   libpostproc    58.  2.100 / 58.  2.100
Input #0, lavfi, from 'color=gray:size=600x400,format=gray':
   Duration: N/A, start: 0.000000, bitrate: N/A
   Stream #0:0: Video: wrapped_avframe, gray, 600x400 [SAR 1:1 DAR 3:2], 
25 fps, 25 tbr, 25 tbn
Stream mapping:
   Stream #0:0 -> #0:0 (wrapped_avframe (native) -> h264 (libx264))
Press [q] to stop, [?] for help
[libx264 @ 000001da9bc48d80] using SAR=1/1
[libx264 @ 000001da9bc48d80] using cpu capabilities: MMX2 SSE2Fast SSSE3 
SSE4.2 AVX FMA3 BMI2 AVX2
[libx264 @ 000001da9bc48d80] profile High, level 3.0, 4:0:0, 8-bit
[libx264 @ 000001da9bc48d80] 264 - core 164 r3191 4613ac3 - H.264/MPEG-4 
AVC codec - Copyleft 2003-2024 - http://www.videolan.org/x264.html - 
options: cabac=1 ref=3 deblock=1:0:0 analyse=0x3:0x113 me=hex subme=7 
psy=1 psy_rd=1.00:0.00 mixed_ref=1 me_range=16 chroma_me=0 trellis=1 
8x8dct=1 cqm=0 deadzone=21,11 fast_pskip=1 chroma_qp_offset=-2 
threads=12 lookahead_threads=2 sliced_threads=0 nr=0 decimate=1 
interlaced=0 bluray_compat=0 constrained_intra=0 bframes=3 b_pyramid=2 
b_adapt=1 b_bias=0 direct=1 weightb=1 open_gop=0 weightp=2 keyint=250 
keyint_min=25 scenecut=40 intra_refresh=0 rc_lookahead=40 rc=crf 
mbtree=1 crf=23.0 qcomp=0.60 qpmin=0 qpmax=69 qpstep=4 ip_ratio=1.40 
aq=1:1.00
Output #0, mov, to 'out.mov':
   Metadata:
     encoder         : Lavf61.4.100
   Stream #0:0: Video: h264 (avc1 / 0x31637661), gray(pc, progressive), 
600x400 [SAR 1:1 DAR 3:2], q=2-31, 25 fps, 12800tbn
       Metadata:
         encoder         : Lavc61.9.100 libx264
       Side data:
         cpb: bitrate max/min/avg: 0/0/0 buffer size: 0 vbv_delay: N/A
[out#0/mov @ 000001da9bc07000] video:3KiB audio:0KiB subtitle:0KiB other 
streams:0KiB global headers:0KiB muxing overhead: 67.814415%
frame=  125 fps=0.0 q=-1.0 Lsize=       6KiB time=00:00:04.92 bitrate=   
9.4kbits/s speed=41.1x
[libx264 @ 000001da9bc48d80] frame I:1     Avg QP: 9.00  size:    81
[libx264 @ 000001da9bc48d80] frame P:31    Avg QP: 9.23  size:    27
[libx264 @ 000001da9bc48d80] frame B:93    Avg QP:12.67  size:    20
[libx264 @ 000001da9bc48d80] consecutive B-frames:  0.8%  0.0%  0.0% 99.2%
[libx264 @ 000001da9bc48d80] mb I  I16..4: 100.0%  0.0%  0.0%
[libx264 @ 000001da9bc48d80] mb P  I16..4:  0.0%  0.0%  0.0% P16..4:  
0.0%  0.0%  0.0%  0.0%  0.0%    skip:100.0%
[libx264 @ 000001da9bc48d80] mb B  I16..4:  0.0%  0.0%  0.0% B16..8:  
0.0%  0.0%  0.0%  direct: 0.0%  skip:100.0%
[libx264 @ 000001da9bc48d80] 8x8 transform intra:0.0%
[libx264 @ 000001da9bc48d80] coded y intra: 0.0% inter: 0.0%
[libx264 @ 000001da9bc48d80] i16 v,h,dc,p: 96%  0%  4%  0%
[libx264 @ 000001da9bc48d80] i8c dc,h,v,p: 100%  0%  0%  0%
[libx264 @ 000001da9bc48d80] Weighted P-Frames: Y:0.0%
[libx264 @ 000001da9bc48d80] kb/s:4.38



More information about the ffmpeg-user mailing list