Opened 4 months ago

Closed 4 months ago

Last modified 4 months ago

#6129 closed defect (worksforme)

Capturing screen outputs all black video (cursor is partially seen).

Reported by: Simargol Owned by:
Priority: normal Component: avdevice
Version: git-master Keywords: x11grab xcb
Cc: Blocked By:
Blocking: Reproduced by developer: no
Analyzed by developer: no

Description

I'm trying to capture the screen. Output is black. Mouse is captured at the bottom of the screen when it is over browser, and not captured at the top of the screen when it is over terminal window.

How to reproduce:

$ ffmpeg -video_size 1600x900 -framerate 25 -f x11grab -i :0.0 black_screen_with_cursor.mp4
ffmpeg version 3.2.2 Copyright (c) 2000-2016 the FFmpeg developers
  built with gcc 6.2.1 (GCC) 20160830
  configuration: --prefix=/usr --disable-debug --disable-static --disable-stripping --enable-avisynth --enable-avresample --enable-fontconfig --enable-gmp --enable-gnutls --enable-gpl --enable-ladspa --enable-libass --enable-libbluray --enable-libfreetype --enable-libfribidi --enable-libgsm --enable-libiec61883 --enable-libmodplug --enable-libmp3lame --enable-libopencore_amrnb --enable-libopencore_amrwb --enable-libopenjpeg --enable-libopus --enable-libpulse --enable-libschroedinger --enable-libsoxr --enable-libspeex --enable-libssh --enable-libtheora --enable-libv4l2 --enable-libvidstab --enable-libvorbis --enable-libvpx --enable-libwebp --enable-libx264 --enable-libx265 --enable-libxvid --enable-netcdf --enable-shared --enable-version3 --enable-x11grab
  libavutil      55. 34.100 / 55. 34.100
  libavcodec     57. 64.101 / 57. 64.101
  libavformat    57. 56.100 / 57. 56.100
  libavdevice    57.  1.100 / 57.  1.100
  libavfilter     6. 65.100 /  6. 65.100
  libavresample   3.  1.  0 /  3.  1.  0
  libswscale      4.  2.100 /  4.  2.100
  libswresample   2.  3.100 /  2.  3.100
  libpostproc    54.  1.100 / 54.  1.100
[x11grab @ 0x560720fd8580] Stream #0: not enough frames to estimate rate; consider increasing probesize
Input #0, x11grab, from ':0.0':
  Duration: N/A, start: 1486292106.445825, bitrate: N/A
    Stream #0:0: Video: rawvideo (BGR[0] / 0x524742), bgr0, 1600x900, 25 fps, 1000k tbr, 1000k tbn, 1000k tbc
No pixel format specified, yuv444p for H.264 encoding chosen.
Use -pix_fmt yuv420p for compatibility with outdated media players.
[libx264 @ 0x560720fe2a20] using cpu capabilities: MMX2 SSE2Fast SSSE3 SSE4.2 AVX FMA3 AVX2 LZCNT BMI2
[libx264 @ 0x560720fe2a20] profile High 4:4:4 Predictive, level 4.0, 4:4:4 8-bit
[libx264 @ 0x560720fe2a20] 264 - core 148 r2708 86b7198 - H.264/MPEG-4 AVC codec - Copyleft 2003-2016 - 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=1 trellis=1 8x8dct=1 cqm=0 deadzone=21,11 fast_pskip=1 chroma_qp_offset=4 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, mp4, to 'black_screen_with_cursor.mp4':
  Metadata:
    encoder         : Lavf57.56.100
    Stream #0:0: Video: h264 (libx264) ([33][0][0][0] / 0x0021), yuv444p, 1600x900, q=-1--1, 25 fps, 12800 tbn, 25 tbc
    Metadata:
      encoder         : Lavc57.64.101 libx264
    Side data:
      cpb: bitrate max/min/avg: 0/0/0 buffer size: 0 vbv_delay: -1
Stream mapping:
  Stream #0:0 -> #0:0 (rawvideo (native) -> h264 (libx264))
Press [q] to stop, [?] for help
frame=  253 fps= 25 q=-1.0 Lsize=      34kB time=00:00:10.00 bitrate=  28.0kbits/s speed=0.972x    
video:30kB audio:0kB subtitle:0kB other streams:0kB global headers:0kB muxing overhead: 12.434501%
[libx264 @ 0x560720fe2a20] frame I:2     Avg QP:14.90  size:   488
[libx264 @ 0x560720fe2a20] frame P:65    Avg QP:15.51  size:   141
[libx264 @ 0x560720fe2a20] frame B:186   Avg QP:15.91  size:   109
[libx264 @ 0x560720fe2a20] consecutive B-frames:  1.6%  0.8%  1.2% 96.4%
[libx264 @ 0x560720fe2a20] mb I  I16..4:  0.0% 99.9%  0.1%
[libx264 @ 0x560720fe2a20] mb P  I16..4:  0.0%  0.0%  0.0%  P16..4:  0.0%  0.0%  0.0%  0.0%  0.0%    skip:99.9%
[libx264 @ 0x560720fe2a20] mb B  I16..4:  0.0%  0.0%  0.0%  B16..8:  0.2%  0.0%  0.0%  direct: 0.0%  skip:99.8%  L0:63.8% L1:36.1% BI: 0.1%
[libx264 @ 0x560720fe2a20] 8x8 transform intra:97.0% inter:4.5%
[libx264 @ 0x560720fe2a20] coded y,u,v intra: 1.5% 0.0% 0.0% inter: 0.0% 0.0% 0.0%
[libx264 @ 0x560720fe2a20] i16 v,h,dc,p: 70% 10% 20%  0%
[libx264 @ 0x560720fe2a20] i8 v,h,dc,ddl,ddr,vr,hd,vl,hu: 12%  0% 88%  0%  0%  0%  0%  0%  0%
[libx264 @ 0x560720fe2a20] i4 v,h,dc,ddl,ddr,vr,hd,vl,hu: 22%  7% 51%  2%  9%  3%  1%  2%  2%
[libx264 @ 0x560720fe2a20] Weighted P-Frames: Y:0.0% UV:0.0%
[libx264 @ 0x560720fe2a20] ref P L0: 85.9%  4.3%  7.6%  2.2%
[libx264 @ 0x560720fe2a20] ref B L0: 58.0% 40.1%  1.9%
[libx264 @ 0x560720fe2a20] kb/s:24.05

The same with loglevel 99:

$ ffmpeg -v 9 -loglevel 99 -video_size 1600x900 -framerate 25 -f x11grab -i :0.0 black_screen_with_cursor2.mp4
ffmpeg version 3.2.2 Copyright (c) 2000-2016 the FFmpeg developers
  built with gcc 6.2.1 (GCC) 20160830
  configuration: --prefix=/usr --disable-debug --disable-static --disable-stripping --enable-avisynth --enable-avresample --enable-fontconfig --enable-gmp --enable-gnutls --enable-gpl --enable-ladspa --enable-libass --enable-libbluray --enable-libfreetype --enable-libfribidi --enable-libgsm --enable-libiec61883 --enable-libmodplug --enable-libmp3lame --enable-libopencore_amrnb --enable-libopencore_amrwb --enable-libopenjpeg --enable-libopus --enable-libpulse --enable-libschroedinger --enable-libsoxr --enable-libspeex --enable-libssh --enable-libtheora --enable-libv4l2 --enable-libvidstab --enable-libvorbis --enable-libvpx --enable-libwebp --enable-libx264 --enable-libx265 --enable-libxvid --enable-netcdf --enable-shared --enable-version3 --enable-x11grab
  libavutil      55. 34.100 / 55. 34.100
  libavcodec     57. 64.101 / 57. 64.101
  libavformat    57. 56.100 / 57. 56.100
  libavdevice    57.  1.100 / 57.  1.100
  libavfilter     6. 65.100 /  6. 65.100
  libavresample   3.  1.  0 /  3.  1.  0
  libswscale      4.  2.100 /  4.  2.100
  libswresample   2.  3.100 /  2.  3.100
  libpostproc    54.  1.100 / 54.  1.100
Splitting the commandline.
Reading option '-v' ... matched as option 'v' (set logging level) with argument '9'.
Reading option '-loglevel' ... matched as option 'loglevel' (set logging level) with argument '99'.
Reading option '-video_size' ... matched as AVOption 'video_size' with argument '1600x900'.
Reading option '-framerate' ... matched as AVOption 'framerate' with argument '25'.
Reading option '-f' ... matched as option 'f' (force format) with argument 'x11grab'.
Reading option '-i' ... matched as input url with argument ':0.0'.
Reading option 'black_screen_with_cursor2.mp4' ... matched as output url.
Finished splitting the commandline.
Parsing a group of options: global .
Applying option v (set logging level) with argument 9.
Successfully parsed a group of options.
Parsing a group of options: input url :0.0.
Applying option f (force format) with argument x11grab.
Successfully parsed a group of options.
Opening an input file: :0.0.
[x11grab @ 0x55d8548785c0] Probe buffer size limit of 5000000 bytes reached
[x11grab @ 0x55d8548785c0] Stream #0: not enough frames to estimate rate; consider increasing probesize
[x11grab @ 0x55d8548785c0] stream 0: start_time: 1486292409.539 duration: -9223372036854.775
[x11grab @ 0x55d8548785c0] format: start_time: 1486292409.539 duration: -9223372036854.775 bitrate=0 kb/s
Input #0, x11grab, from ':0.0':
  Duration: N/A, start: 1486292409.539251, bitrate: N/A
    Stream #0:0, 1, 1/1000000: Video: rawvideo, 1 reference frame (BGR[0] / 0x524742), bgr0, 1600x900, 0/1, 25 fps, 1000k tbr, 1000k tbn, 1000k tbc
Successfully opened the file.
Parsing a group of options: output url black_screen_with_cursor2.mp4.
Successfully parsed a group of options.
Opening an output file: black_screen_with_cursor2.mp4.
[file @ 0x55d8548864a0] Setting default whitelist 'file,crypto'
Successfully opened the file.
detected 8 logical cores
[graph 0 input from stream 0:0 @ 0x55d8548846a0] Setting 'video_size' to value '1600x900'
[graph 0 input from stream 0:0 @ 0x55d8548846a0] Setting 'pix_fmt' to value '298'
[graph 0 input from stream 0:0 @ 0x55d8548846a0] Setting 'time_base' to value '1/1000000'
[graph 0 input from stream 0:0 @ 0x55d8548846a0] Setting 'pixel_aspect' to value '0/1'
[graph 0 input from stream 0:0 @ 0x55d8548846a0] Setting 'sws_param' to value 'flags=2'
[graph 0 input from stream 0:0 @ 0x55d8548846a0] Setting 'frame_rate' to value '25/1'
[graph 0 input from stream 0:0 @ 0x55d8548846a0] w:1600 h:900 pixfmt:bgr0 tb:1/1000000 fr:25/1 sar:0/1 sws_param:flags=2
[format @ 0x55d8548839c0] compat: called with args=[yuv420p|yuvj420p|yuv422p|yuvj422p|yuv444p|yuvj444p|nv12|nv16|nv21]
[format @ 0x55d8548839c0] Setting 'pix_fmts' to value 'yuv420p|yuvj420p|yuv422p|yuvj422p|yuv444p|yuvj444p|nv12|nv16|nv21'
[auto-inserted scaler 0 @ 0x55d85488e9c0] Setting 'flags' to value 'bicubic'
[auto-inserted scaler 0 @ 0x55d85488e9c0] w:iw h:ih flags:'bicubic' interl:0
[format @ 0x55d8548839c0] auto-inserting filter 'auto-inserted scaler 0' between the filter 'Parsed_null_0' and the filter 'format'
[AVFilterGraph @ 0x55d854885be0] query_formats: 4 queried, 2 merged, 1 already done, 0 delayed
[auto-inserted scaler 0 @ 0x55d85488e9c0] picking yuv444p out of 8 ref:bgr0 alpha:0
[auto-inserted scaler 0 @ 0x55d85488e9c0] w:1600 h:900 fmt:bgr0 sar:0/1 -> w:1600 h:900 fmt:yuv444p sar:0/1 flags:0x4
No pixel format specified, yuv444p for H.264 encoding chosen.
Use -pix_fmt yuv420p for compatibility with outdated media players.
[libx264 @ 0x55d854882a60] using mv_range_thread = 40
[libx264 @ 0x55d854882a60] using cpu capabilities: MMX2 SSE2Fast SSSE3 SSE4.2 AVX FMA3 AVX2 LZCNT BMI2
[libx264 @ 0x55d854882a60] profile High 4:4:4 Predictive, level 4.0, 4:4:4 8-bit
[libx264 @ 0x55d854882a60] 264 - core 148 r2708 86b7198 - H.264/MPEG-4 AVC codec - Copyleft 2003-2016 - 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=1 trellis=1 8x8dct=1 cqm=0 deadzone=21,11 fast_pskip=1 chroma_qp_offset=4 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, mp4, to 'black_screen_with_cursor2.mp4':
  Metadata:
    encoder         : Lavf57.56.100
    Stream #0:0, 0, 1/12800: Video: h264 (libx264), 1 reference frame ([33][0][0][0] / 0x0021), yuv444p, 1600x900, 0/1, q=-1--1, 25 fps, 12800 tbn, 25 tbc
    Metadata:
      encoder         : Lavc57.64.101 libx264
    Side data:
      cpb: bitrate max/min/avg: 0/0/0 buffer size: 0 vbv_delay: -1
Stream mapping:
  Stream #0:0 -> #0:0 (rawvideo (native) -> h264 (libx264))
