new script to convert videos to AV1 using Intel Quickstep
This commit is contained in:
parent
a0f46ab8ed
commit
a3d518a5b3
1 changed files with 18 additions and 0 deletions
18
scripts/arc_convert.sh
Executable file
18
scripts/arc_convert.sh
Executable file
|
@ -0,0 +1,18 @@
|
|||
#!/bin/bash
|
||||
# https://forum.level1techs.com/t/ffmpeg-av1-encoding-using-intel-arc-gpu-tips/205120/2
|
||||
ffmpeg \
|
||||
-extra_hw_frames 40 \
|
||||
-i "$1" \
|
||||
-init_hw_device vaapi=va:/dev/dri/renderD128 \
|
||||
-c:v av1_qsv \
|
||||
-preset veryslow \
|
||||
-extbrc 1 \
|
||||
-look_ahead_depth 40 \
|
||||
-b:v 1M \
|
||||
-bufsize 2M \
|
||||
-rc_init_occupancy 512K \
|
||||
-low_power 0 \
|
||||
-adaptive_i 1 \
|
||||
-adaptive_b 1 \
|
||||
-b_strategy 1 -bf 7 \
|
||||
"$2"
|
Loading…
Add table
Add a link
Reference in a new issue