View Single Post
Staro 09.01.2016., 01:14   #869
RimtuTiTuki
Premium
Moj komp
 
RimtuTiTuki's Avatar
 
Datum registracije: Sep 2006
Lokacija: Rijeka
Postovi: 1,629
Citiraj:
Autor Gabre Pregled postova
sad bi ti rekao, pa nisam od jucer
Možda, ali bi mogao pogledati link koji sam stavio...

3D detection

Kodi has three ways to detect whether a videofile is a 3D video. These methods are checked in the following order:

2.1 Embedded streaminfo

First, Kodi tries to detect the stereoscopic mode for a video when extracting streamdetails from the videofile.
One of the supported fields is the 'Stereomode' field in the Matroska specification: http://matroska.org/technical/specs/...tml#StereoMode

2.2 Manual selection

When playing a video, you can bring up the video settings dialog to manually select the stereoscopic mode.
If you've done this before, Kodi will remember this setting and use it as the second method to detect the stereoscopic mode of a videofile.

2.3 Video filenames flags

See also: Naming video files
The third and final method is detection through the filename of the video.
Kodi uses regular expressions to check for certain flags in the filename.
In order to properly detect the stereomode, two tags need to be present in the filename. First, a '3D' tag has to be present that matches the following regex: [-. _]3d[-. _]
In addition to this, either a 'SBS' tag [-. _]h?sbs[-. _] or a 'TAB' flag [-. _]h?tab[-. _] must be present in the filename.
You can customize these regular expressions through the Advancedsettings.xml file.

Regex matching is done case-insensitive, so for example either .3d. and .3D. will work.
Note: the tags need be be surrounded be either a hyphen -, space , dot . or underscore _.
RimtuTiTuki je offline