Press [q] to stop, [?] for help
cur_dts is invalid (this is harmless if it occurs once at the start per stream)
[rawvideo @ 0x55d854880cc0] PACKET SIZE: 5760000, STRIDE: 6400
Clipping frame in rate conversion by 0.000008
cur_dts is invalid (this is harmless if it occurs once at the start per stream)
[rawvideo @ 0x55d854880cc0] PACKET SIZE: 5760000, STRIDE: 6400
Clipping frame in rate conversion by 0.000999
cur_dts is invalid (this is harmless if it occurs once at the start per stream)
[rawvideo @ 0x55d854880cc0] PACKET SIZE: 5760000, STRIDE: 6400
Clipping frame in rate conversion by 0.000847
cur_dts is invalid (this is harmless if it occurs once at the start per stream)
[rawvideo @ 0x55d854880cc0] PACKET SIZE: 5760000, STRIDE: 6400
Clipping frame in rate conversion by 0.001137
cur_dts is invalid (this is harmless if it occurs once at the start per stream)
[rawvideo @ 0x55d854880cc0] PACKET SIZE: 5760000, STRIDE: 6400
Clipping frame in rate conversion by 0.000847
cur_dts is invalid (this is harmless if it occurs once at the start per stream)
[rawvideo @ 0x55d854880cc0] PACKET SIZE: 5760000, STRIDE: 6400
Clipping frame in rate conversion by 0.001137
cur_dts is invalid (this is harmless if it occurs once at the start per stream)
[rawvideo @ 0x55d854880cc0] PACKET SIZE: 5760000, STRIDE: 6400
Clipping frame in rate conversion by 0.001122
cur_dts is invalid (this is harmless if it occurs once at the start per stream)
[rawvideo @ 0x55d854880cc0] PACKET SIZE: 5760000, STRIDE: 6400
Clipping frame in rate conversion by 0.001320
cur_dts is invalid (this is harmless if it occurs once at the start per stream)
[rawvideo @ 0x55d854880cc0] PACKET SIZE: 5760000, STRIDE: 6400
Clipping frame in rate conversion by 0.000923
cur_dts is invalid (this is harmless if it occurs once at the start per stream)
[rawvideo @ 0x55d854880cc0] PACKET SIZE: 5760000, STRIDE: 6400
Clipping frame in rate conversion by 0.001137
cur_dts is invalid (this is harmless if it occurs once at the start per stream)
[rawvideo @ 0x55d854880cc0] PACKET SIZE: 5760000, STRIDE: 6400
Clipping frame in rate conversion by 0.001137
cur_dts is invalid (this is harmless if it occurs once at the start per stream)
[rawvideo @ 0x55d854880cc0] PACKET SIZE: 5760000, STRIDE: 6400
Clipping frame in rate conversion by 0.001640
cur_dts is invalid (this is harmless if it occurs once at the start per stream)
[rawvideo @ 0x55d854880cc0] PACKET SIZE: 5760000, STRIDE: 6400
Clipping frame in rate conversion by 0.001610
cur_dts is invalid (this is harmless if it occurs once at the start per stream)
[rawvideo @ 0x55d854880cc0] PACKET SIZE: 5760000, STRIDE: 6400
Clipping frame in rate conversion by 0.000893
cur_dts is invalid (this is harmless if it occurs once at the start per stream)
[rawvideo @ 0x55d854880cc0] PACKET SIZE: 5760000, STRIDE: 6400
Clipping frame in rate conversion by 0.000145
cur_dts is invalid (this is harmless if it occurs once at the start per stream) 0x    
[rawvideo @ 0x55d854880cc0] PACKET SIZE: 5760000, STRIDE: 6400
Clipping frame in rate conversion by 0.000893
cur_dts is invalid (this is harmless if it occurs once at the start per stream)
[rawvideo @ 0x55d854880cc0] PACKET SIZE: 5760000, STRIDE: 6400
Clipping frame in rate conversion by 0.000938
cur_dts is invalid (this is harmless if it occurs once at the start per stream)
[rawvideo @ 0x55d854880cc0] PACKET SIZE: 5760000, STRIDE: 6400
Clipping frame in rate conversion by 0.000099
cur_dts is invalid (this is harmless if it occurs once at the start per stream)
[rawvideo @ 0x55d854880cc0] PACKET SIZE: 5760000, STRIDE: 6400
Clipping frame in rate conversion by 0.001015
cur_dts is invalid (this is harmless if it occurs once at the start per stream)
[rawvideo @ 0x55d854880cc0] PACKET SIZE: 5760000, STRIDE: 6400
Clipping frame in rate conversion by 0.000069
cur_dts is invalid (this is harmless if it occurs once at the start per stream)
[rawvideo @ 0x55d854880cc0] PACKET SIZE: 5760000, STRIDE: 6400
Clipping frame in rate conversion by 0.001564
cur_dts is invalid (this is harmless if it occurs once at the start per stream)
[rawvideo @ 0x55d854880cc0] PACKET SIZE: 5760000, STRIDE: 6400
Clipping frame in rate conversion by 0.000938
cur_dts is invalid (this is harmless if it occurs once at the start per stream)
[rawvideo @ 0x55d854880cc0] PACKET SIZE: 5760000, STRIDE: 6400
Clipping frame in rate conversion by 0.001198
cur_dts is invalid (this is harmless if it occurs once at the start per stream)
[rawvideo @ 0x55d854880cc0] PACKET SIZE: 5760000, STRIDE: 6400
Clipping frame in rate conversion by 0.001167
cur_dts is invalid (this is harmless if it occurs once at the start per stream)
[rawvideo @ 0x55d854880cc0] PACKET SIZE: 5760000, STRIDE: 6400
Clipping frame in rate conversion by 0.001137
cur_dts is invalid (this is harmless if it occurs once at the start per stream)
[rawvideo @ 0x55d854880cc0] PACKET SIZE: 5760000, STRIDE: 6400
Clipping frame in rate conversion by 0.001411
cur_dts is invalid (this is harmless if it occurs once at the start per stream)
[rawvideo @ 0x55d854880cc0] PACKET SIZE: 5760000, STRIDE: 6400
Clipping frame in rate conversion by 0.000572
cur_dts is invalid (this is harmless if it occurs once at the start per stream)
[rawvideo @ 0x55d854880cc0] PACKET SIZE: 5760000, STRIDE: 6400
Clipping frame in rate conversion by 0.001366
cur_dts is invalid (this is harmless if it occurs once at the start per stream) 0x    
[rawvideo @ 0x55d854880cc0] PACKET SIZE: 5760000, STRIDE: 6400
Clipping frame in rate conversion by 0.001549
cur_dts is invalid (this is harmless if it occurs once at the start per stream)
[rawvideo @ 0x55d854880cc0] PACKET SIZE: 5760000, STRIDE: 6400
Clipping frame in rate conversion by 0.001335
cur_dts is invalid (this is harmless if it occurs once at the start per stream)
[rawvideo @ 0x55d854880cc0] PACKET SIZE: 5760000, STRIDE: 6400
Clipping frame in rate conversion by 0.000969
cur_dts is invalid (this is harmless if it occurs once at the start per stream)
[rawvideo @ 0x55d854880cc0] PACKET SIZE: 5760000, STRIDE: 6400
Clipping frame in rate conversion by 0.000923
cur_dts is invalid (this is harmless if it occurs once at the start per stream)
[rawvideo @ 0x55d854880cc0] PACKET SIZE: 5760000, STRIDE: 6400
Clipping frame in rate conversion by 0.000038
cur_dts is invalid (this is harmless if it occurs once at the start per stream)
[rawvideo @ 0x55d854880cc0] PACKET SIZE: 5760000, STRIDE: 6400
Clipping frame in rate conversion by 0.000847
cur_dts is invalid (this is harmless if it occurs once at the start per stream)
[rawvideo @ 0x55d854880cc0] PACKET SIZE: 5760000, STRIDE: 6400
Clipping frame in rate conversion by 0.000725
cur_dts is invalid (this is harmless if it occurs once at the start per stream)
[rawvideo @ 0x55d854880cc0] PACKET SIZE: 5760000, STRIDE: 6400
Clipping frame in rate conversion by 0.001289
cur_dts is invalid (this is harmless if it occurs once at the start per stream)
[rawvideo @ 0x55d854880cc0] PACKET SIZE: 5760000, STRIDE: 6400
Clipping frame in rate conversion by 0.000923
cur_dts is invalid (this is harmless if it occurs once at the start per stream)
[rawvideo @ 0x55d854880cc0] PACKET SIZE: 5760000, STRIDE: 6400
Clipping frame in rate conversion by 0.000099
cur_dts is invalid (this is harmless if it occurs once at the start per stream)
[rawvideo @ 0x55d854880cc0] PACKET SIZE: 5760000, STRIDE: 6400
Clipping frame in rate conversion by 0.001274
cur_dts is invalid (this is harmless if it occurs once at the start per stream)
[rawvideo @ 0x55d854880cc0] PACKET SIZE: 5760000, STRIDE: 6400
Clipping frame in rate conversion by 0.001122
cur_dts is invalid (this is harmless if it occurs once at the start per stream)
[rawvideo @ 0x55d854880cc0] PACKET SIZE: 5760000, STRIDE: 6400
Clipping frame in rate conversion by 0.000923
cur_dts is invalid (this is harmless if it occurs once at the start per stream) 0x    
[rawvideo @ 0x55d854880cc0] PACKET SIZE: 5760000, STRIDE: 6400
Clipping frame in rate conversion by 0.001335
cur_dts is invalid (this is harmless if it occurs once at the start per stream)
[rawvideo @ 0x55d854880cc0] PACKET SIZE: 5760000, STRIDE: 6400
Clipping frame in rate conversion by 0.001564
cur_dts is invalid (this is harmless if it occurs once at the start per stream)
[rawvideo @ 0x55d854880cc0] PACKET SIZE: 5760000, STRIDE: 6400
Clipping frame in rate conversion by 0.001671
cur_dts is invalid (this is harmless if it occurs once at the start per stream)
[rawvideo @ 0x55d854880cc0] PACKET SIZE: 5760000, STRIDE: 6400
Clipping frame in rate conversion by 0.001320
cur_dts is invalid (this is harmless if it occurs once at the start per stream)
[rawvideo @ 0x55d854880cc0] PACKET SIZE: 5760000, STRIDE: 6400
Clipping frame in rate conversion by 0.001167
cur_dts is invalid (this is harmless if it occurs once at the start per stream)
[rawvideo @ 0x55d854880cc0] PACKET SIZE: 5760000, STRIDE: 6400
Clipping frame in rate conversion by 0.001640
cur_dts is invalid (this is harmless if it occurs once at the start per stream)
[rawvideo @ 0x55d854880cc0] PACKET SIZE: 5760000, STRIDE: 6400
Clipping frame in rate conversion by 0.001595
cur_dts is invalid (this is harmless if it occurs once at the start per stream)
[rawvideo @ 0x55d854880cc0] PACKET SIZE: 5760000, STRIDE: 6400
Clipping frame in rate conversion by 0.001122
cur_dts is invalid (this is harmless if it occurs once at the start per stream)
[rawvideo @ 0x55d854880cc0] PACKET SIZE: 5760000, STRIDE: 6400
Clipping frame in rate conversion by 0.000099
cur_dts is invalid (this is harmless if it occurs once at the start per stream)
[rawvideo @ 0x55d854880cc0] PACKET SIZE: 5760000, STRIDE: 6400
Clipping frame in rate conversion by 0.000938
cur_dts is invalid (this is harmless if it occurs once at the start per stream)
[rawvideo @ 0x55d854880cc0] PACKET SIZE: 5760000, STRIDE: 6400
Clipping frame in rate conversion by 0.001137
cur_dts is invalid (this is harmless if it occurs once at the start per stream)
[rawvideo @ 0x55d854880cc0] PACKET SIZE: 5760000, STRIDE: 6400
Clipping frame in rate conversion by 0.000862
cur_dts is invalid (this is harmless if it occurs once at the start per stream)
[rawvideo @ 0x55d854880cc0] PACKET SIZE: 5760000, STRIDE: 6400
Clipping frame in rate conversion by 0.000816
cur_dts is invalid (this is harmless if it occurs once at the start per stream) 0x    
[rawvideo @ 0x55d854880cc0] PACKET SIZE: 5760000, STRIDE: 6400
Clipping frame in rate conversion by 0.001335
cur_dts is invalid (this is harmless if it occurs once at the start per stream)
[rawvideo @ 0x55d854880cc0] PACKET SIZE: 5760000, STRIDE: 6400
Clipping frame in rate conversion by 0.001289
cur_dts is invalid (this is harmless if it occurs once at the start per stream)
[rawvideo @ 0x55d854880cc0] PACKET SIZE: 5760000, STRIDE: 6400
Clipping frame in rate conversion by 0.000923
[libx264 @ 0x55d854882a60] frame=   0 QP=14.87 NAL=3 Slice:I Poc:0   I:5700 P:0    SKIP:0    size=471 bytes
[rawvideo @ 0x55d854880cc0] PACKET SIZE: 5760000, STRIDE: 6400
Clipping frame in rate conversion by 0.001335
[libx264 @ 0x55d854882a60] frame=   1 QP=9.00 NAL=2 Slice:P Poc:8   I:0    P:0    SKIP:5700 size=55 bytes
[rawvideo @ 0x55d854880cc0] PACKET SIZE: 5760000, STRIDE: 6400
Clipping frame in rate conversion by 0.000923
[libx264 @ 0x55d854882a60] frame=   2 QP=12.00 NAL=2 Slice:B Poc:4   I:0    P:0    SKIP:5700 size=52 bytes
[rawvideo @ 0x55d854880cc0] PACKET SIZE: 5760000, STRIDE: 6400
Clipping frame in rate conversion by 0.001411
[libx264 @ 0x55d854882a60] frame=   3 QP=13.00 NAL=0 Slice:B Poc:2   I:0    P:0    SKIP:5700 size=52 bytes
[rawvideo @ 0x55d854880cc0] PACKET SIZE: 5760000, STRIDE: 6400
Clipping frame in rate conversion by 0.001564
[libx264 @ 0x55d854882a60] frame=   4 QP=13.00 NAL=0 Slice:B Poc:6   I:0    P:0    SKIP:5700 size=52 bytes
[rawvideo @ 0x55d854880cc0] PACKET SIZE: 5760000, STRIDE: 6400
Clipping frame in rate conversion by 0.000923
[libx264 @ 0x55d854882a60] frame=   5 QP=16.83 NAL=2 Slice:P Poc:16  I:8    P:0    SKIP:5692 size=178 bytes
[rawvideo @ 0x55d854880cc0] PACKET SIZE: 5760000, STRIDE: 6400
Clipping frame in rate conversion by 0.000771
[libx264 @ 0x55d854882a60] frame=   6 QP=18.85 NAL=2 Slice:B Poc:12  I:2    P:7    SKIP:5691 size=156 bytes
[rawvideo @ 0x55d854880cc0] PACKET SIZE: 5760000, STRIDE: 6400
Clipping frame in rate conversion by 0.001411
[libx264 @ 0x55d854882a60] frame=   7 QP=13.00 NAL=0 Slice:B Poc:10  I:0    P:8    SKIP:5692 size=63 bytes
[rawvideo @ 0x55d854880cc0] PACKET SIZE: 5760000, STRIDE: 6400
Clipping frame in rate conversion by 0.000099
[libx264 @ 0x55d854882a60] frame=   8 QP=19.20 NAL=0 Slice:B Poc:14  I:3    P:8    SKIP:5689 size=169 bytes
[rawvideo @ 0x55d854880cc0] PACKET SIZE: 5760000, STRIDE: 6400
Clipping frame in rate conversion by 0.000816
[libx264 @ 0x55d854882a60] frame=   9 QP=17.73 NAL=2 Slice:P Poc:24  I:7    P:0    SKIP:5693 size=216 bytes
[rawvideo @ 0x55d854880cc0] PACKET SIZE: 5760000, STRIDE: 6400
Clipping frame in rate conversion by 0.001244
[libx264 @ 0x55d854882a60] frame=  10 QP=19.17 NAL=2 Slice:B Poc:20  I:4    P:11   SKIP:5685 size=182 bytes
[rawvideo @ 0x55d854880cc0] PACKET SIZE: 5760000, STRIDE: 6400trate=  59.6kbits/s speed=0.123x    
Clipping frame in rate conversion by 0.000923
[libx264 @ 0x55d854882a60] frame=  11 QP=20.94 NAL=0 Slice:B Poc:18  I:4    P:9    SKIP:5687 size=170 bytes
[rawvideo @ 0x55d854880cc0] PACKET SIZE: 5760000, STRIDE: 6400
Clipping frame in rate conversion by 0.001335
[libx264 @ 0x55d854882a60] frame=  12 QP=21.07 NAL=0 Slice:B Poc:22  I:2    P:15   SKIP:5683 size=167 bytes
[rawvideo @ 0x55d854880cc0] PACKET SIZE: 5760000, STRIDE: 6400
Clipping frame in rate conversion by 0.001640
[libx264 @ 0x55d854882a60] frame=  13 QP=9.00 NAL=2 Slice:P Poc:32  I:0    P:0    SKIP:5700 size=61 bytes
[rawvideo @ 0x55d854880cc0] PACKET SIZE: 5760000, STRIDE: 6400
Clipping frame in rate conversion by 0.001167
[libx264 @ 0x55d854882a60] frame=  14 QP=12.00 NAL=2 Slice:B Poc:28  I:0    P:3    SKIP:5697 size=57 bytes
[rawvideo @ 0x55d854880cc0] PACKET SIZE: 5760000, STRIDE: 6400
Clipping frame in rate conversion by 0.001564
[libx264 @ 0x55d854882a60] frame=  15 QP=13.00 NAL=0 Slice:B Poc:26  I:0    P:3    SKIP:5697 size=54 bytes
[rawvideo @ 0x55d854880cc0] PACKET SIZE: 5760000, STRIDE: 6400
Clipping frame in rate conversion by 0.001274
[libx264 @ 0x55d854882a60] frame=  16 QP=13.00 NAL=0 Slice:B Poc:30  I:0    P:3    SKIP:5697 size=54 bytes
[rawvideo @ 0x55d854880cc0] PACKET SIZE: 5760000, STRIDE: 6400
Clipping frame in rate conversion by 0.001442
[libx264 @ 0x55d854882a60] frame=  17 QP=9.00 NAL=2 Slice:P Poc:40  I:0    P:0    SKIP:5700 size=61 bytes
[rawvideo @ 0x55d854880cc0] PACKET SIZE: 5760000, STRIDE: 6400
Clipping frame in rate conversion by 0.001274
[libx264 @ 0x55d854882a60] frame=  18 QP=12.00 NAL=2 Slice:B Poc:36  I:0    P:3    SKIP:5697 size=57 bytes
[rawvideo @ 0x55d854880cc0] PACKET SIZE: 5760000, STRIDE: 6400
Clipping frame in rate conversion by 0.001167
[libx264 @ 0x55d854882a60] frame=  19 QP=13.00 NAL=0 Slice:B Poc:34  I:0    P:3    SKIP:5697 size=54 bytes
[rawvideo @ 0x55d854880cc0] PACKET SIZE: 5760000, STRIDE: 6400
Clipping frame in rate conversion by 0.001640
[libx264 @ 0x55d854882a60] frame=  20 QP=13.00 NAL=0 Slice:B Poc:38  I:0    P:3    SKIP:5697 size=54 bytes
[rawvideo @ 0x55d854880cc0] PACKET SIZE: 5760000, STRIDE: 6400
Clipping frame in rate conversion by 0.001167
[libx264 @ 0x55d854882a60] frame=  21 QP=14.42 NAL=2 Slice:P Poc:48  I:7    P:1    SKIP:5692 size=173 bytes
[rawvideo @ 0x55d854880cc0] PACKET SIZE: 5760000, STRIDE: 6400
Clipping frame in rate conversion by 0.001198
[libx264 @ 0x55d854882a60] frame=  22 QP=20.21 NAL=2 Slice:B Poc:44  I:3    P:13   SKIP:5684 size=168 bytes
[rawvideo @ 0x55d854880cc0] PACKET SIZE: 5760000, STRIDE: 6400
Clipping frame in rate conversion by 0.000969
[libx264 @ 0x55d854882a60] frame=  23 QP=22.72 NAL=0 Slice:B Poc:42  I:2    P:12   SKIP:5686 size=162 bytes
[rawvideo @ 0x55d854880cc0] PACKET SIZE: 5760000, STRIDE: 6400trate=  35.0kbits/s speed=0.27x    
Clipping frame in rate conversion by 0.000069
[libx264 @ 0x55d854882a60] frame=  24 QP=20.51 NAL=0 Slice:B Poc:46  I:2    P:15   SKIP:5683 size=164 bytes
[rawvideo @ 0x55d854880cc0] PACKET SIZE: 5760000, STRIDE: 6400
Clipping frame in rate conversion by 0.001671
[libx264 @ 0x55d854882a60] frame=  25 QP=18.00 NAL=2 Slice:P Poc:56  I:8    P:0    SKIP:5692 size=162 bytes
[rawvideo @ 0x55d854880cc0] PACKET SIZE: 5760000, STRIDE: 6400
Clipping frame in rate conversion by 0.000938
[libx264 @ 0x55d854882a60] frame=  26 QP=18.50 NAL=2 Slice:B Poc:52  I:4    P:15   SKIP:5681 size=173 bytes
[rawvideo @ 0x55d854880cc0] PACKET SIZE: 5760000, STRIDE: 6400
Clipping frame in rate conversion by 0.001320
[libx264 @ 0x55d854882a60] frame=  27 QP=19.16 NAL=0 Slice:B Poc:50  I:4    P:14   SKIP:5682 size=172 bytes
[rawvideo @ 0x55d854880cc0] PACKET SIZE: 5760000, STRIDE: 6400
Clipping frame in rate conversion by 0.001289
[libx264 @ 0x55d854882a60] frame=  28 QP=19.86 NAL=0 Slice:B Poc:54  I:4    P:14   SKIP:5682 size=179 bytes
[rawvideo @ 0x55d854880cc0] PACKET SIZE: 5760000, STRIDE: 6400
Clipping frame in rate conversion by 0.001091
[libx264 @ 0x55d854882a60] frame=  29 QP=17.87 NAL=2 Slice:P Poc:64  I:6    P:0    SKIP:5694 size=198 bytes
[rawvideo @ 0x55d854880cc0] PACKET SIZE: 5760000, STRIDE: 6400
Clipping frame in rate conversion by 0.001640
[libx264 @ 0x55d854882a60] frame=  30 QP=12.00 NAL=2 Slice:B Poc:60  I:0    P:12   SKIP:5688 size=65 bytes
[rawvideo @ 0x55d854880cc0] PACKET SIZE: 5760000, STRIDE: 6400
Clipping frame in rate conversion by 0.001289
[libx264 @ 0x55d854882a60] frame=  31 QP=22.06 NAL=0 Slice:B Poc:58  I:2    P:11   SKIP:5687 size=152 bytes
[rawvideo @ 0x55d854880cc0] PACKET SIZE: 5760000, STRIDE: 6400
Clipping frame in rate conversion by 0.000923
[libx264 @ 0x55d854882a60] frame=  32 QP=13.00 NAL=0 Slice:B Poc:62  I:0    P:7    SKIP:5693 size=58 bytes
[rawvideo @ 0x55d854880cc0] PACKET SIZE: 5760000, STRIDE: 6400
Clipping frame in rate conversion by 0.001396
[libx264 @ 0x55d854882a60] frame=  33 QP=9.00 NAL=2 Slice:P Poc:72  I:0    P:0    SKIP:5700 size=61 bytes
[rawvideo @ 0x55d854880cc0] PACKET SIZE: 5760000, STRIDE: 6400
Clipping frame in rate conversion by 0.000938
[libx264 @ 0x55d854882a60] frame=  34 QP=12.00 NAL=2 Slice:B Poc:68  I:0    P:8    SKIP:5692 size=62 bytes
[rawvideo @ 0x55d854880cc0] PACKET SIZE: 5760000, STRIDE: 6400
Clipping frame in rate conversion by 0.000893
[libx264 @ 0x55d854882a60] frame=  35 QP=13.00 NAL=0 Slice:B Poc:66  I:0    P:7    SKIP:5693 size=57 bytes
[rawvideo @ 0x55d854880cc0] PACKET SIZE: 5760000, STRIDE: 6400
Clipping frame in rate conversion by 0.000999
[libx264 @ 0x55d854882a60] frame=  36 QP=13.00 NAL=0 Slice:B Poc:70  I:0    P:7    SKIP:5693 size=58 bytes
[rawvideo @ 0x55d854880cc0] PACKET SIZE: 5760000, STRIDE: 6400trate=  30.8kbits/s speed=0.374x    
Clipping frame in rate conversion by 0.000069
[libx264 @ 0x55d854882a60] frame=  37 QP=17.53 NAL=2 Slice:P Poc:80  I:4    P:0    SKIP:5696 size=158 bytes
[rawvideo @ 0x55d854880cc0] PACKET SIZE: 5760000, STRIDE: 6400
Clipping frame in rate conversion by 0.000114
[libx264 @ 0x55d854882a60] frame=  38 QP=22.06 NAL=2 Slice:B Poc:76  I:3    P:13   SKIP:5684 size=175 bytes
[rawvideo @ 0x55d854880cc0] PACKET SIZE: 5760000, STRIDE: 6400
Clipping frame in rate conversion by 0.000969
[libx264 @ 0x55d854882a60] frame=  39 QP=13.00 NAL=0 Slice:B Poc:74  I:0    P:13   SKIP:5687 size=63 bytes
[rawvideo @ 0x55d854880cc0] PACKET SIZE: 5760000, STRIDE: 6400
Clipping frame in rate conversion by 0.000862
[libx264 @ 0x55d854882a60] frame=  40 QP=20.38 NAL=0 Slice:B Poc:78  I:2    P:16   SKIP:5682 size=173 bytes
[rawvideo @ 0x55d854880cc0] PACKET SIZE: 5760000, STRIDE: 6400
Clipping frame in rate conversion by 0.001274
[libx264 @ 0x55d854882a60] frame=  41 QP=16.54 NAL=2 Slice:P Poc:88  I:6    P:1    SKIP:5693 size=178 bytes
[rawvideo @ 0x55d854880cc0] PACKET SIZE: 5760000, STRIDE: 6400
Clipping frame in rate conversion by 0.001060
[libx264 @ 0x55d854882a60] frame=  42 QP=18.67 NAL=2 Slice:B Poc:84  I:2    P:13   SKIP:5685 size=140 bytes
[rawvideo @ 0x55d854880cc0] PACKET SIZE: 5760000, STRIDE: 6400
Clipping frame in rate conversion by 0.001671
[libx264 @ 0x55d854882a60] frame=  43 QP=19.14 NAL=0 Slice:B Poc:82  I:3    P:13   SKIP:5684 size=164 bytes
[rawvideo @ 0x55d854880cc0] PACKET SIZE: 5760000, STRIDE: 6400
Clipping frame in rate conversion by 0.001549
[libx264 @ 0x55d854882a60] frame=  44 QP=18.46 NAL=0 Slice:B Poc:86  I:4    P:12   SKIP:5684 size=174 bytes
[rawvideo @ 0x55d854880cc0] PACKET SIZE: 5760000, STRIDE: 6400
Clipping frame in rate conversion by 0.001549
[libx264 @ 0x55d854882a60] frame=  45 QP=18.68 NAL=2 Slice:P Poc:96  I:9    P:0    SKIP:5691 size=205 bytes
[rawvideo @ 0x55d854880cc0] PACKET SIZE: 5760000, STRIDE: 6400
Clipping frame in rate conversion by 0.001610
[libx264 @ 0x55d854882a60] frame=  46 QP=22.29 NAL=2 Slice:B Poc:92  I:2    P:13   SKIP:5685 size=161 bytes
[rawvideo @ 0x55d854880cc0] PACKET SIZE: 5760000, STRIDE: 6400
Clipping frame in rate conversion by 0.001595
[libx264 @ 0x55d854882a60] frame=  47 QP=21.67 NAL=0 Slice:B Poc:90  I:2    P:12   SKIP:5686 size=154 bytes
[rawvideo @ 0x55d854880cc0] PACKET SIZE: 5760000, STRIDE: 6400
Clipping frame in rate conversion by 0.001335
[libx264 @ 0x55d854882a60] frame=  48 QP=13.00 NAL=0 Slice:B Poc:94  I:0    P:11   SKIP:5689 size=62 bytes
[rawvideo @ 0x55d854880cc0] PACKET SIZE: 5760000, STRIDE: 6400
Clipping frame in rate conversion by 0.000938
[libx264 @ 0x55d854882a60] frame=  49 QP=9.00 NAL=2 Slice:P Poc:104 I:0    P:0    SKIP:5700 size=61 bytes
[rawvideo @ 0x55d854880cc0] PACKET SIZE: 5760000, STRIDE: 6400trate=  30.2kbits/s speed=0.452x    
Clipping frame in rate conversion by 0.001366
[libx264 @ 0x55d854882a60] frame=  50 QP=12.00 NAL=2 Slice:B Poc:100 I:0    P:5    SKIP:5695 size=60 bytes
[rawvideo @ 0x55d854880cc0] PACKET SIZE: 5760000, STRIDE: 6400
Clipping frame in rate conversion by 0.000969
[libx264 @ 0x55d854882a60] frame=  51 QP=13.00 NAL=0 Slice:B Poc:98  I:0    P:5    SKIP:5695 size=57 bytes
[rawvideo @ 0x55d854880cc0] PACKET SIZE: 5760000, STRIDE: 6400
Clipping frame in rate conversion by 0.000816
[libx264 @ 0x55d854882a60] frame=  52 QP=13.00 NAL=0 Slice:B Poc:102 I:0    P:5    SKIP:5695 size=57 bytes
[rawvideo @ 0x55d854880cc0] PACKET SIZE: 5760000, STRIDE: 6400
Clipping frame in rate conversion by 0.000786
[libx264 @ 0x55d854882a60] frame=  53 QP=16.63 NAL=2 Slice:P Poc:112 I:8    P:0    SKIP:5692 size=191 bytes
[rawvideo @ 0x55d854880cc0] PACKET SIZE: 5760000, STRIDE: 6400
Clipping frame in rate conversion by 0.001671
[libx264 @ 0x55d854882a60] frame=  54 QP=20.75 NAL=2 Slice:B Poc:108 I:2    P:15   SKIP:5683 size=184 bytes
[rawvideo @ 0x55d854880cc0] PACKET SIZE: 5760000, STRIDE: 6400
Clipping frame in rate conversion by 0.001198
[libx264 @ 0x55d854882a60] frame=  55 QP=22.41 NAL=0 Slice:B Poc:106 I:4    P:14   SKIP:5682 size=172 bytes
[rawvideo @ 0x55d854880cc0] PACKET SIZE: 5760000, STRIDE: 6400
Clipping frame in rate conversion by 0.000816
[libx264 @ 0x55d854882a60] frame=  56 QP=20.25 NAL=0 Slice:B Poc:110 I:2    P:15   SKIP:5683 size=171 bytes
[rawvideo @ 0x55d854880cc0] PACKET SIZE: 5760000, STRIDE: 6400
Clipping frame in rate conversion by 0.001396
[libx264 @ 0x55d854882a60] frame=  57 QP=17.53 NAL=2 Slice:P Poc:120 I:8    P:0    SKIP:5692 size=233 bytes
[rawvideo @ 0x55d854880cc0] PACKET SIZE: 5760000, STRIDE: 6400
Clipping frame in rate conversion by 0.000023
[libx264 @ 0x55d854882a60] frame=  58 QP=16.03 NAL=2 Slice:B Poc:116 I:1    P:15   SKIP:5684 size=168 bytes
[libx264 @ 0x55d854882a60] frame=  59 QP=19.31 NAL=0 Slice:B Poc:114 I:4    P:14   SKIP:5682 size=196 bytes
[libx264 @ 0x55d854882a60] frame=  60 QP=21.00 NAL=0 Slice:B Poc:118 I:3    P:15   SKIP:5682 size=196 bytes
[libx264 @ 0x55d854882a60] frame=  61 QP=9.00 NAL=2 Slice:P Poc:128 I:1    P:0    SKIP:5699 size=63 bytes
[libx264 @ 0x55d854882a60] frame=  62 QP=12.00 NAL=2 Slice:B Poc:124 I:0    P:7    SKIP:5693 size=65 bytes
[libx264 @ 0x55d854882a60] frame=  63 QP=13.00 NAL=0 Slice:B Poc:122 I:0    P:7    SKIP:5693 size=60 bytes
[libx264 @ 0x55d854882a60] frame=  64 QP=13.00 NAL=0 Slice:B Poc:126 I:0    P:6    SKIP:5694 size=59 bytes
[libx264 @ 0x55d854882a60] frame=  65 QP=21.63 NAL=2 Slice:P Poc:136 I:6    P:0    SKIP:5694 size=160 bytes
[libx264 @ 0x55d854882a60] frame=  66 QP=12.00 NAL=2 Slice:B Poc:132 I:0    P:14   SKIP:5686 size=71 bytes
[libx264 @ 0x55d854882a60] frame=  67 QP=13.00 NAL=0 Slice:B Poc:130 I:0    P:6    SKIP:5694 size=58 bytes
[libx264 @ 0x55d854882a60] frame=  68 QP=13.00 NAL=0 Slice:B Poc:134 I:0    P:14   SKIP:5686 size=67 bytes
[libx264 @ 0x55d854882a60] frame=  69 QP=18.54 NAL=2 Slice:P Poc:144 I:8    P:0    SKIP:5692 size=167 bytes
[libx264 @ 0x55d854882a60] frame=  70 QP=20.77 NAL=2 Slice:B Poc:140 I:2    P:17   SKIP:5681 size=177 bytes
[libx264 @ 0x55d854882a60] frame=  71 QP=19.19 NAL=0 Slice:B Poc:138 I:2    P:19   SKIP:5679 size=181 bytes
[libx264 @ 0x55d854882a60] frame=  72 QP=20.54 NAL=0 Slice:B Poc:142 I:2    P:19   SKIP:5679 size=179 bytes
[libx264 @ 0x55d854882a60] frame=  73 QP=17.44 NAL=2 Slice:P Poc:152 I:11   P:0    SKIP:5689 size=207 bytes
[libx264 @ 0x55d854882a60] frame=  74 QP=12.00 NAL=2 Slice:B Poc:148 I:0    P:18   SKIP:5682 size=73 bytes
[libx264 @ 0x55d854882a60] frame=  75 QP=22.37 NAL=0 Slice:B Poc:146 I:3    P:16   SKIP:5681 size=174 bytes
[libx264 @ 0x55d854882a60] frame=  76 QP=13.00 NAL=0 Slice:B Poc:150 I:0    P:7    SKIP:5693 size=59 bytes
[libx264 @ 0x55d854882a60] frame=  77 QP=9.00 NAL=2 Slice:P Poc:160 I:1    P:0    SKIP:5699 size=63 bytes
[libx264 @ 0x55d854882a60] frame=  78 QP=12.00 NAL=2 Slice:B Poc:156 I:0    P:8    SKIP:5692 size=64 bytes
[libx264 @ 0x55d854882a60] frame=  79 QP=13.00 NAL=0 Slice:B Poc:154 I:0    P:7    SKIP:5693 size=59 bytes
[libx264 @ 0x55d854882a60] frame=  80 QP=13.00 NAL=0 Slice:B Poc:158 I:0    P:6    SKIP:5694 size=59 bytes
[libx264 @ 0x55d854882a60] frame=  81 QP=18.37 NAL=2 Slice:P Poc:168 I:6    P:0    SKIP:5694 size=163 bytes
[libx264 @ 0x55d854882a60] frame=  82 QP=20.89 NAL=2 Slice:B Poc:164 I:2    P:16   SKIP:5682 size=177 bytes
[libx264 @ 0x55d854882a60] frame=  83 QP=20.77 NAL=0 Slice:B Poc:162 I:4    P:16   SKIP:5680 size=178 bytes
[libx264 @ 0x55d854882a60] frame=  84 QP=21.61 NAL=0 Slice:B Poc:166 I:2    P:17   SKIP:5681 size=169 bytes
[libx264 @ 0x55d854882a60] frame=  85 QP=18.38 NAL=2 Slice:P Poc:176 I:8    P:1    SKIP:5691 size=174 bytes
[libx264 @ 0x55d854882a60] frame=  86 QP=19.11 NAL=2 Slice:B Poc:172 I:4    P:16   SKIP:5680 size=184 bytes
[libx264 @ 0x55d854882a60] frame=  87 QP=20.17 NAL=0 Slice:B Poc:170 I:3    P:16   SKIP:5681 size=146 bytes
[libx264 @ 0x55d854882a60] frame=  88 QP=20.84 NAL=0 Slice:B Poc:174 I:1    P:20   SKIP:5679 size=135 bytes
[libx264 @ 0x55d854882a60] frame=  89 QP=18.08 NAL=2 Slice:P Poc:184 I:7    P:0    SKIP:5693 size=200 bytes
[libx264 @ 0x55d854882a60] frame=  90 QP=12.00 NAL=2 Slice:B Poc:180 I:0    P:19   SKIP:5681 size=73 bytes
[libx264 @ 0x55d854882a60] frame=  91 QP=13.00 NAL=0 Slice:B Poc:178 I:0    P:16   SKIP:5684 size=68 bytes
[libx264 @ 0x55d854882a60] frame=  92 QP=13.00 NAL=0 Slice:B Poc:182 I:0    P:12   SKIP:5688 size=67 bytes
[libx264 @ 0x55d854882a60] frame=  93 QP=9.00 NAL=2 Slice:P Poc:192 I:0    P:0    SKIP:5700 size=61 bytes
[libx264 @ 0x55d854882a60] frame=  94 QP=12.00 NAL=2 Slice:B Poc:188 I:0    P:12   SKIP:5688 size=70 bytes
[libx264 @ 0x55d854882a60] frame=  95 QP=13.00 NAL=0 Slice:B Poc:186 I:0    P:12   SKIP:5688 size=65 bytes
[libx264 @ 0x55d854882a60] frame=  96 QP=13.00 NAL=0 Slice:B Poc:190 I:0    P:12   SKIP:5688 size=67 bytes
[libx264 @ 0x55d854882a60] frame=  97 QP=18.25 NAL=2 Slice:P Poc:200 I:5    P:0    SKIP:5695 size=164 bytes
[libx264 @ 0x55d854882a60] frame=  98 QP=22.50 NAL=2 Slice:B Poc:196 I:2    P:20   SKIP:5678 size=168 bytes
[libx264 @ 0x55d854882a60] frame=  99 QP=13.00 NAL=0 Slice:B Poc:194 I:0    P:20   SKIP:5680 size=70 bytes
[libx264 @ 0x55d854882a60] frame= 100 QP=20.33 NAL=0 Slice:B Poc:198 I:3    P:22   SKIP:5675 size=190 bytes
[libx264 @ 0x55d854882a60] frame= 101 QP=17.93 NAL=2 Slice:P Poc:208 I:8    P:1    SKIP:5691 size=173 bytes
[libx264 @ 0x55d854882a60] frame= 102 QP=19.36 NAL=2 Slice:B Poc:204 I:2    P:22   SKIP:5676 size=155 bytes
[libx264 @ 0x55d854882a60] frame= 103 QP=20.72 NAL=0 Slice:B Poc:202 I:2    P:18   SKIP:5680 size=164 bytes
[libx264 @ 0x55d854882a60] frame= 104 QP=19.36 NAL=0 Slice:B Poc:206 I:4    P:19   SKIP:5677 size=165 bytes
[libx264 @ 0x55d854882a60] frame= 105 QP=18.46 NAL=2 Slice:P Poc:216 I:9    P:0    SKIP:5691 size=205 bytes
[libx264 @ 0x55d854882a60] frame= 106 QP=12.00 NAL=2 Slice:B Poc:212 I:0    P:21   SKIP:5679 size=77 bytes
[libx264 @ 0x55d854882a60] frame= 107 QP=21.08 NAL=0 Slice:B Poc:210 I:3    P:20   SKIP:5677 size=184 bytes
[libx264 @ 0x55d854882a60] frame= 108 QP=13.00 NAL=0 Slice:B Poc:214 I:0    P:13   SKIP:5687 size=68 bytes
[libx264 @ 0x55d854882a60] frame= 109 QP=11.00 NAL=2 Slice:P Poc:224 I:0    P:0    SKIP:5700 size=60 bytes
[libx264 @ 0x55d854882a60] frame= 110 QP=12.00 NAL=2 Slice:B Poc:220 I:0    P:13   SKIP:5687 size=72 bytes
[libx264 @ 0x55d854882a60] frame= 111 QP=13.00 NAL=0 Slice:B Poc:218 I:0    P:13   SKIP:5687 size=67 bytes
[libx264 @ 0x55d854882a60] frame= 112 QP=13.00 NAL=0 Slice:B Poc:222 I:0    P:13   SKIP:5687 size=68 bytes
[libx264 @ 0x55d854882a60] frame= 113 QP=13.00 NAL=2 Slice:P Poc:228 I:0    P:0    SKIP:5700 size=60 bytes
[libx264 @ 0x55d854882a60] frame= 114 QP=13.00 NAL=0 Slice:B Poc:226 I:0    P:13   SKIP:5687 size=69 bytes
frame=  115 fps= 24 q=-1.0 Lsize=      17kB time=00:00:04.48 bitrate=  30.7kbits/s speed=0.933x    
video:15kB audio:0kB subtitle:0kB other streams:0kB global headers:0kB muxing overhead: 14.791082%
Input file #0 (:0.0):
  Input stream #0:0 (video): 115 packets read (662400000 bytes); 115 frames decoded; 
  Total: 115 packets (662400000 bytes) demuxed
