[FFmpeg-user] ffmpeg stuck grabbing the screen

Carl Eugen Hoyos ceffmpeg at gmail.com
Mon Feb 27 12:38:07 EET 2017


2017-02-27 11:29 GMT+01:00 Martin Ždila <m.zdila at gmail.com>:

> --enable-x11grab

Just to make sure:
Please remove this option, it may have unwanted side-effects.

This is my console output, note that the encoding speed matches
the framerate:
$ ffmpeg -video_size 320x340 -framerate 25 -f x11grab -i :0 -f null -
ffmpeg version N-83669-gf8d2079 Copyright (c) 2000-2017 the FFmpeg developers
  built with gcc 4.7 (SUSE Linux)
  configuration: --enable-gpl
  libavutil      55. 47.100 / 55. 47.100
  libavcodec     57. 81.100 / 57. 81.100
  libavformat    57. 66.102 / 57. 66.102
  libavdevice    57.  3.100 / 57.  3.100
  libavfilter     6. 74.100 /  6. 74.100
  libswscale      4.  3.101 /  4.  3.101
  libswresample   2.  4.100 /  2.  4.100
  libpostproc    54.  2.100 / 54.  2.100
Input #0, x11grab, from ':0':
  Duration: N/A, start: 1488191831.185629, bitrate: N/A
    Stream #0:0: Video: rawvideo (BGR[0] / 0x524742), bgr0, 320x340,
25 fps, 25 tbr, 1000k tbn, 1000k tbc
Output #0, null, to 'pipe:':
  Metadata:
    encoder         : Lavf57.66.102
    Stream #0:0: Video: wrapped_avframe, bgr0, 320x340, q=2-31, 200
kb/s, 25 fps, 25 tbn, 25 tbc
    Metadata:
      encoder         : Lavc57.81.100 wrapped_avframe
Stream mapping:
  Stream #0:0 -> #0:0 (rawvideo (native) -> wrapped_avframe (native))
Press [q] to stop, [?] for help
frame=  891 fps= 25 q=-0.0 Lsize=N/A time=00:00:35.64 bitrate=N/A speed=1.01x
video:432kB audio:0kB subtitle:0kB other streams:0kB global
headers:0kB muxing overhead: unknown

Carl Eugen


More information about the ffmpeg-user mailing list