-
Notifications
You must be signed in to change notification settings - Fork 32
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #82 from hudl/AddLastArgsToProcessor
ICommandProcessor changes, and new filters and defaults
- Loading branch information
Showing
12 changed files
with
101 additions
and
11 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,24 @@ | ||
using Hudl.FFmpeg.Attributes; | ||
using Hudl.FFmpeg.Resources.BaseTypes; | ||
using Hudl.FFmpeg.Settings.Attributes; | ||
using Hudl.FFmpeg.Settings.Interfaces; | ||
|
||
namespace Hudl.FFmpeg.Settings | ||
{ | ||
/// <summary> | ||
/// set the logging level used by the target library. | ||
/// </summary> | ||
[ForStream(Type = typeof(AudioStream))] | ||
[ForStream(Type = typeof(VideoStream))] | ||
[Setting(Name = "loglevel")] | ||
public class LogLevel : ISetting | ||
{ | ||
public LogLevel(string level) | ||
{ | ||
Level = level; | ||
} | ||
|
||
[SettingParameter] | ||
public string Level { get; set; } | ||
} | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,24 @@ | ||
using Hudl.FFmpeg.Attributes; | ||
using Hudl.FFmpeg.Resources.BaseTypes; | ||
using Hudl.FFmpeg.Settings.Attributes; | ||
using Hudl.FFmpeg.Settings.Interfaces; | ||
|
||
namespace Hudl.FFmpeg.Settings | ||
{ | ||
/// <summary> | ||
/// copy chapters from input file with index input_file_index to the next output file.. | ||
/// </summary> | ||
[ForStream(Type = typeof(AudioStream))] | ||
[ForStream(Type = typeof(VideoStream))] | ||
[Setting(Name = "map_chapters")] | ||
public class MapChapters : ISetting | ||
{ | ||
public MapChapters(string mapping) | ||
{ | ||
Mapping = mapping; | ||
} | ||
|
||
[SettingParameter] | ||
public string Mapping { get; set; } | ||
} | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,24 @@ | ||
using Hudl.FFmpeg.Attributes; | ||
using Hudl.FFmpeg.Resources.BaseTypes; | ||
using Hudl.FFmpeg.Settings.Attributes; | ||
using Hudl.FFmpeg.Settings.Interfaces; | ||
|
||
namespace Hudl.FFmpeg.Settings | ||
{ | ||
/// <summary> | ||
/// set metadata information of the next output file from infile. | ||
/// </summary> | ||
[ForStream(Type = typeof(AudioStream))] | ||
[ForStream(Type = typeof(VideoStream))] | ||
[Setting(Name = "map_metadata")] | ||
public class MapMetadata : ISetting | ||
{ | ||
public MapMetadata(string mapping) | ||
{ | ||
Mapping = mapping; | ||
} | ||
|
||
[SettingParameter] | ||
public string Mapping { get; set; } | ||
} | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters