diff options
| author | Cody Robibero <cody@robibe.ro> | 2024-07-18 08:12:20 -0400 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2024-07-18 08:12:20 -0400 |
| commit | 4239de1ee78ee5e739c926918fca75f2ced8c1b4 (patch) | |
| tree | e7574543c5f500b9ca30199a6241bd5aaf44e819 /MediaBrowser.MediaEncoding/Transcoding | |
| parent | 5262439300884680b1425b94de9c2f9c898d83ae (diff) | |
| parent | 59c18a7454074b3c2b7c67e0dc4071e3ffc5d704 (diff) | |
Merge pull request #11399 from jellyfin/audio-remux
Diffstat (limited to 'MediaBrowser.MediaEncoding/Transcoding')
| -rw-r--r-- | MediaBrowser.MediaEncoding/Transcoding/TranscodeManager.cs | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/MediaBrowser.MediaEncoding/Transcoding/TranscodeManager.cs b/MediaBrowser.MediaEncoding/Transcoding/TranscodeManager.cs index 0b09e57b5..67a2dddb8 100644 --- a/MediaBrowser.MediaEncoding/Transcoding/TranscodeManager.cs +++ b/MediaBrowser.MediaEncoding/Transcoding/TranscodeManager.cs @@ -470,6 +470,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"); |
