twitch vod downloading done

ffmpeg essentials

fix

Project reorganized

git lfs

ffmpeg removed

ffmpeg added
This commit is contained in:
2024-02-14 02:07:22 +01:00
Unverified
parent 91f9b645bd
commit e3ec5c3a48
264 changed files with 6239 additions and 4014 deletions

View File

@@ -0,0 +1,44 @@
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace VDownload.Models
{
public class VideoDownloadOptions
{
#region FIELDS
private readonly TimeSpan _originalDuration;
#endregion
#region PROPERTIES
public required VideoStream SelectedStream { get; set; }
public required TimeSpan TrimStart { get; set; }
public required TimeSpan TrimEnd { get; set; }
public required MediaType MediaType { get; set; }
public required string Directory { get; set; }
public required string Filename { get; set; }
public required string Extension { get; set; }
public TimeSpan DurationAfterTrim => TrimEnd - TrimStart;
public bool IsTrimmed => _originalDuration != DurationAfterTrim;
#endregion
#region CONSTRUCTORS
public VideoDownloadOptions(TimeSpan originalDuration)
{
_originalDuration = originalDuration;
}
#endregion
}
}