mirror of
https://github.com/ShareX/ShareX.git
synced 2024-09-30 01:07:21 +13:00
fixed #5806: Added faststart to NVENC
This commit is contained in:
parent
cbd1acfaec
commit
96480288cd
1 changed files with 1 additions and 0 deletions
|
@ -203,6 +203,7 @@ public string GetFFmpegArgs(bool isCustom = false)
|
|||
args.AppendFormat("-preset {0} ", FFmpeg.NVENC_preset);
|
||||
args.AppendFormat("-b:v {0}k ", FFmpeg.NVENC_bitrate);
|
||||
args.AppendFormat("-pix_fmt {0} ", "yuv420p");
|
||||
args.AppendFormat("-movflags {0} ", "+faststart"); // This will move some information to the beginning of your file and allow the video to begin playing before it is completely downloaded by the viewer
|
||||
break;
|
||||
case FFmpegVideoCodec.h264_amf:
|
||||
case FFmpegVideoCodec.hevc_amf:
|
||||
|
|
Loading…
Reference in a new issue