* spike new graphics engine * fix remote watermarks; add graphics engine to vaapi * add graphics engine to qsv
30 lines
906 B
C#
30 lines
906 B
C#
using ErsatzTV.FFmpeg.Environment;
|
|
using ErsatzTV.FFmpeg.InputOption;
|
|
|
|
namespace ErsatzTV.FFmpeg.Format;
|
|
|
|
public class ConcatInputFormat : IInputOption
|
|
{
|
|
public EnvironmentVariable[] EnvironmentVariables => [];
|
|
public string[] GlobalOptions => [];
|
|
|
|
public string[] InputOptions(InputFile inputFile) =>
|
|
[
|
|
"-f", "concat",
|
|
"-safe", "0",
|
|
"-protocol_whitelist", "file,http,tcp,https,tcp,tls",
|
|
"-probesize", "32"
|
|
];
|
|
|
|
public string[] FilterOptions => [];
|
|
public string[] OutputOptions => [];
|
|
public FrameState NextState(FrameState currentState) => currentState;
|
|
public bool AppliesTo(AudioInputFile audioInputFile) => false;
|
|
|
|
public bool AppliesTo(VideoInputFile videoInputFile) => false;
|
|
|
|
public bool AppliesTo(ConcatInputFile concatInputFile) => true;
|
|
|
|
public bool AppliesTo(GraphicsEngineInput graphicsEngineInput) => false;
|
|
}
|