facilitate streaming by moving the moov atom
This commit is contained in:
parent
0aedf80386
commit
d5ed4ce753
1 changed files with 2 additions and 0 deletions
|
@ -206,6 +206,8 @@ func (v *YoutubeVideo) download(useIPv6 bool) error {
|
||||||
"-o" + strings.TrimSuffix(v.getFullPath(), ".mp4"),
|
"-o" + strings.TrimSuffix(v.getFullPath(), ".mp4"),
|
||||||
"--merge-output-format",
|
"--merge-output-format",
|
||||||
"mp4",
|
"mp4",
|
||||||
|
"--postprocessor-args",
|
||||||
|
"'-movflags faststart'",
|
||||||
"--abort-on-unavailable-fragment",
|
"--abort-on-unavailable-fragment",
|
||||||
"--fragment-retries",
|
"--fragment-retries",
|
||||||
"0",
|
"0",
|
||||||
|
|
Loading…
Add table
Reference in a new issue