mirror of
https://github.com/levogevo/ffmpeg-av1-builder.git
synced 2026-01-15 16:56:18 +00:00
ss apparently
This commit is contained in:
@@ -35,8 +35,8 @@ do
|
|||||||
echo "$TOTAL_DURATION"
|
echo "$TOTAL_DURATION"
|
||||||
IN_POINT=$(echo "print(($TOTAL_DURATION - $CHUNK_TIME) / 2)" | python3)
|
IN_POINT=$(echo "print(($TOTAL_DURATION - $CHUNK_TIME) / 2)" | python3)
|
||||||
echo -e "\tin: $IN_POINT"
|
echo -e "\tin: $IN_POINT"
|
||||||
ffmpeg -i "$DL_DIR/$input" -vcodec copy -reset_timestamps 1 \
|
ffmpeg -ss "$IN_POINT" -i "$DL_DIR/$input" -vcodec copy -reset_timestamps 1 \
|
||||||
-map 0 -an -sn -ss "$IN_POINT" -t $CHUNK_TIME "$INPUT_DIR/$input"
|
-map 0 -an -sn -t $CHUNK_TIME "$INPUT_DIR/$input"
|
||||||
done
|
done
|
||||||
|
|
||||||
# Different variables to test
|
# Different variables to test
|
||||||
@@ -45,9 +45,9 @@ ENCODER=('libsvtav1' 'librav1e' 'libaom-av1')
|
|||||||
PRESET=(4 8 12)
|
PRESET=(4 8 12)
|
||||||
|
|
||||||
# uncomment for quick testing
|
# uncomment for quick testing
|
||||||
CRF=(30)
|
CRF=(25)
|
||||||
ENCODER=('libsvtav1')
|
ENCODER=('libsvtav1')
|
||||||
PRESET=(13)
|
PRESET=(8)
|
||||||
|
|
||||||
# Log for results
|
# Log for results
|
||||||
LOG="$BENCHMARK_DIR/results.txt"
|
LOG="$BENCHMARK_DIR/results.txt"
|
||||||
|
|||||||
Reference in New Issue
Block a user