mirror of
https://github.com/photoprism/photoprism.git
synced 2025-12-12 00:34:13 +01:00
10 lines
566 B
Go
10 lines
566 B
Go
package encode
|
|
|
|
// The MovFlags default forces fragmented MP4 output suitable for streaming:
|
|
// - https://developer.mozilla.org/en-US/docs/Web/API/Media_Source_Extensions_API/Transcoding_assets_for_MSE#fragmenting
|
|
// - https://nschlia.github.io/ffmpegfs/html/ffmpeg__profiles_8cc.html
|
|
// - https://cloudinary.com/glossary/fragmented-mp4
|
|
// - https://medium.com/@vlad.pbr/in-browser-live-video-using-fragmented-mp4-3aedb600a07e
|
|
// - https://github.com/video-dev/hls.js?tab=readme-ov-file#features
|
|
var MovFlags = "frag_keyframe+empty_moov+default_base_moof+faststart"
|