Skip to content

Commit

Permalink
Add -movflags +faststart
Browse files Browse the repository at this point in the history
  • Loading branch information
jim60105 committed Feb 22, 2022
1 parent 0d68e55 commit 3ebd040
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
1 change: 1 addition & 0 deletions Download.cs
Original file line number Diff line number Diff line change
Expand Up @@ -174,6 +174,7 @@ private async Task<IConversionResult> CutWithFFmpegAsync(string inputPath, strin
.AddStream(mediaInfo.Streams)
.AddParameter($"-ss {mediaInfo.Duration - TimeSpan.FromSeconds(duration)}")
.SetOutput(outputPath)
.AddParameter($"-movflags +faststart")
.SetOverwriteOutput(true);
conversion.OnDataReceived += (_, e) => Log.Verbose(e.Data);
Log.Debug("FFmpeg arguments: {arguments}", conversion.Build());
Expand Down
2 changes: 1 addition & 1 deletion Properties/PublishProfiles/ClickOnceProfile.pubxml
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ https://go.microsoft.com/fwlink/?LinkID=208121.
<Project ToolsVersion="4.0" xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
<PropertyGroup>
<ApplicationRevision>0</ApplicationRevision>
<ApplicationVersion>1.1.1.*</ApplicationVersion>
<ApplicationVersion>1.2.0.*</ApplicationVersion>
<BootstrapperEnabled>True</BootstrapperEnabled>
<Configuration>Release</Configuration>
<CreateDesktopShortcut>True</CreateDesktopShortcut>
Expand Down

0 comments on commit 3ebd040

Please sign in to comment.