From fb6fa99ca34716342b9135b4c7d53ac1c3cfcc8d Mon Sep 17 00:00:00 2001 From: Stefano Brivio Date: Wed, 26 Jan 2022 07:34:57 +0100 Subject: test/lib/video: Drop -preset ultrafast from ffmpeg arguments It's not really needed on a reasonably powered CPU, and makes the video contents way less readable. Signed-off-by: Stefano Brivio --- test/lib/video | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'test/lib/video') diff --git a/test/lib/video b/test/lib/video index d4c0680..6db9c1d 100755 --- a/test/lib/video +++ b/test/lib/video @@ -89,7 +89,7 @@ video_grab() { sleep 3 VIDEO_START_SECONDS=$(sed -n 's/\([0-9]*\).[0-9]* [0-9]*.[0-9]*/\1/p' /proc/uptime) [ ${XVFB} -eq 1 ] && __disp=":99.0" || __disp= - ffmpeg -f x11grab -framerate 15 -video_size "${__width}x${__height}" -i "${__disp}+${__x},${__y}" -vcodec libx264 -preset ultrafast -qp 0 -pix_fmt yuv444p -draw_mouse 0 "${BASEPATH}/${VIDEO_NAME}.mp4" & echo $! > "${FFMPEG_PID_FILE}" + ffmpeg -f x11grab -framerate 15 -video_size "${__width}x${__height}" -i "${__disp}+${__x},${__y}" -vcodec libx264 -qp 0 -draw_mouse 0 "${BASEPATH}/${VIDEO_NAME}.mp4" & echo $! > "${FFMPEG_PID_FILE}" } # video_time_now() - Print current video timestamp, in seconds -- cgit v1.2.3