Output file #0 (black_screen_with_cursor2.mp4):
  Output stream #0:0 (video): 115 frames encoded; 115 packets muxed (14982 bytes); 
  Total: 115 packets (14982 bytes) muxed
115 frames successfully decoded, 0 decoding errors
[AVIOContext @ 0x55d854886380] Statistics: 34 seeks, 141 writeouts
[libx264 @ 0x55d854882a60] frame I:1     Avg QP:14.87  size:   471
[libx264 @ 0x55d854882a60] frame P:29    Avg QP:14.99  size:   142
[libx264 @ 0x55d854882a60] frame B:85    Avg QP:16.38  size:   114
[libx264 @ 0x55d854882a60] consecutive B-frames:  0.9%  1.7%  0.0% 97.4%
[libx264 @ 0x55d854882a60] mb I  I16..4:  0.0% 99.9%  0.1%
[libx264 @ 0x55d854882a60] mb P  I16..4:  0.0%  0.1%  0.0%  P16..4:  0.0%  0.0%  0.0%  0.0%  0.0%    skip:99.9%
[libx264 @ 0x55d854882a60] mb B  I16..4:  0.0%  0.0%  0.0%  B16..8:  0.2%  0.0%  0.0%  direct: 0.0%  skip:99.8%  L0:59.8% L1:40.2% BI: 0.0%
[libx264 @ 0x55d854882a60] 8x8 transform intra:97.2% inter:7.4%
[libx264 @ 0x55d854882a60] coded y,u,v intra: 1.5% 0.0% 0.0% inter: 0.0% 0.0% 0.0%
[libx264 @ 0x55d854882a60] i16 v,h,dc,p: 33% 33% 33%  0%
[libx264 @ 0x55d854882a60] i8 v,h,dc,ddl,ddr,vr,hd,vl,hu: 15%  0% 85%  0%  0%  0%  0%  0%  0%
[libx264 @ 0x55d854882a60] i4 v,h,dc,ddl,ddr,vr,hd,vl,hu: 24% 10% 47%  2%  8%  3%  1%  1%  2%
[libx264 @ 0x55d854882a60] Weighted P-Frames: Y:0.0% UV:0.0%
[libx264 @ 0x55d854882a60] ref B L0: 68.0% 32.0%
[libx264 @ 0x55d854882a60] kb/s:24.86

