From mboxrd@z Thu Jan 1 00:00:00 1970 From: Stefano Brivio To: passt-dev@passt.top Subject: [PATCH 18/22] test/lib/video: Drop -preset ultrafast from ffmpeg arguments Date: Fri, 28 Jan 2022 19:33:53 +0100 Message-ID: <20220128183357.3407606-19-sbrivio@redhat.com> In-Reply-To: <20220128183357.3407606-1-sbrivio@redhat.com> MIME-Version: 1.0 Content-Type: multipart/mixed; boundary="===============7881951110983783326==" --===============7881951110983783326== Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: quoted-printable 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(-) 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=3D$(sed -n 's/\([0-9]*\).[0-9]* [0-9]*.[0-9]*/\1/p' /pr= oc/uptime) [ ${XVFB} -eq 1 ] && __disp=3D":99.0" || __disp=3D - ffmpeg -f x11grab -framerate 15 -video_size "${__width}x${__height}" -i "${= __disp}+${__x},${__y}" -vcodec libx264 -preset ultrafast -qp 0 -pix_fmt yuv44= 4p -draw_mouse 0 "${BASEPATH}/${VIDEO_NAME}.mp4" & echo $! > "${FFMPEG_PID_FI= LE}" + ffmpeg -f x11grab -framerate 15 -video_size "${__width}x${__height}" -i "${= __disp}+${__x},${__y}" -vcodec libx264 -qp 0 -draw_mouse 0 "${BASEPATH}/${VID= EO_NAME}.mp4" & echo $! > "${FFMPEG_PID_FILE}" } =20 # video_time_now() - Print current video timestamp, in seconds --=20 2.33.0 --===============7881951110983783326==--