[libav-bugs] [Bug 574] Missed frames using x11grab are not handled correctly

bugzilla at libav.org bugzilla at libav.org
Sat Dec 21 21:38:31 CET 2013


https://bugzilla.libav.org/show_bug.cgi?id=574

jonathan-vola at hotmail.com changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |jonathan-vola at hotmail.com

--- Comment #2 from jonathan-vola at hotmail.com 2013-12-21 21:38:31 CET ---
Is it possible this was implemented in ffmpeg after the fork? I ask because
trying to use the -framerate flag doesn't alter the framerate at all - it
returns to it's default 25fps.

    avconv -f x11grab -framerate 1 -s hd1080 -i :0.0 -codec:v libx264 -pre:v
lossless_ultrafast -threads 2 -y out.avi
    avconv version v9-2788-g0d882e9, Copyright (c) 2000-2013 the Libav
developers
      built on Dec 17 2013 00:13:32 with gcc 4.8 (Debian 4.8.2-10)
    [x11grab @ 0xb2d400] device: :0.0 -> display: :0.0 x: 0 y: 0 width: 1920
height: 1080
    [x11grab @ 0xb2d400] shared memory extension  found
    [x11grab @ 0xb2d400] Estimating duration from bitrate, this may be
inaccurate
    Input #0, x11grab, from ':0.0':
      Duration: N/A, start: 1387658219.101066, bitrate: 66355 kb/s
        Stream #0.0: Video: rawvideo, bgra, 1920x1080, 66355 kb/s, 1000k tbn, 1
tbc
    [libx264 @ 0xb3e3e0] using cpu capabilities: MMX2 SSE2Fast SSSE3 SSE4.2 AVX
    [libx264 @ 0xb3e3e0] profile High 4:4:4 Predictive, level 4.0, 4:2:0 8-bit
    Output #0, avi, to 'out.avi':
      Metadata:
        ISFT            : Lavf55.10.1
        Stream #0.0: Video: libx264, yuv420p, 1920x1080, q=-1--1, 25 tbn, 25
tbc
    Stream mapping:
      Stream #0:0 -> #0:0 (rawvideo -> libx264)
    Press ctrl-c to stop encoding
    frame=  150 fps= 21 q=0.0 Lsize=     827kB time=6.00 bitrate=1129.4kbits/s

Note at last line: 150 frames / 6 seconds = 25fps despite framerate having been
set to 1

-- 
Configure bugmail: https://bugzilla.libav.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are watching all bug changes.


More information about the libav-bugs mailing list