+
+
+ {outputPreview()}
+
+
+
+ {converting && (
+
+
+
+
+ {cancelling ? t("cancelling") : t("converting")}
+
+
+ {percent}%
+
+
+
+
+ {stats.speed !== null
+ ? formatSpeed(stats.speed)
+ : "—"}
+
+ ),
+ },
+ {
+ label: t("eta"),
+ value: (
+
+ {stats.etaSec !== null
+ ? formatEta(stats.etaSec)
+ : t("calculating")}
+
+ ),
+ },
+ {
+ label: t("elapsed"),
+ value: {formatEta(run.elapsedSec)},
+ },
+ ]}
+ />
+
+ )}
+
+ {output && video && (
+
{formatBytes(video.size)},
+ },
+ {
+ label: t("outputSize"),
+ value: {formatBytes(output.size)},
+ },
+ ...(sizeDelta !== null
+ ? [
+ {
+ label: t("sizeChange"),
+ value: (
+
+ {sizeDelta >= 0 ? `-${sizeDelta}%` : `+${-sizeDelta}%`}
+
+ ),
+ },
+ ]
+ : []),
+ ]}
+ />
+ )}
+
+
+
+ }
+ />
+