Adding fonts & chapters to the api

This commit is contained in:
Zoe Roux
2020-10-31 02:02:41 +01:00
parent 72417b873d
commit 201f059349
9 changed files with 106 additions and 123 deletions
+1 -9
View File
@@ -6,16 +6,8 @@ namespace Kyoo.Controllers
{
public interface ITranscoder
{
// Should transcode to a mp4 container (same video/audio format if possible, no subtitles).
Task<Track[]> ExtractInfos(string path);
Task<string> Transmux(Episode episode);
// Should transcode to a mp4 container with a h264 video format and a AAC audio format, no subtitles.
Task<string> Transcode(Episode episode);
// Get video and audio tracks infos (codec, name, language...)
Task<Track[]> GetTrackInfo(string path);
// Extract all subtitles of a video and save them in the subtitles sub-folder.
Task<Track[]> ExtractSubtitles(string path);
}
}