I'm on Archlinux, using default ffmpeg package

$ pacman -Q ffmpeg
ffmpeg 1:3.2.2-2

This happens on notebook with discrete Nvidia GPU. Could this problem be related to that?

Attachments (5)

black_screen_with_cursor.mp4 (34.2 KB) - added by Simargol 4 months ago.
black_screen_with_cursor2.mp4 (16.8 KB) - added by Simargol 4 months ago.
git-ffmpeg_black_screen_with_cursor.mp4 (15.2 KB) - added by Simargol 4 months ago.
git-ffmpeg_black_screen_with_cursor2.mp4 (11.6 KB) - added by Simargol 4 months ago.
git-ffmpeg_black_screen_with_cursor_disable-xcb.mp4 (15.0 KB) - added by Simargol 4 months ago.

Download all attachments as: .zip

Change History (11)

Changed 4 months ago by Simargol

Changed 4 months ago by Simargol

comment:1 Changed 4 months ago by cehoyos

  • Component changed from undetermined to avdevice
  • Keywords xcb added

Is the issue reproducible with current FFmpeg git head, the only version supported here?

Does screen capture with another application (vlc) work better?

Please also test the following configure line that enables the old screen capture method instead of the new one:

$ configure --enable-x11grab --enable-gpl --disable-libxcb --enable-libx264

comment:2 follow-up: Changed 4 months ago by Simargol

Everything you mentioned gives the same result for me.

Git version:

$ ffmpeg -video_size 1600x900 -framerate 25 -f x11grab -i :0.0 git-ffmpeg_black_screen_with_cursor.mp4
ffmpeg version N-83420-gfd57f70c97 Copyright (c) 2000-2017 the FFmpeg developers
  built with gcc 6.3.1 (GCC) 20170109
  configuration: --prefix=/usr --disable-debug --disable-static --enable-avisynth --enable-avresample --enable-fontconfig --enable-gnutls --enable-gpl --enable-ladspa --enable-libass --enable-libbluray --enable-libfreetype --enable-libfribidi --enable-libgsm --enable-libmodplug --enable-libmp3lame --enable-libopencore_amrnb --enable-libopencore_amrwb --enable-libopenjpeg --enable-libopus --enable-libfdk-aac --enable-libpulse --enable-libschroedinger --enable-libsoxr --enable-libspeex --enable-libssh --enable-libtheora --enable-libv4l2 --enable-libvidstab --enable-libvorbis --enable-libvpx --enable-libwebp --enable-libx264 --enable-libx265 --enable-libxvid --enable-nonfree --enable-shared --enable-version3 --enable-x11grab
  libavutil      55. 46.100 / 55. 46.100
  libavcodec     57. 75.100 / 57. 75.100
  libavformat    57. 66.101 / 57. 66.101
  libavdevice    57.  2.100 / 57.  2.100
  libavfilter     6. 73.100 /  6. 73.100
  libavresample   3.  2.  0 /  3.  2.  0
  libswscale      4.  3.101 /  4.  3.101
  libswresample   2.  4.100 /  2.  4.100
  libpostproc    54.  2.100 / 54.  2.100
[x11grab @ 0x207b580] Stream #0: not enough frames to estimate rate; consider increasing probesize
Input #0, x11grab, from ':0.0':
  Duration: N/A, start: 1486298721.648585, bitrate: N/A
    Stream #0:0: Video: rawvideo (BGR[0] / 0x524742), bgr0, 1600x900, 25 fps, 1000k tbr, 1000k tbn, 1000k tbc
No pixel format specified, yuv444p for H.264 encoding chosen.
Use -pix_fmt yuv420p for compatibility with outdated media players.
[libx264 @ 0x2085ac0] using cpu capabilities: MMX2 SSE2Fast SSSE3 SSE4.2 AVX FMA3 AVX2 LZCNT BMI2
[libx264 @ 0x2085ac0] profile High 4:4:4 Predictive, level 4.0, 4:4:4 8-bit
[libx264 @ 0x2085ac0] 264 - core 148 r2708 86b7198 - H.264/MPEG-4 AVC codec - Copyleft 2003-2016 - 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=1 trellis=1 8x8dct=1 cqm=0 deadzone=21,11 fast_pskip=1 chroma_qp_offset=4 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, mp4, to 'git-ffmpeg_black_screen_with_cursor.mp4':
  Metadata:
    encoder         : Lavf57.66.101
    Stream #0:0: Video: h264 (libx264) ([33][0][0][0] / 0x0021), yuv444p, 1600x900, q=-1--1, 25 fps, 12800 tbn, 25 tbc
    Metadata:
      encoder         : Lavc57.75.100 libx264
    Side data:
      cpb: bitrate max/min/avg: 0/0/0 buffer size: 0 vbv_delay: -1
Stream mapping:
  Stream #0:0 -> #0:0 (rawvideo (native) -> h264 (libx264))
Press [q] to stop, [?] for help
frame=  124 fps= 24 q=-1.0 Lsize=      15kB time=00:00:04.84 bitrate=  25.8kbits/s speed=0.942x    
video:13kB audio:0kB subtitle:0kB other streams:0kB global headers:0kB muxing overhead: 17.417463%
[libx264 @ 0x2085ac0] frame I:1     Avg QP:16.24  size:   497
[libx264 @ 0x2085ac0] frame P:31    Avg QP:13.92  size:   118
[libx264 @ 0x2085ac0] frame B:92    Avg QP:14.96  size:    92
[libx264 @ 0x2085ac0] consecutive B-frames:  0.8%  0.0%  2.4% 96.8%
[libx264 @ 0x2085ac0] mb I  I16..4:  0.0% 99.9%  0.1%
[libx264 @ 0x2085ac0] mb P  I16..4:  0.0%  0.0%  0.0%  P16..4:  0.0%  0.0%  0.0%  0.0%  0.0%    skip:99.9%
[libx264 @ 0x2085ac0] mb B  I16..4:  0.0%  0.0%  0.0%  B16..8:  0.1%  0.0%  0.0%  direct: 0.0%  skip:99.8%  L0:61.5% L1:38.5% BI: 0.0%
[libx264 @ 0x2085ac0] 8x8 transform intra:97.6% inter:10.5%
[libx264 @ 0x2085ac0] coded y,u,v intra: 1.1% 0.0% 0.0% inter: 0.0% 0.0% 0.0%
[libx264 @ 0x2085ac0] i16 v,h,dc,p: 50%  0% 50%  0%
[libx264 @ 0x2085ac0] i8 v,h,dc,ddl,ddr,vr,hd,vl,hu: 25%  0% 75%  0%  0%  0%  0%  0%  0%
[libx264 @ 0x2085ac0] i4 v,h,dc,ddl,ddr,vr,hd,vl,hu: 19%  8% 55%  2%  9%  3%  1%  1%  2%
[libx264 @ 0x2085ac0] Weighted P-Frames: Y:0.0% UV:0.0%
[libx264 @ 0x2085ac0] ref B L0: 66.2% 33.8%
[libx264 @ 0x2085ac0] ref B L1: 99.6%  0.4%
[libx264 @ 0x2085ac0] kb/s:20.34

Git version with loglevel 99:

$ ffmpeg -v 9 -loglevel 99 -video_size 1600x900 -framerate 25 -f x11grab -i :0.0 git-ffmpeg_black_screen_with_cursor2.mp4
ffmpeg version N-83420-gfd57f70c97 Copyright (c) 2000-2017 the FFmpeg developers
  built with gcc 6.3.1 (GCC) 20170109
  configuration: --prefix=/usr --disable-debug --disable-static --enable-avisynth --enable-avresample --enable-fontconfig --enable-gnutls --enable-gpl --enable-ladspa --enable-libass --enable-libbluray --enable-libfreetype --enable-libfribidi --enable-libgsm --enable-libmodplug --enable-libmp3lame --enable-libopencore_amrnb --enable-libopencore_amrwb --enable-libopenjpeg --enable-libopus --enable-libfdk-aac --enable-libpulse --enable-libschroedinger --enable-libsoxr --enable-libspeex --enable-libssh --enable-libtheora --enable-libv4l2 --enable-libvidstab --enable-libvorbis --enable-libvpx --enable-libwebp --enable-libx264 --enable-libx265 --enable-libxvid --enable-nonfree --enable-shared --enable-version3 --enable-x11grab
  libavutil      55. 46.100 / 55. 46.100
  libavcodec     57. 75.100 / 57. 75.100
  libavformat    57. 66.101 / 57. 66.101
  libavdevice    57.  2.100 / 57.  2.100
  libavfilter     6. 73.100 /  6. 73.100
  libavresample   3.  2.  0 /  3.  2.  0
  libswscale      4.  3.101 /  4.  3.101
  libswresample   2.  4.100 /  2.  4.100
  libpostproc    54.  2.100 / 54.  2.100
Splitting the commandline.
Reading option '-v' ... matched as option 'v' (set logging level) with argument '9'.
Reading option '-loglevel' ... matched as option 'loglevel' (set logging level) with argument '99'.
Reading option '-video_size' ... matched as AVOption 'video_size' with argument '1600x900'.
Reading option '-framerate' ... matched as AVOption 'framerate' with argument '25'.
Reading option '-f' ... matched as option 'f' (force format) with argument 'x11grab'.
Reading option '-i' ... matched as input url with argument ':0.0'.
Reading option 'git-ffmpeg_black_screen_with_cursor2.mp4' ... matched as output url.
Finished splitting the commandline.
Parsing a group of options: global .
Applying option v (set logging level) with argument 9.
Successfully parsed a group of options.
Parsing a group of options: input url :0.0.
Applying option f (force format) with argument x11grab.
Successfully parsed a group of options.
Opening an input file: :0.0.
[x11grab @ 0x22fb5c0] Probe buffer size limit of 5000000 bytes reached
[x11grab @ 0x22fb5c0] Stream #0: not enough frames to estimate rate; consider increasing probesize
[x11grab @ 0x22fb5c0] stream 0: start_time: 1486298828.877 duration: -9223372036854.775
[x11grab @ 0x22fb5c0] format: start_time: 1486298828.877 duration: -9223372036854.775 bitrate=0 kb/s
Input #0, x11grab, from ':0.0':
  Duration: N/A, start: 1486298828.877171, bitrate: N/A
    Stream #0:0, 1, 1/1000000: Video: rawvideo, 1 reference frame (BGR[0] / 0x524742), bgr0, 1600x900, 0/1, 25 fps, 1000k tbr, 1000k tbn, 1000k tbc
