Files
ersatztv/ErsatzTV.FFmpeg/Decoder/DecoderAacLatm.cs
T
Jason DoveandGitHub a47510fef3 add aac (latm) audio format (#2561)
* add aac (latm) audio format

* update changelog
2025-10-23 15:56:13 -05:00

25 lines
779 B
C#

using ErsatzTV.FFmpeg.Environment;
using ErsatzTV.FFmpeg.InputOption;
namespace ErsatzTV.FFmpeg.Decoder;
public class DecoderAacLatm : IInputOption
{
public EnvironmentVariable[] EnvironmentVariables => [];
public string[] GlobalOptions => [];
public string[] FilterOptions => [];
public string[] OutputOptions => [];
public string[] InputOptions(InputFile inputFile) => ["-c:a", "aac_latm"];
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;
}