mirror of
https://github.com/photoprism/photoprism.git
synced 2025-12-11 16:24:11 +01:00
10 lines
537 B
Go
10 lines
537 B
Go
package encode
|
|
|
|
// MovFlags defines default fragmented MP4 flags 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 = "use_metadata_tags+faststart"
|