Successfully opened the file.
Parsing a group of options: output url git-ffmpeg_black_screen_with_cursor2.mp4.
Successfully parsed a group of options.
Opening an output file: git-ffmpeg_black_screen_with_cursor2.mp4.
[file @ 0x2308540] Setting default whitelist 'file,crypto'
Successfully opened the file.
Initializing cuvid transcoding
detected 8 logical cores
[graph 0 input from stream 0:0 @ 0x2308160] Setting 'video_size' to value '1600x900'
[graph 0 input from stream 0:0 @ 0x2308160] Setting 'pix_fmt' to value '298'
[graph 0 input from stream 0:0 @ 0x2308160] Setting 'time_base' to value '1/1000000'
[graph 0 input from stream 0:0 @ 0x2308160] Setting 'pixel_aspect' to value '0/1'
[graph 0 input from stream 0:0 @ 0x2308160] Setting 'sws_param' to value 'flags=2'
[graph 0 input from stream 0:0 @ 0x2308160] Setting 'frame_rate' to value '25/1'
[graph 0 input from stream 0:0 @ 0x2308160] w:1600 h:900 pixfmt:bgr0 tb:1/1000000 fr:25/1 sar:0/1 sws_param:flags=2
[format @ 0x2311060] compat: called with args=[yuv420p|yuvj420p|yuv422p|yuvj422p|yuv444p|yuvj444p|nv12|nv16|nv21]
[format @ 0x2311060] Setting 'pix_fmts' to value 'yuv420p|yuvj420p|yuv422p|yuvj422p|yuv444p|yuvj444p|nv12|nv16|nv21'
[auto_scaler_0 @ 0x2311b80] Setting 'flags' to value 'bicubic'
[auto_scaler_0 @ 0x2311b80] w:iw h:ih flags:'bicubic' interl:0
[format @ 0x2311060] auto-inserting filter 'auto_scaler_0' between the filter 'Parsed_null_0' and the filter 'format'
[AVFilterGraph @ 0x2306cc0] query_formats: 4 queried, 2 merged, 1 already done, 0 delayed
[auto_scaler_0 @ 0x2311b80] picking yuv444p out of 8 ref:bgr0 alpha:0
[auto_scaler_0 @ 0x2311b80] w:1600 h:900 fmt:bgr0 sar:0/1 -> w:1600 h:900 fmt:yuv444p sar:0/1 flags:0x4
No pixel format specified, yuv444p for H.264 encoding chosen.
Use -pix_fmt yuv420p for compatibility with outdated media players.
[libx264 @ 0x2305b00] using mv_range_thread = 40
[libx264 @ 0x2305b00] using cpu capabilities: MMX2 SSE2Fast SSSE3 SSE4.2 AVX FMA3 AVX2 LZCNT BMI2
[libx264 @ 0x2305b00] profile High 4:4:4 Predictive, level 4.0, 4:4:4 8-bit
[libx264 @ 0x2305b00] 264 - core 148 r2708 86b7198 - H.264/MPEG-4 AVC codec - Copyleft 2003-2016 - 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=1 trellis=1 8x8dct=1 cqm=0 deadzone=21,11 fast_pskip=1 chroma_qp_offset=4 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, mp4, to 'git-ffmpeg_black_screen_with_cursor2.mp4':
  Metadata:
    encoder         : Lavf57.66.101
    Stream #0:0, 0, 1/12800: Video: h264 (libx264), 1 reference frame ([33][0][0][0] / 0x0021), yuv444p, 1600x900, 0/1, q=-1--1, 25 fps, 12800 tbn, 25 tbc
    Metadata:
      encoder         : Lavc57.75.100 libx264
    Side data:
      cpb: bitrate max/min/avg: 0/0/0 buffer size: 0 vbv_delay: -1
Stream mapping:
  Stream #0:0 -> #0:0 (rawvideo (native) -> h264 (libx264))
