mirror of
https://github.com/jellyfin/jellyfin.git
synced 2025-07-09 03:04:24 -04:00
Merge branch 'jellyfin:master' into ci-autoversion-packages
This commit is contained in:
commit
3699fa43f0
@ -118,5 +118,6 @@
|
|||||||
"Default": "پیشفرض",
|
"Default": "پیشفرض",
|
||||||
"TaskCleanActivityLogDescription": "ورودیهای قدیمیتر از سن تنظیم شده در سیاهه فعالیت را حذف میکند.",
|
"TaskCleanActivityLogDescription": "ورودیهای قدیمیتر از سن تنظیم شده در سیاهه فعالیت را حذف میکند.",
|
||||||
"TaskCleanActivityLog": "پاکسازی سیاهه فعالیت",
|
"TaskCleanActivityLog": "پاکسازی سیاهه فعالیت",
|
||||||
"Undefined": "تعریف نشده"
|
"Undefined": "تعریف نشده",
|
||||||
|
"TaskOptimizeDatabase": "بهینه سازی پایگاه داده"
|
||||||
}
|
}
|
||||||
|
@ -16,7 +16,7 @@
|
|||||||
"Folders": "フォルダー",
|
"Folders": "フォルダー",
|
||||||
"Genres": "ジャンル",
|
"Genres": "ジャンル",
|
||||||
"HeaderAlbumArtists": "アルバムアーティスト",
|
"HeaderAlbumArtists": "アルバムアーティスト",
|
||||||
"HeaderContinueWatching": "視聴を続ける",
|
"HeaderContinueWatching": "続きを見る",
|
||||||
"HeaderFavoriteAlbums": "お気に入りのアルバム",
|
"HeaderFavoriteAlbums": "お気に入りのアルバム",
|
||||||
"HeaderFavoriteArtists": "お気に入りのアーティスト",
|
"HeaderFavoriteArtists": "お気に入りのアーティスト",
|
||||||
"HeaderFavoriteEpisodes": "お気に入りのエピソード",
|
"HeaderFavoriteEpisodes": "お気に入りのエピソード",
|
||||||
|
@ -1 +1,29 @@
|
|||||||
{}
|
{
|
||||||
|
"TasksApplicationCategory": "Ukusetshenziswa",
|
||||||
|
"TasksLibraryCategory": "Umtapo",
|
||||||
|
"TasksMaintenanceCategory": "Ukunakekela",
|
||||||
|
"User": "Umsebenzisi",
|
||||||
|
"Undefined": "Akuchaziwe",
|
||||||
|
"System": "Isistimu",
|
||||||
|
"Sync": "Vumelanisa",
|
||||||
|
"Songs": "Amaculo",
|
||||||
|
"Shows": "Izinhlelo",
|
||||||
|
"Plugin": "Isijobelelo",
|
||||||
|
"Playlists": "Izinhla Zokudlalayo",
|
||||||
|
"Photos": "Izithombe",
|
||||||
|
"Music": "Umculo",
|
||||||
|
"Movies": "Amamuvi",
|
||||||
|
"Latest": "lwakamuva",
|
||||||
|
"Inherit": "Ngefa",
|
||||||
|
"Forced": "Kuphoqiwe",
|
||||||
|
"Application": "Ukusetshenziswa",
|
||||||
|
"Genres": "Izinhlobo",
|
||||||
|
"Folders": "Izikhwama",
|
||||||
|
"Favorites": "Izintandokazi",
|
||||||
|
"Default": "Okumisiwe",
|
||||||
|
"Collections": "Amaqoqo",
|
||||||
|
"Channels": "Amashaneli",
|
||||||
|
"Books": "Izincwadi",
|
||||||
|
"Artists": "Abadlali",
|
||||||
|
"Albums": "Ama-albhamu"
|
||||||
|
}
|
||||||
|
@ -649,11 +649,6 @@ namespace MediaBrowser.MediaEncoding.Probing
|
|||||||
stream.IsAVC = false;
|
stream.IsAVC = false;
|
||||||
}
|
}
|
||||||
|
|
||||||
if (!string.IsNullOrWhiteSpace(streamInfo.FieldOrder) && !string.Equals(streamInfo.FieldOrder, "progressive", StringComparison.OrdinalIgnoreCase))
|
|
||||||
{
|
|
||||||
stream.IsInterlaced = true;
|
|
||||||
}
|
|
||||||
|
|
||||||
// Filter out junk
|
// Filter out junk
|
||||||
if (!string.IsNullOrWhiteSpace(streamInfo.CodecTagString) && !streamInfo.CodecTagString.Contains("[0]", StringComparison.OrdinalIgnoreCase))
|
if (!string.IsNullOrWhiteSpace(streamInfo.CodecTagString) && !streamInfo.CodecTagString.Contains("[0]", StringComparison.OrdinalIgnoreCase))
|
||||||
{
|
{
|
||||||
@ -725,6 +720,23 @@ namespace MediaBrowser.MediaEncoding.Probing
|
|||||||
stream.AverageFrameRate = GetFrameRate(streamInfo.AverageFrameRate);
|
stream.AverageFrameRate = GetFrameRate(streamInfo.AverageFrameRate);
|
||||||
stream.RealFrameRate = GetFrameRate(streamInfo.RFrameRate);
|
stream.RealFrameRate = GetFrameRate(streamInfo.RFrameRate);
|
||||||
|
|
||||||
|
// Some interlaced H.264 files in mp4 containers using MBAFF coding aren't flagged as being interlaced by FFprobe,
|
||||||
|
// so for H.264 files we also calculate the frame rate from the codec time base and check if it is double the reported
|
||||||
|
// frame rate (both rounded to the nearest integer) to determine if the file is interlaced
|
||||||
|
float roundedTimeBaseFPS = MathF.Round(1 / GetFrameRate(stream.CodecTimeBase) ?? 0);
|
||||||
|
float roundedDoubleFrameRate = MathF.Round(stream.AverageFrameRate * 2 ?? 0);
|
||||||
|
|
||||||
|
bool videoInterlaced = !string.IsNullOrWhiteSpace(streamInfo.FieldOrder)
|
||||||
|
&& !string.Equals(streamInfo.FieldOrder, "progressive", StringComparison.OrdinalIgnoreCase);
|
||||||
|
bool h264MbaffCoded = string.Equals(stream.Codec, "h264", StringComparison.OrdinalIgnoreCase)
|
||||||
|
&& string.IsNullOrWhiteSpace(streamInfo.FieldOrder)
|
||||||
|
&& roundedTimeBaseFPS == roundedDoubleFrameRate;
|
||||||
|
|
||||||
|
if (videoInterlaced || h264MbaffCoded)
|
||||||
|
{
|
||||||
|
stream.IsInterlaced = true;
|
||||||
|
}
|
||||||
|
|
||||||
if (isAudio
|
if (isAudio
|
||||||
|| string.Equals(stream.Codec, "mjpeg", StringComparison.OrdinalIgnoreCase)
|
|| string.Equals(stream.Codec, "mjpeg", StringComparison.OrdinalIgnoreCase)
|
||||||
|| string.Equals(stream.Codec, "gif", StringComparison.OrdinalIgnoreCase)
|
|| string.Equals(stream.Codec, "gif", StringComparison.OrdinalIgnoreCase)
|
||||||
|
Loading…
x
Reference in New Issue
Block a user