Former-commit-id: 9cdf18e76f8fce41130dee439fa8490fb3d995ad
This commit is contained in:
Daniel Løvbrøtte Olsen 2020-05-02 12:16:37 +02:00 committed by Daniel Olsen
parent c2b21faf0e
commit 2aa8ea7435
2 changed files with 5 additions and 5 deletions

View File

@ -19,7 +19,7 @@ mod workunit;
use workunit::WUnit; use workunit::WUnit;
use workunit::EStatus; use workunit::EStatus;
const VERSION: &str = "0.9.0"; const VERSION: &str = "0.10.0";
#[derive(Default, Debug)] #[derive(Default, Debug)]
struct SharedState { struct SharedState {

View File

@ -4,7 +4,7 @@ set -euo pipefail
IFS=$'\n\t' IFS=$'\n\t'
base_url="https://av1.dodsorf.as" base_url="https://av1.dodsorf.as"
version="0.9.0" version="0.10.0"
while true; do while true; do
sleep 30 sleep 30
@ -117,7 +117,7 @@ while true; do
set +e set +e
eval 'ffmpeg -nostats -hide_banner -loglevel warning \ eval 'ffmpeg -nostats -hide_banner -loglevel warning \
-i "'$input'" '$ffmpego' -vf scale='$width':'$height','$fffps' -pix_fmt '$ffpix' -f yuv4mpegpipe - | aomenc - '$aomfps' '$aompix' '$aomenco' \ -i "'$input'" '$ffmpego' -vf scale='$width':'$height','$fffps' -pix_fmt '$ffpix' -f yuv4mpegpipe - | aomenc - '$aomfps' '$aompix' '$aomenco' \
--pass=1 --passes=2 --fpf="'$input'.fpf" -o "'$input'.out.ivf"' --pass=1 --passes=2 --fpf="'$input'.fpf" --ivf -o "'$input'.out.ivf"'
retval=$? retval=$?
if [ $retval -ne 0 ]; then if [ $retval -ne 0 ]; then
@ -129,7 +129,7 @@ while true; do
eval 'ffmpeg -nostats -hide_banner -loglevel warning \ eval 'ffmpeg -nostats -hide_banner -loglevel warning \
-i "'$input'" '$ffmpego' -vf scale='$width':'$height','$fffps' -pix_fmt '$ffpix' -f yuv4mpegpipe - | aomenc - '$aomfps' '$aompix' '$aomenco' \ -i "'$input'" '$ffmpego' -vf scale='$width':'$height','$fffps' -pix_fmt '$ffpix' -f yuv4mpegpipe - | aomenc - '$aomfps' '$aompix' '$aomenco' \
--pass=2 --passes=2 --fpf="'$input'.fpf" -o "'$input'.out.ivf"' --pass=2 --passes=2 --fpf="'$input'.fpf" --ivf -o "'$input'.out.ivf"'
retval=$? retval=$?
if [ $retval -ne 0 ]; then if [ $retval -ne 0 ]; then
@ -147,7 +147,7 @@ while true; do
set +e set +e
eval 'ffmpeg -nostats -hide_banner -loglevel warning \ eval 'ffmpeg -nostats -hide_banner -loglevel warning \
-i "'$input'" '$ffmpego' -vf scale='$width':'$height','$fffps' -pix_fmt '$ffpix' -f yuv4mpegpipe - | aomenc - '$aomfps' '$aompix' '$aomenco' \ -i "'$input'" '$ffmpego' -vf scale='$width':'$height','$fffps' -pix_fmt '$ffpix' -f yuv4mpegpipe - | aomenc - '$aomfps' '$aompix' '$aomenco' \
--passes=1 --fpf="'$input'.fpf" -o "'$input'.out.ivf"' --passes=1 --fpf="'$input'.fpf" --ivf -o "'$input'.out.ivf"'
retval=$? retval=$?
if [ $retval -ne 0 ]; then if [ $retval -ne 0 ]; then