mirror of
https://github.com/jellyfin/jellyfin.git
synced 2024-09-06 11:34:57 +02:00
commit
58b51b6763
8 changed files with 23 additions and 2 deletions
|
@ -889,6 +889,10 @@ namespace MediaBrowser.Controller.Providers
|
|||
{
|
||||
video.Video3DFormat = Video3DFormat.FullSideBySide;
|
||||
}
|
||||
else if (string.Equals("MVC", val, StringComparison.OrdinalIgnoreCase))
|
||||
{
|
||||
video.Video3DFormat = Video3DFormat.MVC;
|
||||
}
|
||||
}
|
||||
break;
|
||||
}
|
||||
|
|
|
@ -736,6 +736,9 @@ namespace MediaBrowser.LocalMetadata.Savers
|
|||
case Video3DFormat.HalfTopAndBottom:
|
||||
builder.Append("<Format3D>HTAB</Format3D>");
|
||||
break;
|
||||
case Video3DFormat.MVC:
|
||||
builder.Append("<Format3D>MVC</Format3D>");
|
||||
break;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
|
@ -557,6 +557,8 @@ namespace MediaBrowser.MediaEncoding.Encoder
|
|||
vf = "crop=iw:ih/2:0:0,setdar=dar=a,crop=min(iw\\,ih*dar):min(ih\\,iw/dar):(iw-min(iw\\,iw*sar))/2:(ih - min (ih\\,ih/sar))/2,setsar=sar=1,scale=600:trunc(600/dar/2)*2";
|
||||
// ftab crop heigt in half, set the display aspect,crop out any black bars we may have made the scale width to 600
|
||||
break;
|
||||
default:
|
||||
break;
|
||||
}
|
||||
}
|
||||
|
||||
|
|
|
@ -6,6 +6,7 @@ namespace MediaBrowser.Model.Entities
|
|||
HalfSideBySide,
|
||||
FullSideBySide,
|
||||
FullTopAndBottom,
|
||||
HalfTopAndBottom
|
||||
HalfTopAndBottom,
|
||||
MVC
|
||||
}
|
||||
}
|
||||
|
|
|
@ -242,6 +242,10 @@ namespace MediaBrowser.Server.Implementations.Library.Resolvers
|
|||
{
|
||||
video.Video3DFormat = Video3DFormat.HalfTopAndBottom;
|
||||
}
|
||||
else if (string.Equals(format3D, "mvc", StringComparison.OrdinalIgnoreCase))
|
||||
{
|
||||
video.Video3DFormat = Video3DFormat.MVC;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
|
|
|
@ -1,5 +1,5 @@
|
|||
{
|
||||
"DbUpgradeMessage": "Please wait while your Emby Server database is upgraded. {0}% complete.",
|
||||
"DbUpgradeMessage": "Silahkan menunggu sementara database Emby Server anda diupgrade. {0}% selesai.",
|
||||
"AppDeviceValues": "App: {0}, Device: {1}",
|
||||
"UserDownloadingItemWithValues": "{0} is downloading {1}",
|
||||
"FolderTypeMixed": "Mixed content",
|
||||
|
|
|
@ -1173,6 +1173,10 @@ namespace MediaBrowser.XbmcMetadata.Parsers
|
|||
{
|
||||
video.Video3DFormat = Video3DFormat.FullSideBySide;
|
||||
}
|
||||
else if (string.Equals("MVC", val, StringComparison.OrdinalIgnoreCase))
|
||||
{
|
||||
video.Video3DFormat = Video3DFormat.MVC;
|
||||
}
|
||||
}
|
||||
break;
|
||||
}
|
||||
|
|
|
@ -404,6 +404,9 @@ namespace MediaBrowser.XbmcMetadata.Savers
|
|||
case Video3DFormat.HalfTopAndBottom:
|
||||
writer.WriteElementString("format3d", "HTAB");
|
||||
break;
|
||||
case Video3DFormat.MVC:
|
||||
writer.WriteElementString("format3d", "MVC");
|
||||
break;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue