[FFmpeg-devel] adding RGBA and BGRA to nvenc.c
Andy Furniss
adf.lists at gmail.com
Thu Sep 8 20:16:49 EEST 2016
Carl Eugen Hoyos wrote:
> 2016-09-08 16:17 GMT+02:00 Andy Furniss <adf.lists at gmail.com>:
>> Carl Eugen Hoyos wrote:
>>>
>>> 2016-09-08 12:01 GMT+02:00 Andy Furniss <adf.lists at gmail.com>:
>>>
>>>> I don't know what it is about x11grab/CSC with ffmpeg, but
>>>> on my old CPU gstreamer is twice as fast.
>>>
>>> x11grab or xcb?
>>
>> I guess xcb as I don't --enable anything related with configure.
>
> Then please test if this is a regression over x11grab, use:
> configure --disable-libxcb --enable-x11grab --enable-gpl
>
> (It is very likely that nobody ever tested.)
It is a bit faster, comparing results I posted on users to new build -
(vsync 2 for consistency as that's how the old tests were done
it isn't really needed/makes no difference for -f null but was used
as I previously also tested -f rawvideo -y /dev/null and when
using -framerate with that it is essential).
xcb -> x11grab.
ffmpeg -vsync 2 -framerate 200 -f x11grab -s 1920x1080 -i :0.0 -vframes
1000 -f null -
138 -> 179 fps
ffmpeg -vsync 2 -framerate 200 -f x11grab -s 1920x1080 -i :0.0 -vframes
1000 -pix_fmt yuv420p -f null -
47 -> 56 fps
ffmpeg -vsync 2 -framerate 200 -f x11grab -s 1920x1080 -i :0.0 -vframes
1000 -pix_fmt nv12 -f null -
33 -> 37 fps
More information about the ffmpeg-devel
mailing list