Support main+sub stream exports (#24193)

* Support multi resolution exports

* Fix decoder text

* Add dropdown and ability to select export stream selection

* Fix for review comments

* Fix mypy

* Cleanup wording
This commit is contained in:
Nicolas Mowen
2026-09-12 07:30:04 -06:00
parent 70ce193e09
commit 82be9fff5e
15 changed files with 1164 additions and 49 deletions
+7 -1
View File
@@ -18,7 +18,11 @@ from frigate.config.camera.record import ChaptersEnum
from frigate.const import UPDATE_JOB_STATE
from frigate.jobs.job import Job
from frigate.models import Export
from frigate.record.export import PlaybackSourceEnum, RecordingExporter
from frigate.record.export import (
ExportStreamEnum,
PlaybackSourceEnum,
RecordingExporter,
)
from frigate.types import JobStatusTypesEnum
logger = logging.getLogger(__name__)
@@ -58,6 +62,7 @@ class ExportJob(Job):
ffmpeg_output_args: str | None = None
cpu_fallback: bool = False
chapters: ChaptersEnum | None = None
stream: ExportStreamEnum = ExportStreamEnum.auto
current_step: str = "queued"
progress_percent: float = 0.0
@@ -347,6 +352,7 @@ class ExportJobManager:
job.ffmpeg_output_args,
job.cpu_fallback,
job.chapters,
job.stream,
on_progress=self._make_progress_callback(job),
)