fix: address the phase 5 review
Video trash moves across volumes commit once the verified copy has its name and leave an undeletable source whole behind a .leftover marker that the next start settles; deletes rehash under the lease. Restores honour the names renders are writing, and encoders never overwrite an output. Routing floors at the stored settings' format, kindless stills read as stills, star trails restart per loop, and settings the encoder ignored become render warnings. The Videos section fits beside the player, plays downloaded server copies, names blocked videos and says why actions are off; the admin panel offers no download for sequences or missing files and names a filtered sequence from its record. Refs #21 Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
This commit is contained in:
1 parent
6d87a1bc6d
commit
1be273d0e4
38 files changed
+958
-160
No files matched your search
@@ -102,7 +102,11 @@ public sealed record EncodeSettings
|
||||
/// <summary>Distance between key frames in frames; 0 = encoder default (≈ 1 s).</summary>
|
||||
public int GopLength { get; init; }
|
||||
|
||||
public int BFrames { get; init; } = 2;
|
||||
public int BFrames { get; init; } = DefaultBFrames;
|
||||
|
||||
/// <summary>The B-frames an encode asks for unless told otherwise.</summary>
|
||||
public const int DefaultBFrames = 2;
|
||||
|
||||
public bool PreferHardware { get; init; } = true;
|
||||
|
||||
/// <summary>Optional specific encoder name from <see cref="EncoderCapability.Name"/>.</summary>
|
||||
@@ -128,6 +132,22 @@ public interface IVideoEncoderSession : IDisposable
|
||||
|
||||
/// <summary>Flushes and closes the output. Without it, <see cref="IDisposable.Dispose"/> deletes the partial file.</summary>
|
||||
void Complete();
|
||||
|
||||
/// <summary>
|
||||
/// The settings asked for that the encoder does not support or refused, so the output was encoded with its own instead;
|
||||
/// empty when it took every one (the managed encoders, which have none of them to refuse).
|
||||
/// </summary>
|
||||
IReadOnlyList<EncoderSetting> Ignored => [];
|
||||
}
|
||||
|
||||
/// <summary>An encoding setting an encoder may refuse (<see cref="IVideoEncoderSession.Ignored"/>).</summary>
|
||||
public enum EncoderSetting
|
||||
{
|
||||
RateControl,
|
||||
Quality,
|
||||
BitRate,
|
||||
KeyframeInterval,
|
||||
BFrames,
|
||||
}
|
||||
|
||||
/// <summary>A family of encoders (Media Foundation on Windows, managed everywhere).</summary>
|
||||
|
||||
Reference in new issue
Block a user