Change passthrough video processing to emit moov atom at start of video (#34726)
This commit is contained in:
@@ -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,
|
||||||
|
|||||||
Reference in New Issue
Block a user