mirror of
https://github.com/blakeblackshear/frigate.git
synced 2026-09-27 05:48:57 +03:00
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:
@@ -12,7 +12,11 @@ from frigate.jobs.export import (
|
||||
ExportJob,
|
||||
ExportJobManager,
|
||||
)
|
||||
from frigate.record.export import PlaybackSourceEnum, RecordingExporter
|
||||
from frigate.record.export import (
|
||||
ExportStreamEnum,
|
||||
PlaybackSourceEnum,
|
||||
RecordingExporter,
|
||||
)
|
||||
from frigate.types import JobStatusTypesEnum
|
||||
from frigate.util.ffmpeg import inject_progress_flags
|
||||
|
||||
@@ -38,7 +42,11 @@ def _make_exporter(
|
||||
exporter.ffmpeg_input_args = ffmpeg_input_args
|
||||
exporter.ffmpeg_output_args = ffmpeg_output_args
|
||||
exporter.cpu_fallback = False
|
||||
exporter.stream = ExportStreamEnum.auto
|
||||
exporter.on_progress = on_progress
|
||||
exporter.staged_runs = []
|
||||
exporter.staged_transcode = False
|
||||
exporter._coverage = ([], set(), False)
|
||||
return exporter
|
||||
|
||||
|
||||
|
||||
Reference in New Issue
Block a user