summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorFrediano Ziglio <fziglio@redhat.com>2017-03-21 21:09:52 +0000
committerFrediano Ziglio <freddy77@gmail.com>2021-06-14 11:56:23 +0100
commitc54993155dbc46a61d805f618d7362c373b4d4ea (patch)
tree19727d46e564fc98d53b35f9fda4e48457b30b55
parentdb4f4e883296a38f57195b2be2b5f42dde3d0f22 (diff)
WIP Use a video for testing
Not suitable for upstreaming Signed-off-by: Frediano Ziglio <fziglio@redhat.com>
-rwxr-xr-xserver/tests/test-video-encoders4
1 files changed, 2 insertions, 2 deletions
diff --git a/server/tests/test-video-encoders b/server/tests/test-video-encoders
index b7de697a..e1b9d2b2 100755
--- a/server/tests/test-video-encoders
+++ b/server/tests/test-video-encoders
@@ -5,14 +5,14 @@ set -e
base_test() {
echo "Running test with options: $*"
rm -f /tmp/tmpfs/*
- ./test-gst -i 'videotestsrc pattern=14 foreground-color=0x4080ff background-color=0x402000 kx=-2 ky=-4 kxy=14 kt=3 num-buffers=100 ! video/x-raw,width=1024,height=768 ! videoconvert qos=false' "$@"
+ ./test-gst -i 'filesrc num-buffers=200 location=/home/freddy/Downloads/bbb_sunflower_1080p_30fps_normal.mp4 ! decodebin ! videoconvert qos=false' "$@"
}
# check different clippings
# note that due to some internal alignment we are using odd number for sizes
for clipping in '' '--clipping (10%,10%)x(409,307)'
do
- for encoder in mjpeg 'gstreamer:mjpeg --min-psnr 16' gstreamer:vp8 gstreamer:vp9 gstreamer:h264
+ for encoder in mjpeg 'gstreamer:mjpeg --min-psnr 20' gstreamer:vp8 gstreamer:vp9 gstreamer:h264
do
for split in '' '--split-lines=40'
do