1
0
intel-media-ffmpeg/scripts/devel-test.sh
2019-10-09 10:50:39 -07:00

23 lines
524 B
Bash
Executable File

#!/bin/bash
# Bring in the variables from SOLUTION file
#
CMD=xargs
if [ $(which system_profiler) ]; then
CMD=gxargs
fi
export $(grep -v '^#' SOLUTION | ${CMD} -d '\n')
export $(grep -v '^#' MANIFEST | ${CMD} -d '\n')
mkdir $(pwd)/media
wget -O $(pwd)/media/AUD_MW_E.264 \
https://fate-suite.libav.org/h264-conformance/AUD_MW_E.264
docker run \
--rm \
-a STDOUT \
--device=/dev/dri \
-e QSV_DEVICE=${QSV_DEVICE:-/dev/dri/renderD128} \
--volume $(pwd)/media:/media \
${REPO_URL}/${CONTAINER}:devel \
test