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.

14 lines
416 B

using System.Globalization;
namespace ErsatzTV.FFmpeg.OutputOption;
public class OutputTsOffsetOption(double ptsOffset) : OutputOption
{
public override string[] OutputOptions =>
[
"-output_ts_offset",
$"{ptsOffset.ToString(NumberFormatInfo.InvariantInfo)}s"
];
// public override FrameState NextState(FrameState currentState) => currentState with { PtsOffset = _ptsOffset };
}