Fix skipping encode on resume

This commit is contained in:
2026-03-21 15:39:31 +01:00
parent 14bb4ac95f
commit 101a6e1fe1

View File

@@ -24,7 +24,7 @@ def _encode_video(
print(f"Encoding {preset['h']}p AV1")
cmd = [
"ffmpeg",
"ffmpeg", "-v", "quiet", "-stats",
"-i", preset['input_video'],
"-i", source_video,
"-map", "0:v:0", # Video from upscale or interpolated file
@@ -77,7 +77,7 @@ def encode_downloads(
if os.path.exists(mux_out):
print(f'Skipped {preset['h']}p AV1 Encode')
return
continue
_encode_video(preset, source_video, tmp_out, hentai_title, input_aspect)
_remux_video(tmp_out, mux_out)