* fix fallback filler playback * use new transcoder logic for errors * use realtime option for error streams
22 lines
795 B
C#
22 lines
795 B
C#
using ErsatzTV.FFmpeg.Environment;
|
|
|
|
namespace ErsatzTV.FFmpeg.Option;
|
|
|
|
public class LavfiInputOption : IInputOption
|
|
{
|
|
public IList<EnvironmentVariable> EnvironmentVariables => Array.Empty<EnvironmentVariable>();
|
|
public IList<string> GlobalOptions => Array.Empty<string>();
|
|
|
|
public IList<string> InputOptions(InputFile inputFile) => new List<string> { "-f", "lavfi" };
|
|
|
|
public IList<string> FilterOptions => Array.Empty<string>();
|
|
public IList<string> OutputOptions => Array.Empty<string>();
|
|
public FrameState NextState(FrameState currentState) => currentState;
|
|
|
|
public bool AppliesTo(AudioInputFile audioInputFile) => true;
|
|
|
|
public bool AppliesTo(VideoInputFile videoInputFile) => false;
|
|
|
|
public bool AppliesTo(ConcatInputFile concatInputFile) => false;
|
|
}
|