Skip to content

Videos: Create fragmented MP4s when transcoding with FFmpeg #4892

@lastzero

Description

@lastzero

Based on the following recommendations, the value of the FFmpeg -movflags flag should be changed from "+faststart" to "frag_keyframe+empty_moov+default_base_moof+faststart" to ensure properly fragmented and compatible MP4 files that are suitable for streaming with HLS.js:

While streaming has worked before, the hope is that this change will further improve the situation, e.g. when changing the playback position in longer videos that have been transcoded (videos streamed in their original format will not benefit in any way, as they remain untouched to save storage space).

If anyone has any other information or recommendations, now would be a good time to let us know! 🎬

Metadata

Metadata

Assignees

Labels

performancePerformance OptimizationreleasedAvailable in the stable releasetestedChanges have been tested successfullyuxImpacts User ExperiencevideoVideo Formats, Transcoding, FFmpeg, Streaming & Co

Type

No fields configured for Task.

Projects

Status

Release 🌈

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions