public static FFMpegArgumentOptions Use4KPreset(this FFMpegArgumentOptions args)
 {
     return(args.ForcePixelFormat("yuv420p")
            .WithVideoCodec("libx264")
            .WithConstantRateFactor(25)
            .WithCustomArgument("-profile:v baseline -level 3.0 -vf scale=-1:2160"));
 }
 protected override void ApplyOption(IReadOnlyCollection <Video> videos, FFMpegArgumentOptions options)
 {
     options.WithArgument(new HorizontalStack(videos.Count));
 }
Exemple #3
0
 protected override void ApplyOption(IReadOnlyCollection <Video> videos, FFMpegArgumentOptions options)
 {
     options.WithArgument(new GridArragment(videos.Count));
 }
 protected abstract void ApplyOption(IReadOnlyCollection <Video> videos, FFMpegArgumentOptions options);
Exemple #5
0
 protected override void ApplyOption(IReadOnlyCollection <Video> videos, FFMpegArgumentOptions options)
 {
     options.WithArgument(classicLayoutArgument);
 }