copy&paste error fixed
This commit is contained in:
parent
4db687869e
commit
45d673079a
@ -106,7 +106,7 @@ ff_encode() {
|
|||||||
if [[ $eta_encoding -gt "60" ]]; then
|
if [[ $eta_encoding -gt "60" ]]; then
|
||||||
log_msg "Estimated Encoding Time: $((total_frames / fps / 60)) Minutes (based on last encoding speed)"
|
log_msg "Estimated Encoding Time: $((total_frames / fps / 60)) Minutes (based on last encoding speed)"
|
||||||
else
|
else
|
||||||
log_msg "Estimated Encoding Time: $((total_frames / fps)) Minutes (based on last encoding speed)"
|
log_msg "Estimated Encoding Time: $((total_frames / fps)) Seconds (based on last encoding speed)"
|
||||||
fi
|
fi
|
||||||
if ffmpeg -hide_banner -v quiet -stats -nostdin -hwaccel "$1" -hwaccel_output_format "$1" -i "$i" -c:v "$2" -preset "$3" -b:v "$4"K -c:a "$5" -map 0 -c:s copy "${encodes[*]}""${fertig%.*}.mkv" >>"${log[@]}" 2>&1; then
|
if ffmpeg -hide_banner -v quiet -stats -nostdin -hwaccel "$1" -hwaccel_output_format "$1" -i "$i" -c:v "$2" -preset "$3" -b:v "$4"K -c:a "$5" -map 0 -c:s copy "${encodes[*]}""${fertig%.*}.mkv" >>"${log[@]}" 2>&1; then
|
||||||
finishedduration=$(ffprobe -hide_banner -loglevel error -v quiet -stats -i "${encodes[*]}""${fertig%.*}.mkv" -show_entries format=duration -v quiet -of csv="p=0" | sed 's/\..*//g')
|
finishedduration=$(ffprobe -hide_banner -loglevel error -v quiet -stats -i "${encodes[*]}""${fertig%.*}.mkv" -show_entries format=duration -v quiet -of csv="p=0" | sed 's/\..*//g')
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user