Press [q] to stop, [?] for help
cur_dts is invalid (this is harmless if it occurs once at the start per stream)
[rawvideo @ 0x2303920] PACKET SIZE: 5760000, STRIDE: 6400
Clipping frame in rate conversion by 0.000008
cur_dts is invalid (this is harmless if it occurs once at the start per stream)
[rawvideo @ 0x2303920] PACKET SIZE: 5760000, STRIDE: 6400
cur_dts is invalid (this is harmless if it occurs once at the start per stream)
[rawvideo @ 0x2303920] PACKET SIZE: 5760000, STRIDE: 6400
cur_dts is invalid (this is harmless if it occurs once at the start per stream)
[rawvideo @ 0x2303920] PACKET SIZE: 5760000, STRIDE: 6400
Clipping frame in rate conversion by 0.000740
cur_dts is invalid (this is harmless if it occurs once at the start per stream)
[rawvideo @ 0x2303920] PACKET SIZE: 5760000, STRIDE: 6400
Clipping frame in rate conversion by 0.000999
cur_dts is invalid (this is harmless if it occurs once at the start per stream)
[rawvideo @ 0x2303920] PACKET SIZE: 5760000, STRIDE: 6400
cur_dts is invalid (this is harmless if it occurs once at the start per stream)
[rawvideo @ 0x2303920] PACKET SIZE: 5760000, STRIDE: 6400
cur_dts is invalid (this is harmless if it occurs once at the start per stream)
[rawvideo @ 0x2303920] PACKET SIZE: 5760000, STRIDE: 6400
Clipping frame in rate conversion by 0.000023
cur_dts is invalid (this is harmless if it occurs once at the start per stream)
[rawvideo @ 0x2303920] PACKET SIZE: 5760000, STRIDE: 6400
Clipping frame in rate conversion by 0.001137
cur_dts is invalid (this is harmless if it occurs once at the start per stream)
[rawvideo @ 0x2303920] PACKET SIZE: 5760000, STRIDE: 6400
cur_dts is invalid (this is harmless if it occurs once at the start per stream)
[rawvideo @ 0x2303920] PACKET SIZE: 5760000, STRIDE: 6400
cur_dts is invalid (this is harmless if it occurs once at the start per stream)
[rawvideo @ 0x2303920] PACKET SIZE: 5760000, STRIDE: 6400
cur_dts is invalid (this is harmless if it occurs once at the start per stream)
[rawvideo @ 0x2303920] PACKET SIZE: 5760000, STRIDE: 6400
Clipping frame in rate conversion by 0.000893
cur_dts is invalid (this is harmless if it occurs once at the start per stream)
[rawvideo @ 0x2303920] PACKET SIZE: 5760000, STRIDE: 6400
Clipping frame in rate conversion by 0.000816
cur_dts is invalid (this is harmless if it occurs once at the start per stream)
[rawvideo @ 0x2303920] PACKET SIZE: 5760000, STRIDE: 6400
cur_dts is invalid (this is harmless if it occurs once at the start per stream) 0x    
[rawvideo @ 0x2303920] PACKET SIZE: 5760000, STRIDE: 6400
cur_dts is invalid (this is harmless if it occurs once at the start per stream)
[rawvideo @ 0x2303920] PACKET SIZE: 5760000, STRIDE: 6400
cur_dts is invalid (this is harmless if it occurs once at the start per stream)
[rawvideo @ 0x2303920] PACKET SIZE: 5760000, STRIDE: 6400
Clipping frame in rate conversion by 0.001289
cur_dts is invalid (this is harmless if it occurs once at the start per stream)
[rawvideo @ 0x2303920] PACKET SIZE: 5760000, STRIDE: 6400
Clipping frame in rate conversion by 0.000542
cur_dts is invalid (this is harmless if it occurs once at the start per stream)
[rawvideo @ 0x2303920] PACKET SIZE: 5760000, STRIDE: 6400
Clipping frame in rate conversion by 0.000023
cur_dts is invalid (this is harmless if it occurs once at the start per stream)
[rawvideo @ 0x2303920] PACKET SIZE: 5760000, STRIDE: 6400
Clipping frame in rate conversion by 0.000999
cur_dts is invalid (this is harmless if it occurs once at the start per stream)
[rawvideo @ 0x2303920] PACKET SIZE: 5760000, STRIDE: 6400
cur_dts is invalid (this is harmless if it occurs once at the start per stream)
[rawvideo @ 0x2303920] PACKET SIZE: 5760000, STRIDE: 6400
Clipping frame in rate conversion by 0.000923
cur_dts is invalid (this is harmless if it occurs once at the start per stream)
[rawvideo @ 0x2303920] PACKET SIZE: 5760000, STRIDE: 6400
Clipping frame in rate conversion by 0.000572
cur_dts is invalid (this is harmless if it occurs once at the start per stream)
[rawvideo @ 0x2303920] PACKET SIZE: 5760000, STRIDE: 6400
Clipping frame in rate conversion by 0.000999
cur_dts is invalid (this is harmless if it occurs once at the start per stream)
[rawvideo @ 0x2303920] PACKET SIZE: 5760000, STRIDE: 6400
Clipping frame in rate conversion by 0.000969
cur_dts is invalid (this is harmless if it occurs once at the start per stream)
[rawvideo @ 0x2303920] PACKET SIZE: 5760000, STRIDE: 6400
Clipping frame in rate conversion by 0.001045
cur_dts is invalid (this is harmless if it occurs once at the start per stream)
[rawvideo @ 0x2303920] PACKET SIZE: 5760000, STRIDE: 6400
Clipping frame in rate conversion by 0.001015
cur_dts is invalid (this is harmless if it occurs once at the start per stream) 0x    
[rawvideo @ 0x2303920] PACKET SIZE: 5760000, STRIDE: 6400
Clipping frame in rate conversion by 0.000847
cur_dts is invalid (this is harmless if it occurs once at the start per stream)
[rawvideo @ 0x2303920] PACKET SIZE: 5760000, STRIDE: 6400
Clipping frame in rate conversion by 0.001335
cur_dts is invalid (this is harmless if it occurs once at the start per stream)
[rawvideo @ 0x2303920] PACKET SIZE: 5760000, STRIDE: 6400
Clipping frame in rate conversion by 0.001472
cur_dts is invalid (this is harmless if it occurs once at the start per stream)
[rawvideo @ 0x2303920] PACKET SIZE: 5760000, STRIDE: 6400
Clipping frame in rate conversion by 0.001518
cur_dts is invalid (this is harmless if it occurs once at the start per stream)
[rawvideo @ 0x2303920] PACKET SIZE: 5760000, STRIDE: 6400
Clipping frame in rate conversion by 0.000938
cur_dts is invalid (this is harmless if it occurs once at the start per stream)
[rawvideo @ 0x2303920] PACKET SIZE: 5760000, STRIDE: 6400
Clipping frame in rate conversion by 0.001518
cur_dts is invalid (this is harmless if it occurs once at the start per stream)
[rawvideo @ 0x2303920] PACKET SIZE: 5760000, STRIDE: 6400
Clipping frame in rate conversion by 0.000893
cur_dts is invalid (this is harmless if it occurs once at the start per stream)
[rawvideo @ 0x2303920] PACKET SIZE: 5760000, STRIDE: 6400
Clipping frame in rate conversion by 0.000298
cur_dts is invalid (this is harmless if it occurs once at the start per stream)
[rawvideo @ 0x2303920] PACKET SIZE: 5760000, STRIDE: 6400
Clipping frame in rate conversion by 0.000542
cur_dts is invalid (this is harmless if it occurs once at the start per stream)
[rawvideo @ 0x2303920] PACKET SIZE: 5760000, STRIDE: 6400
Clipping frame in rate conversion by 0.001045
cur_dts is invalid (this is harmless if it occurs once at the start per stream)
[rawvideo @ 0x2303920] PACKET SIZE: 5760000, STRIDE: 6400
cur_dts is invalid (this is harmless if it occurs once at the start per stream)
[rawvideo @ 0x2303920] PACKET SIZE: 5760000, STRIDE: 6400
Clipping frame in rate conversion by 0.000862
cur_dts is invalid (this is harmless if it occurs once at the start per stream)
[rawvideo @ 0x2303920] PACKET SIZE: 5760000, STRIDE: 6400
Clipping frame in rate conversion by 0.001060
cur_dts is invalid (this is harmless if it occurs once at the start per stream) 0x    
[rawvideo @ 0x2303920] PACKET SIZE: 5760000, STRIDE: 6400
Clipping frame in rate conversion by 0.000969
cur_dts is invalid (this is harmless if it occurs once at the start per stream)
[rawvideo @ 0x2303920] PACKET SIZE: 5760000, STRIDE: 6400
Clipping frame in rate conversion by 0.001320
cur_dts is invalid (this is harmless if it occurs once at the start per stream)
[rawvideo @ 0x2303920] PACKET SIZE: 5760000, STRIDE: 6400
Clipping frame in rate conversion by 0.001244
cur_dts is invalid (this is harmless if it occurs once at the start per stream)
[rawvideo @ 0x2303920] PACKET SIZE: 5760000, STRIDE: 6400
Clipping frame in rate conversion by 0.000435
cur_dts is invalid (this is harmless if it occurs once at the start per stream)
[rawvideo @ 0x2303920] PACKET SIZE: 5760000, STRIDE: 6400
Clipping frame in rate conversion by 0.001137
cur_dts is invalid (this is harmless if it occurs once at the start per stream)
[rawvideo @ 0x2303920] PACKET SIZE: 5760000, STRIDE: 6400
Clipping frame in rate conversion by 0.000969
cur_dts is invalid (this is harmless if it occurs once at the start per stream)
[rawvideo @ 0x2303920] PACKET SIZE: 5760000, STRIDE: 6400
cur_dts is invalid (this is harmless if it occurs once at the start per stream)
[rawvideo @ 0x2303920] PACKET SIZE: 5760000, STRIDE: 6400
Clipping frame in rate conversion by 0.002342
cur_dts is invalid (this is harmless if it occurs once at the start per stream)
[rawvideo @ 0x2303920] PACKET SIZE: 5760000, STRIDE: 6400
Clipping frame in rate conversion by 0.000893
cur_dts is invalid (this is harmless if it occurs once at the start per stream)
[rawvideo @ 0x2303920] PACKET SIZE: 5760000, STRIDE: 6400
cur_dts is invalid (this is harmless if it occurs once at the start per stream)
[rawvideo @ 0x2303920] PACKET SIZE: 5760000, STRIDE: 6400
Clipping frame in rate conversion by 0.001411
cur_dts is invalid (this is harmless if it occurs once at the start per stream)
[rawvideo @ 0x2303920] PACKET SIZE: 5760000, STRIDE: 6400
Clipping frame in rate conversion by 0.001320
cur_dts is invalid (this is harmless if it occurs once at the start per stream)
[rawvideo @ 0x2303920] PACKET SIZE: 5760000, STRIDE: 6400
Clipping frame in rate conversion by 0.000420
cur_dts is invalid (this is harmless if it occurs once at the start per stream) 0x    
[rawvideo @ 0x2303920] PACKET SIZE: 5760000, STRIDE: 6400
Clipping frame in rate conversion by 0.001274
cur_dts is invalid (this is harmless if it occurs once at the start per stream)
[rawvideo @ 0x2303920] PACKET SIZE: 5760000, STRIDE: 6400
Clipping frame in rate conversion by 0.001335
cur_dts is invalid (this is harmless if it occurs once at the start per stream)
[rawvideo @ 0x2303920] PACKET SIZE: 5760000, STRIDE: 6400
Clipping frame in rate conversion by 0.000969
[libx264 @ 0x2305b00] frame=   0 QP=18.94 NAL=3 Slice:I Poc:0   I:5700 P:0    SKIP:0    size=497 bytes
[rawvideo @ 0x2303920] PACKET SIZE: 5760000, STRIDE: 6400
[libx264 @ 0x2305b00] frame=   1 QP=9.00 NAL=2 Slice:P Poc:8   I:1    P:0    SKIP:5699 size=57 bytes
[rawvideo @ 0x2303920] PACKET SIZE: 5760000, STRIDE: 6400
[libx264 @ 0x2305b00] frame=   2 QP=12.00 NAL=2 Slice:B Poc:4   I:0    P:1    SKIP:5699 size=52 bytes
[rawvideo @ 0x2303920] PACKET SIZE: 5760000, STRIDE: 6400
Clipping frame in rate conversion by 0.000740
[libx264 @ 0x2305b00] frame=   3 QP=13.00 NAL=0 Slice:B Poc:2   I:0    P:1    SKIP:5699 size=52 bytes
[rawvideo @ 0x2303920] PACKET SIZE: 5760000, STRIDE: 6400
Clipping frame in rate conversion by 0.000420
[libx264 @ 0x2305b00] frame=   4 QP=13.00 NAL=0 Slice:B Poc:6   I:0    P:0    SKIP:5700 size=52 bytes
[rawvideo @ 0x2303920] PACKET SIZE: 5760000, STRIDE: 6400
Clipping frame in rate conversion by 0.000069
[libx264 @ 0x2305b00] frame=   5 QP=9.00 NAL=2 Slice:P Poc:16  I:0    P:0    SKIP:5700 size=61 bytes
[rawvideo @ 0x2303920] PACKET SIZE: 5760000, STRIDE: 6400
Clipping frame in rate conversion by 0.000938
[libx264 @ 0x2305b00] frame=   6 QP=12.00 NAL=2 Slice:B Poc:12  I:0    P:0    SKIP:5700 size=54 bytes
[rawvideo @ 0x2303920] PACKET SIZE: 5760000, STRIDE: 6400
Clipping frame in rate conversion by 0.001518
[libx264 @ 0x2305b00] frame=   7 QP=13.00 NAL=0 Slice:B Poc:10  I:0    P:0    SKIP:5700 size=52 bytes
[rawvideo @ 0x2303920] PACKET SIZE: 5760000, STRIDE: 6400
Clipping frame in rate conversion by 0.001244
[libx264 @ 0x2305b00] frame=   8 QP=13.00 NAL=0 Slice:B Poc:14  I:0    P:0    SKIP:5700 size=52 bytes
[rawvideo @ 0x2303920] PACKET SIZE: 5760000, STRIDE: 6400
Clipping frame in rate conversion by 0.001289
[libx264 @ 0x2305b00] frame=   9 QP=9.00 NAL=2 Slice:P Poc:24  I:0    P:0    SKIP:5700 size=61 bytes
[rawvideo @ 0x2303920] PACKET SIZE: 5760000, STRIDE: 6400
Clipping frame in rate conversion by 0.001518
[libx264 @ 0x2305b00] frame=  10 QP=12.00 NAL=2 Slice:B Poc:20  I:0    P:0    SKIP:5700 size=54 bytes
[rawvideo @ 0x2303920] PACKET SIZE: 5760000, STRIDE: 640032 bitrate=  44.5kbits/s speed=0.123x    
Clipping frame in rate conversion by 0.001045
[libx264 @ 0x2305b00] frame=  11 QP=13.00 NAL=0 Slice:B Poc:18  I:0    P:0    SKIP:5700 size=52 bytes
[rawvideo @ 0x2303920] PACKET SIZE: 5760000, STRIDE: 6400
Clipping frame in rate conversion by 0.000771
[libx264 @ 0x2305b00] frame=  12 QP=13.00 NAL=0 Slice:B Poc:22  I:0    P:0    SKIP:5700 size=52 bytes
[rawvideo @ 0x2303920] PACKET SIZE: 5760000, STRIDE: 6400
Clipping frame in rate conversion by 0.001045
[libx264 @ 0x2305b00] frame=  13 QP=9.00 NAL=2 Slice:P Poc:32  I:0    P:0    SKIP:5700 size=61 bytes
[rawvideo @ 0x2303920] PACKET SIZE: 5760000, STRIDE: 6400
Clipping frame in rate conversion by 0.000923
[libx264 @ 0x2305b00] frame=  14 QP=12.00 NAL=2 Slice:B Poc:28  I:0    P:0    SKIP:5700 size=54 bytes
[rawvideo @ 0x2303920] PACKET SIZE: 5760000, STRIDE: 6400
[libx264 @ 0x2305b00] frame=  15 QP=13.00 NAL=0 Slice:B Poc:26  I:0    P:0    SKIP:5700 size=52 bytes
[rawvideo @ 0x2303920] PACKET SIZE: 5760000, STRIDE: 6400
[libx264 @ 0x2305b00] frame=  16 QP=13.00 NAL=0 Slice:B Poc:30  I:0    P:0    SKIP:5700 size=52 bytes
[rawvideo @ 0x2303920] PACKET SIZE: 5760000, STRIDE: 6400
[libx264 @ 0x2305b00] frame=  17 QP=17.18 NAL=2 Slice:P Poc:40  I:6    P:1    SKIP:5693 size=168 bytes
[rawvideo @ 0x2303920] PACKET SIZE: 5760000, STRIDE: 6400
Clipping frame in rate conversion by 0.000496
[libx264 @ 0x2305b00] frame=  18 QP=21.33 NAL=2 Slice:B Poc:36  I:2    P:10   SKIP:5688 size=166 bytes
[rawvideo @ 0x2303920] PACKET SIZE: 5760000, STRIDE: 6400
Clipping frame in rate conversion by 0.001091
[libx264 @ 0x2305b00] frame=  19 QP=13.00 NAL=0 Slice:B Poc:34  I:0    P:11   SKIP:5689 size=60 bytes
[rawvideo @ 0x2303920] PACKET SIZE: 5760000, STRIDE: 6400
Clipping frame in rate conversion by 0.001442
[libx264 @ 0x2305b00] frame=  20 QP=21.74 NAL=0 Slice:B Poc:38  I:2    P:12   SKIP:5686 size=137 bytes
[rawvideo @ 0x2303920] PACKET SIZE: 5760000, STRIDE: 6400
Clipping frame in rate conversion by 0.001091
[libx264 @ 0x2305b00] frame=  21 QP=18.77 NAL=2 Slice:P Poc:48  I:7    P:0    SKIP:5693 size=195 bytes
[rawvideo @ 0x2303920] PACKET SIZE: 5760000, STRIDE: 6400
Clipping frame in rate conversion by 0.000893
[libx264 @ 0x2305b00] frame=  22 QP=20.43 NAL=2 Slice:B Poc:44  I:2    P:10   SKIP:5688 size=154 bytes
[libx264 @ 0x2305b00] frame=  23 QP=20.32 NAL=0 Slice:B Poc:42  I:2    P:11   SKIP:5687 size=157 bytes
[libx264 @ 0x2305b00] frame=  24 QP=22.07 NAL=0 Slice:B Poc:46  I:2    P:13   SKIP:5685 size=175 bytes
[libx264 @ 0x2305b00] frame=  25 QP=9.00 NAL=2 Slice:P Poc:56  I:0    P:0    SKIP:5700 size=61 bytes
[libx264 @ 0x2305b00] frame=  26 QP=12.00 NAL=2 Slice:B Poc:52  I:0    P:3    SKIP:5697 size=57 bytes
[libx264 @ 0x2305b00] frame=  27 QP=13.00 NAL=0 Slice:B Poc:50  I:0    P:2    SKIP:5698 size=52 bytes
[libx264 @ 0x2305b00] frame=  28 QP=13.00 NAL=0 Slice:B Poc:54  I:0    P:2    SKIP:5698 size=52 bytes
[libx264 @ 0x2305b00] frame=  29 QP=18.50 NAL=2 Slice:P Poc:64  I:5    P:0    SKIP:5695 size=134 bytes
[libx264 @ 0x2305b00] frame=  30 QP=21.69 NAL=2 Slice:B Poc:60  I:4    P:10   SKIP:5686 size=157 bytes
[libx264 @ 0x2305b00] frame=  31 QP=13.00 NAL=0 Slice:B Poc:58  I:0    P:10   SKIP:5690 size=59 bytes
[libx264 @ 0x2305b00] frame=  32 QP=21.34 NAL=0 Slice:B Poc:62  I:2    P:11   SKIP:5687 size=138 bytes
[libx264 @ 0x2305b00] frame=  33 QP=19.68 NAL=2 Slice:P Poc:72  I:6    P:0    SKIP:5694 size=170 bytes
[libx264 @ 0x2305b00] frame=  34 QP=23.07 NAL=2 Slice:B Poc:68  I:1    P:11   SKIP:5688 size=149 bytes
[libx264 @ 0x2305b00] frame=  35 QP=22.53 NAL=0 Slice:B Poc:66  I:2    P:12   SKIP:5686 size=148 bytes
[libx264 @ 0x2305b00] frame=  36 QP=13.00 NAL=0 Slice:B Poc:70  I:0    P:10   SKIP:5690 size=59 bytes
[libx264 @ 0x2305b00] frame=  37 QP=18.38 NAL=2 Slice:P Poc:80  I:6    P:0    SKIP:5694 size=181 bytes
[libx264 @ 0x2305b00] frame=  38 QP=12.00 NAL=2 Slice:B Poc:76  I:0    P:11   SKIP:5689 size=68 bytes
[libx264 @ 0x2305b00] frame=  39 QP=13.00 NAL=0 Slice:B Poc:74  I:0    P:5    SKIP:5695 size=57 bytes
[libx264 @ 0x2305b00] frame=  40 QP=18.42 NAL=0 Slice:B Poc:78  I:2    P:12   SKIP:5686 size=162 bytes
[libx264 @ 0x2305b00] frame=  41 QP=19.96 NAL=2 Slice:P Poc:88  I:8    P:0    SKIP:5692 size=184 bytes
[libx264 @ 0x2305b00] frame=  42 QP=18.38 NAL=2 Slice:B Poc:84  I:3    P:14   SKIP:5683 size=180 bytes
[libx264 @ 0x2305b00] frame=  43 QP=19.38 NAL=0 Slice:B Poc:82  I:4    P:14   SKIP:5682 size=172 bytes
[libx264 @ 0x2305b00] frame=  44 QP=20.44 NAL=0 Slice:B Poc:86  I:3    P:15   SKIP:5682 size=170 bytes
[libx264 @ 0x2305b00] frame=  45 QP=19.09 NAL=2 Slice:P Poc:96  I:7    P:0    SKIP:5693 size=194 bytes
[libx264 @ 0x2305b00] frame=  46 QP=12.00 NAL=2 Slice:B Poc:92  I:0    P:14   SKIP:5686 size=69 bytes
[libx264 @ 0x2305b00] frame=  47 QP=13.00 NAL=0 Slice:B Poc:90  I:0    P:11   SKIP:5689 size=62 bytes
[libx264 @ 0x2305b00] frame=  48 QP=13.00 NAL=0 Slice:B Poc:94  I:0    P:8    SKIP:5692 size=62 bytes
[libx264 @ 0x2305b00] frame=  49 QP=17.43 NAL=2 Slice:P Poc:104 I:8    P:0    SKIP:5692 size=191 bytes
[libx264 @ 0x2305b00] frame=  50 QP=12.00 NAL=2 Slice:B Poc:100 I:0    P:17   SKIP:5683 size=71 bytes
[libx264 @ 0x2305b00] frame=  51 QP=13.00 NAL=0 Slice:B Poc:98  I:0    P:8    SKIP:5692 size=62 bytes
[libx264 @ 0x2305b00] frame=  52 QP=20.34 NAL=0 Slice:B Poc:102 I:3    P:16   SKIP:5681 size=170 bytes
[libx264 @ 0x2305b00] frame=  53 QP=18.04 NAL=2 Slice:P Poc:112 I:10   P:0    SKIP:5690 size=198 bytes
[libx264 @ 0x2305b00] frame=  54 QP=20.14 NAL=2 Slice:B Poc:108 I:4    P:18   SKIP:5678 size=188 bytes
[libx264 @ 0x2305b00] frame=  55 QP=19.98 NAL=0 Slice:B Poc:106 I:4    P:19   SKIP:5677 size=179 bytes
[libx264 @ 0x2305b00] frame=  56 QP=20.56 NAL=0 Slice:B Poc:110 I:2    P:20   SKIP:5678 size=189 bytes
[libx264 @ 0x2305b00] frame=  57 QP=9.00 NAL=2 Slice:P Poc:120 I:0    P:0    SKIP:5700 size=61 bytes
[libx264 @ 0x2305b00] frame=  58 QP=12.00 NAL=2 Slice:B Poc:116 I:0    P:8    SKIP:5692 size=66 bytes
[libx264 @ 0x2305b00] frame=  59 QP=13.00 NAL=0 Slice:B Poc:114 I:0    P:7    SKIP:5693 size=61 bytes
[libx264 @ 0x2305b00] frame=  60 QP=13.00 NAL=0 Slice:B Poc:118 I:0    P:7    SKIP:5693 size=60 bytes
[libx264 @ 0x2305b00] frame=  61 QP=15.21 NAL=2 Slice:P Poc:128 I:6    P:1    SKIP:5693 size=167 bytes
[libx264 @ 0x2305b00] frame=  62 QP=17.24 NAL=2 Slice:B Poc:124 I:2    P:18   SKIP:5680 size=180 bytes
[libx264 @ 0x2305b00] frame=  63 QP=13.00 NAL=0 Slice:B Poc:122 I:0    P:15   SKIP:5685 size=67 bytes
[libx264 @ 0x2305b00] frame=  64 QP=18.99 NAL=0 Slice:B Poc:126 I:3    P:17   SKIP:5680 size=179 bytes
[libx264 @ 0x2305b00] frame=  65 QP=18.00 NAL=2 Slice:P Poc:136 I:7    P:0    SKIP:5693 size=206 bytes
[libx264 @ 0x2305b00] frame=  66 QP=18.72 NAL=2 Slice:B Poc:132 I:3    P:19   SKIP:5678 size=174 bytes
[libx264 @ 0x2305b00] frame=  67 QP=16.81 NAL=0 Slice:B Poc:130 I:4    P:16   SKIP:5680 size=172 bytes
[libx264 @ 0x2305b00] frame=  68 QP=19.46 NAL=0 Slice:B Poc:134 I:4    P:18   SKIP:5678 size=175 bytes
[libx264 @ 0x2305b00] frame=  69 QP=10.00 NAL=2 Slice:P Poc:144 I:0    P:0    SKIP:5700 size=61 bytes
[libx264 @ 0x2305b00] frame=  70 QP=12.00 NAL=2 Slice:B Poc:140 I:0    P:12   SKIP:5688 size=70 bytes
[libx264 @ 0x2305b00] frame=  71 QP=13.00 NAL=0 Slice:B Poc:138 I:0    P:11   SKIP:5689 size=64 bytes
[libx264 @ 0x2305b00] frame=  72 QP=13.00 NAL=0 Slice:B Poc:142 I:0    P:11   SKIP:5689 size=64 bytes
[libx264 @ 0x2305b00] frame=  73 QP=18.19 NAL=2 Slice:P Poc:152 I:6    P:1    SKIP:5693 size=170 bytes
[libx264 @ 0x2305b00] frame=  74 QP=22.09 NAL=2 Slice:B Poc:148 I:4    P:20   SKIP:5676 size=180 bytes
[libx264 @ 0x2305b00] frame=  75 QP=13.00 NAL=0 Slice:B Poc:146 I:0    P:18   SKIP:5682 size=69 bytes
[libx264 @ 0x2305b00] frame=  76 QP=18.57 NAL=0 Slice:B Poc:150 I:3    P:21   SKIP:5676 size=181 bytes
[libx264 @ 0x2305b00] frame=  77 QP=22.39 NAL=2 Slice:P Poc:156 I:8    P:0    SKIP:5692 size=137 bytes
[libx264 @ 0x2305b00] frame=  78 QP=18.84 NAL=0 Slice:B Poc:154 I:2    P:23   SKIP:5675 size=186 bytes
frame=   79 fps= 24 q=-1.0 Lsize=      12kB time=00:00:03.04 bitrate=  31.2kbits/s speed=0.904x    
video:10kB audio:0kB subtitle:0kB other streams:0kB global headers:0kB muxing overhead: 17.728312%
Input file #0 (:0.0):
  Input stream #0:0 (video): 79 packets read (455040000 bytes); 79 frames decoded; 
  Total: 79 packets (455040000 bytes) demuxed
