2
0

Change passthrough video processing to emit moov atom at start of video (#34726)

This commit is contained in:
Claire
2025-05-19 10:29:31 +02:00
committed by GitHub
parent e291f95a04
commit 90f7b90223

View File

@@ -122,6 +122,7 @@ class MediaAttachment < ApplicationRecord
output: { output: {
'loglevel' => 'fatal', 'loglevel' => 'fatal',
'map_metadata' => '-1', 'map_metadata' => '-1',
'movflags' => 'faststart', # Move metadata to start of file so playback can begin before download finishes
'c:v' => 'copy', 'c:v' => 'copy',
'c:a' => 'copy', 'c:a' => 'copy',
}.freeze, }.freeze,