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
parent 423791e2fb
commit 023c24f3de

View File

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