mirror of
https://github.com/levogevo/ffmpeg-av1-builder.git
synced 2026-01-15 16:56:18 +00:00
cpu product
This commit is contained in:
@@ -53,6 +53,8 @@ PRESET=(13)
|
|||||||
LOG="$BENCHMARK_DIR/results.txt"
|
LOG="$BENCHMARK_DIR/results.txt"
|
||||||
rm -rf "$OUTPUT_DIR" && mkdir -p "$OUTPUT_DIR"
|
rm -rf "$OUTPUT_DIR" && mkdir -p "$OUTPUT_DIR"
|
||||||
ffmpeg -version | grep "version" > "$LOG"
|
ffmpeg -version | grep "version" > "$LOG"
|
||||||
|
CPU_PROD=$(sudo lshw | grep "product" | head -1 | cut -d ':' -f2)
|
||||||
|
echo "CPU product:$CPU_PROD with $(nproc) threads" >> $LOG
|
||||||
uname -srmpio >> "$LOG"
|
uname -srmpio >> "$LOG"
|
||||||
|
|
||||||
# Find versions of files
|
# Find versions of files
|
||||||
|
|||||||
@@ -6,7 +6,7 @@ sudo apt-get install autoconf automake build-essential cmake git-core \
|
|||||||
libass-dev libfreetype6-dev libsdl2-dev libtool libva-dev libvdpau-dev \
|
libass-dev libfreetype6-dev libsdl2-dev libtool libva-dev libvdpau-dev \
|
||||||
libvorbis-dev libxcb1-dev libxcb-shm0-dev libxcb-xfixes0-dev pkg-config \
|
libvorbis-dev libxcb1-dev libxcb-shm0-dev libxcb-xfixes0-dev pkg-config \
|
||||||
texinfo wget zlib1g-dev nasm yasm libssl-dev time python3 meson ninja-build\
|
texinfo wget zlib1g-dev nasm yasm libssl-dev time python3 meson ninja-build\
|
||||||
doxygen xxd jq -y || exit 1
|
doxygen xxd jq lshw -y || exit 1
|
||||||
|
|
||||||
curl https://sh.rustup.rs -sSf | sh -s -- -y
|
curl https://sh.rustup.rs -sSf | sh -s -- -y
|
||||||
source "$HOME/.cargo/env"
|
source "$HOME/.cargo/env"
|
||||||
|
|||||||
Reference in New Issue
Block a user