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));
 }
Esempio n. 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);
Esempio n. 5
0
 protected override void ApplyOption(IReadOnlyCollection <Video> videos, FFMpegArgumentOptions options)
 {
     options.WithArgument(classicLayoutArgument);
 }