Output file #0 (git-ffmpeg_black_screen_with_cursor2.mp4):
  Output stream #0:0 (video): 79 frames encoded; 79 packets muxed (10063 bytes); 
  Total: 79 packets (10063 bytes) muxed
79 frames successfully decoded, 0 decoding errors
[AVIOContext @ 0x23088c0] Statistics: 34 seeks, 105 writeouts
[libx264 @ 0x2305b00] frame I:1     Avg QP:18.94  size:   497
[libx264 @ 0x2305b00] frame P:20    Avg QP:15.24  size:   136
[libx264 @ 0x2305b00] frame B:58    Avg QP:15.89  size:   106
[libx264 @ 0x2305b00] consecutive B-frames:  1.3%  2.5%  0.0% 96.2%
[libx264 @ 0x2305b00] mb I  I16..4:  0.0% 99.9%  0.1%
[libx264 @ 0x2305b00] mb P  I16..4:  0.0%  0.0%  0.0%  P16..4:  0.0%  0.0%  0.0%  0.0%  0.0%    skip:99.9%
[libx264 @ 0x2305b00] mb B  I16..4:  0.0%  0.0%  0.0%  B16..8:  0.2%  0.0%  0.0%  direct: 0.0%  skip:99.8%  L0:63.0% L1:37.0% BI: 0.0%
[libx264 @ 0x2305b00] 8x8 transform intra:98.1% inter:11.1%
[libx264 @ 0x2305b00] coded y,u,v intra: 0.9% 0.0% 0.0% inter: 0.0% 0.0% 0.0%
[libx264 @ 0x2305b00] i16 v,h,dc,p: 67%  0% 33%  0%
[libx264 @ 0x2305b00] i8 v,h,dc,ddl,ddr,vr,hd,vl,hu: 25%  1% 74%  0%  0%  0%  0%  0%  0%
[libx264 @ 0x2305b00] i4 v,h,dc,ddl,ddr,vr,hd,vl,hu: 24%  6% 53%  2%  8%  3%  1%  1%  2%
[libx264 @ 0x2305b00] Weighted P-Frames: Y:0.0% UV:0.0%
[libx264 @ 0x2305b00] ref B L0: 70.3% 29.4%  0.3%
[libx264 @ 0x2305b00] kb/s:23.73

--disable-libxcb.

$ ffmpeg -video_size 1600x900 -framerate 25 -f x11grab -i :0.0 git-ffmpeg_black_screen_with_cursor_disable-xcb.mp4
ffmpeg version N-83420-gfd57f70c97 Copyright (c) 2000-2017 the FFmpeg developers
  built with gcc 6.3.1 (GCC) 20170109
  configuration: --prefix=/usr --disable-debug --disable-libxcb --disable-static --enable-avisynth --enable-avresample --enable-fontconfig --enable-gnutls --enable-gpl --enable-ladspa --enable-libass --enable-libbluray --enable-libfreetype --enable-libfribidi --enable-libgsm --enable-libmodplug --enable-libmp3lame --enable-libopencore_amrnb --enable-libopencore_amrwb --enable-libopenjpeg --enable-libopus --enable-libfdk-aac --enable-libpulse --enable-libschroedinger --enable-libsoxr --enable-libspeex --enable-libssh --enable-libtheora --enable-libv4l2 --enable-libvidstab --enable-libvorbis --enable-libvpx --enable-libwebp --enable-libx264 --enable-libx265 --enable-libxvid --enable-nonfree --enable-shared --enable-version3 --enable-x11grab
  libavutil      55. 46.100 / 55. 46.100
  libavcodec     57. 75.100 / 57. 75.100
  libavformat    57. 66.101 / 57. 66.101
  libavdevice    57.  2.100 / 57.  2.100
  libavfilter     6. 73.100 /  6. 73.100
  libavresample   3.  2.  0 /  3.  2.  0
  libswscale      4.  3.101 /  4.  3.101
  libswresample   2.  4.100 /  2.  4.100
  libpostproc    54.  2.100 / 54.  2.100
[x11grab @ 0x2356580] device: :0.0 -> display: :0.0 x: 0 y: 0 width: 1600 height: 900
[x11grab @ 0x2356580] shared memory extension found
[x11grab @ 0x2356580] Stream #0: not enough frames to estimate rate; consider increasing probesize
Input #0, x11grab, from ':0.0':
  Duration: N/A, start: 1486301459.702376, bitrate: 1152000 kb/s
    Stream #0:0: Video: rawvideo (BGR[0] / 0x524742), bgr0, 1600x900, 1152000 kb/s, 25 fps, 1000k tbr, 1000k tbn, 1000k tbc
No pixel format specified, yuv444p for H.264 encoding chosen.
Use -pix_fmt yuv420p for compatibility with outdated media players.
[libx264 @ 0x23726c0] using cpu capabilities: MMX2 SSE2Fast SSSE3 SSE4.2 AVX FMA3 AVX2 LZCNT BMI2
[libx264 @ 0x23726c0] profile High 4:4:4 Predictive, level 4.0, 4:4:4 8-bit
[libx264 @ 0x23726c0] 264 - core 148 r2708 86b7198 - H.264/MPEG-4 AVC codec - Copyleft 2003-2016 - 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=1 trellis=1 8x8dct=1 cqm=0 deadzone=21,11 fast_pskip=1 chroma_qp_offset=4 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, mp4, to 'git-ffmpeg_black_screen_with_cursor_disable-xcb.mp4':
  Metadata:
    encoder         : Lavf57.66.101
    Stream #0:0: Video: h264 (libx264) ([33][0][0][0] / 0x0021), yuv444p, 1600x900, q=-1--1, 25 fps, 12800 tbn, 25 tbc
    Metadata:
      encoder         : Lavc57.75.100 libx264
    Side data:
      cpb: bitrate max/min/avg: 0/0/0 buffer size: 0 vbv_delay: -1
Stream mapping:
  Stream #0:0 -> #0:0 (rawvideo (native) -> h264 (libx264))
Press [q] to stop, [?] for help
frame=  103 fps= 24 q=-1.0 Lsize=      15kB time=00:00:04.00 bitrate=  30.7kbits/s speed=0.936x    
video:13kB audio:0kB subtitle:0kB other streams:0kB global headers:0kB muxing overhead: 15.630658%
[libx264 @ 0x23726c0] frame I:1     Avg QP:17.66  size:   502
[libx264 @ 0x23726c0] frame P:26    Avg QP:15.97  size:   148
[libx264 @ 0x23726c0] frame B:76    Avg QP:16.65  size:   108
[libx264 @ 0x23726c0] consecutive B-frames:  1.0%  1.9%  0.0% 97.1%
[libx264 @ 0x23726c0] mb I  I16..4:  0.0% 99.9%  0.1%
[libx264 @ 0x23726c0] mb P  I16..4:  0.0%  0.0%  0.0%  P16..4:  0.0%  0.0%  0.0%  0.0%  0.0%    skip:99.9%
[libx264 @ 0x23726c0] mb B  I16..4:  0.0%  0.0%  0.0%  B16..8:  0.2%  0.0%  0.0%  direct: 0.0%  skip:99.7%  L0:63.5% L1:36.5% BI: 0.0%
[libx264 @ 0x23726c0] 8x8 transform intra:97.3% inter:0.0%
[libx264 @ 0x23726c0] coded y,u,v intra: 1.3% 0.0% 0.0% inter: 0.0% 0.0% 0.0%
[libx264 @ 0x23726c0] i16 v,h,dc,p: 80%  0% 20%  0%
[libx264 @ 0x23726c0] i8 v,h,dc,ddl,ddr,vr,hd,vl,hu: 30%  1% 69%  0%  0%  0%  0%  0%  0%
[libx264 @ 0x23726c0] i4 v,h,dc,ddl,ddr,vr,hd,vl,hu: 22%  9% 54%  2%  5%  3%  1%  2%  2%
[libx264 @ 0x23726c0] Weighted P-Frames: Y:0.0% UV:0.0%
[libx264 @ 0x23726c0] ref P L0: 80.0% 20.0%
[libx264 @ 0x23726c0] ref B L0: 64.4% 35.4%  0.2%
[libx264 @ 0x23726c0] ref B L1: 99.7%  0.3%
[libx264 @ 0x23726c0] kb/s:24.40

Vlc also produces black screen.

Changed 4 months ago by Simargol

Changed 4 months ago by Simargol

comment:3 in reply to: ↑ 2 Changed 4 months ago by cehoyos

  • Keywords x11grab added
  • Resolution set to worksforme
  • Status changed from new to closed
  • Version changed from unspecified to git-master

Replying to Simargol:

Vlc also produces black screen.

This and your tests make me believe there is no issue that can be fixed in FFmpeg, sorry.
There may be a driver issue or you have unusual video settings, I only know it works fine here (and for many other users). Feel free to ask on the user mailing list or on irc.

comment:4 follow-up: Changed 4 months ago by Simargol

You are right. Sorry for your time.

For reference, I've got answer on archlinux forum.
Running Gnome3 on Xorg instead of wayland fixed it for me.

comment:5 in reply to: ↑ 4 Changed 4 months ago by cehoyos

Replying to Simargol:

Running Gnome3 on Xorg instead of wayland fixed it for me.

Thank you for the clarification!

comment:6 Changed 4 months ago by Cigaes

You may want to file a bug against Wayland for breaking standard constructs. Before that, I suggest you try other screen capture programs, starting with ImageMagick?'s import. If some of them work with Wayland, please report it here or on the ffmpeg mailing-lists.

Note: See TracTickets for help on using tickets.