Commit d5ed4ce7 authored by ci's avatar ci
Browse files

facilitate streaming by moving the moov atom

parent 0aedf803
......@@ -206,6 +206,8 @@ func (v *YoutubeVideo) download(useIPv6 bool) error {
"-o" + strings.TrimSuffix(v.getFullPath(), ".mp4"),
"--merge-output-format",
"mp4",
"--postprocessor-args",
"'-movflags faststart'",
"--abort-on-unavailable-fragment",
"--fragment-retries",
"0",
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment