Skip to content

Instantly share code, notes, and snippets.

@kostyll
Forked from Casey-Bateman/gist:d7f5d80da62d445548e8
Last active August 29, 2015 14:23
Show Gist options
  • Save kostyll/b5cf46498333bfd503be to your computer and use it in GitHub Desktop.
Save kostyll/b5cf46498333bfd503be to your computer and use it in GitHub Desktop.
//we are planning to use filter concatenation on three input videos
var filterchain = Filterchain.FilterTo<VideoStream>(new Concat());
//we want our output to be encoded using the following settings:
// -c:v libx264
// -b:v 3000k
// -s 852x480
// -y
var settings = SettingsCollection.ForOutput(
new CodecVideo("libx264"),
new BitRateVideo(3000),
new Size(852, 480),
new OverwriteOutput());
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment