mirror of
https://github.com/jellyfin/jellyfin.git
synced 2026-01-23 23:20:51 +01:00
feat: add audio remux to UniversalAudioController
Signed-off-by: gnattu <gnattuoc@me.com>
This commit is contained in:
parent
c050abf3e8
commit
e4101128e0
4 changed files with 86 additions and 6 deletions
|
|
@ -479,6 +479,11 @@ public sealed class TranscodeManager : ITranscodeManager, IDisposable
|
|||
: "FFmpeg.DirectStream-";
|
||||
}
|
||||
|
||||
if (state.VideoRequest is null && EncodingHelper.IsCopyCodec(state.OutputAudioCodec))
|
||||
{
|
||||
logFilePrefix = "FFmpeg.Remux-";
|
||||
}
|
||||
|
||||
var logFilePath = Path.Combine(
|
||||
_serverConfigurationManager.ApplicationPaths.LogDirectoryPath,
|
||||
$"{logFilePrefix}{DateTime.Now:yyyy-MM-dd_HH-mm-ss}_{state.Request.MediaSourceId}_{Guid.NewGuid().ToString()[..8]}.log");
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue