mirror of
https://github.com/jellyfin/jellyfin.git
synced 2025-06-23 15:30:56 -04:00
3.2.5
This commit is contained in:
parent
c63edb6e88
commit
5906e7f8b7
@ -154,10 +154,27 @@ namespace MediaBrowser.Controller.MediaEncoding
|
|||||||
{
|
{
|
||||||
return "mpegts";
|
return "mpegts";
|
||||||
}
|
}
|
||||||
|
// For these need to find out the ffmpeg names
|
||||||
if (string.Equals(container, "m2ts", StringComparison.OrdinalIgnoreCase))
|
if (string.Equals(container, "m2ts", StringComparison.OrdinalIgnoreCase))
|
||||||
{
|
{
|
||||||
return null;
|
return null;
|
||||||
}
|
}
|
||||||
|
if (string.Equals(container, "wmv", StringComparison.OrdinalIgnoreCase))
|
||||||
|
{
|
||||||
|
return null;
|
||||||
|
}
|
||||||
|
if (string.Equals(container, "vob", StringComparison.OrdinalIgnoreCase))
|
||||||
|
{
|
||||||
|
return null;
|
||||||
|
}
|
||||||
|
if (string.Equals(container, "mpg", StringComparison.OrdinalIgnoreCase))
|
||||||
|
{
|
||||||
|
return null;
|
||||||
|
}
|
||||||
|
if (string.Equals(container, "mpeg", StringComparison.OrdinalIgnoreCase))
|
||||||
|
{
|
||||||
|
return null;
|
||||||
|
}
|
||||||
|
|
||||||
return container;
|
return container;
|
||||||
}
|
}
|
||||||
@ -1481,7 +1498,7 @@ namespace MediaBrowser.Controller.MediaEncoding
|
|||||||
//inputModifier += " -noaccurate_seek";
|
//inputModifier += " -noaccurate_seek";
|
||||||
}
|
}
|
||||||
|
|
||||||
if (!string.IsNullOrWhiteSpace(state.InputContainer))
|
if (!string.IsNullOrWhiteSpace(state.InputContainer) && state.VideoType == VideoType.VideoFile)
|
||||||
{
|
{
|
||||||
var inputFormat = GetInputFormat(state.InputContainer);
|
var inputFormat = GetInputFormat(state.InputContainer);
|
||||||
if (!string.IsNullOrWhiteSpace(inputFormat))
|
if (!string.IsNullOrWhiteSpace(inputFormat))
|
||||||
@ -1490,7 +1507,8 @@ namespace MediaBrowser.Controller.MediaEncoding
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
if (state.RunTimeTicks.HasValue && string.IsNullOrWhiteSpace(encodingOptions.HardwareAccelerationType))
|
// Only do this for video files due to sometimes unpredictable codec names coming from BDInfo
|
||||||
|
if (state.RunTimeTicks.HasValue && string.IsNullOrWhiteSpace(encodingOptions.HardwareAccelerationType) && state.VideoType == VideoType.VideoFile)
|
||||||
{
|
{
|
||||||
foreach (var stream in state.MediaSource.MediaStreams)
|
foreach (var stream in state.MediaSource.MediaStreams)
|
||||||
{
|
{
|
||||||
|
@ -1,3 +1,3 @@
|
|||||||
using System.Reflection;
|
using System.Reflection;
|
||||||
|
|
||||||
[assembly: AssemblyVersion("3.2.4")]
|
[assembly: AssemblyVersion("3.2.5")]
|
||||||
|
Loading…
x
Reference in New Issue
Block a user