aboutgitcodebugslistschat
path: root/test
diff options
context:
space:
mode:
authorStefano Brivio <sbrivio@redhat.com>2022-01-26 07:34:57 +0100
committerStefano Brivio <sbrivio@redhat.com>2022-01-26 16:30:59 +0100
commitfb6fa99ca34716342b9135b4c7d53ac1c3cfcc8d (patch)
treef15e47389589cbcc7606d172759e8d2297159735 /test
parent4ac48b6eff8e238d9a1713c49c2ddd33984c2190 (diff)
downloadpasst-fb6fa99ca34716342b9135b4c7d53ac1c3cfcc8d.tar
passt-fb6fa99ca34716342b9135b4c7d53ac1c3cfcc8d.tar.gz
passt-fb6fa99ca34716342b9135b4c7d53ac1c3cfcc8d.tar.bz2
passt-fb6fa99ca34716342b9135b4c7d53ac1c3cfcc8d.tar.lz
passt-fb6fa99ca34716342b9135b4c7d53ac1c3cfcc8d.tar.xz
passt-fb6fa99ca34716342b9135b4c7d53ac1c3cfcc8d.tar.zst
passt-fb6fa99ca34716342b9135b4c7d53ac1c3cfcc8d.zip
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 <sbrivio@redhat.com>
Diffstat (limited to 'test')
-rwxr-xr-xtest/lib/video2
1 files changed, 1 insertions, 1 deletions
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