Stream custom live channels using your own media
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 

12 lines
487 B

using ErsatzTV.FFmpeg.Format;
namespace ErsatzTV.FFmpeg.Encoder;
public class EncoderLibx265 : EncoderBase
{
// TODO: is tag:v needed for mpegts?
public override IList<string> OutputOptions => new List<string> { "-c:v", Name, "-tag:v", "hvc1" };
public override FrameState NextState(FrameState currentState) => currentState with { VideoFormat = VideoFormat.Hevc };
public override string Name => "libx265";
public override StreamKind Kind => StreamKind.Video;
}