Remove hybrid havc temp file

Add a hybrid track to the track processing list to fix the problem that the hybrid-processed hevc file remains in the temp folder.
This commit is contained in:
CodeName393
2026-02-06 17:53:48 +09:00
committed by GitHub
parent 939ca25c5b
commit 8f0b9eafd7

View File

@@ -1910,9 +1910,11 @@ class dl:
# Create a new video track for the hybrid output
hybrid_track = deepcopy(hdr10_track)
hybrid_track.id = f"hybrid_{hdr10_track.id}_{resolution}"
hybrid_track.path = hybrid_output_path
hybrid_track.range = Video.Range.DV # It's now a DV track
hybrid_track.needs_duration_fix = True
title.tracks.add(hybrid_track)
task_tracks.videos = [hybrid_track]
enqueue_mux_tasks(task_description, task_tracks)