From 8ac0aa4f5f78d73345b3ae157df409fb69860bbd Mon Sep 17 00:00:00 2001 From: SergeantPanda Date: Sun, 17 May 2026 12:33:37 -0500 Subject: [PATCH] fix: update default output profiles to include additional ffmpeg parameters for improved processing speed. --- core/migrations/0024_outputprofile.py | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/core/migrations/0024_outputprofile.py b/core/migrations/0024_outputprofile.py index 772ea038..4048e47a 100644 --- a/core/migrations/0024_outputprofile.py +++ b/core/migrations/0024_outputprofile.py @@ -11,12 +11,15 @@ def create_default_output_profiles(apps, schema_editor): 'command': 'ffmpeg', 'parameters': ( '-fflags +discardcorrupt+genpts+nobuffer ' + '-probesize 512K ' + '-analyzeduration 0 ' '-i pipe:0 ' '-map 0 ' '-c:v copy ' '-c:a ac3 ' '-b:a 384k ' '-max_muxing_queue_size 4096 ' + '-flush_packets 1 ' '-mpegts_flags +pat_pmt_at_frames+resend_headers+initial_discontinuity ' '-f mpegts pipe:1' ), @@ -30,6 +33,8 @@ def create_default_output_profiles(apps, schema_editor): 'command': 'ffmpeg', 'parameters': ( '-fflags +discardcorrupt+genpts+nobuffer ' + '-probesize 512K ' + '-analyzeduration 0 ' '-i pipe:0 ' '-map 0 ' '-c:v copy ' @@ -37,6 +42,7 @@ def create_default_output_profiles(apps, schema_editor): '-b:a 192k ' '-ac 2 ' '-max_muxing_queue_size 4096 ' + '-flush_packets 1 ' '-mpegts_flags +pat_pmt_at_frames+resend_headers+initial_discontinuity ' '-f mpegts pipe:1' ),