Video playback: Difference between revisions

From Official Kodi Wiki
Jump to navigation Jump to search
>Neeltje57
m (Started updating this one, added a few lines)
>Neeltje57
m (Some minor changes)
Line 2: Line 2:
__NOEDITSECTION__
__NOEDITSECTION__
__TOC__
__TOC__
==Introduction==
Videos is the component of XBMC that handles videos. To access Videos, select it from the Home screen. The pictures shown here on this page will differ from the ones you see at your own XBMC, depending on the content and features you use. Some of the key features of Videos are:
Videos is the component of XBMC that handles videos. To access Videos, select it from the Home screen. The pictures shown here on this page will differ from the ones you see at your own XBMC, depending on the content and features you use. Some of the key features of Videos are:
 
{|
[[image:Files.videos.thumbnails.WSCR.jpg|right|480px]]
| valign="top" |
 
==Videos Key Features==
==Videos Key Features==
*Support for a countless number of formats and codecs. You can find a full list in [[XBMC Features and Supported Formats/Codecs#Supported video codecs:]]
*Support for a countless number of formats and codecs. You can find a full list in [[XBMC Features and Supported Formats/Codecs#Supported video codecs:]]
Line 19: Line 19:
*DVD video playback, including the ability to play imaged DVDs (iso) over a network
*DVD video playback, including the ability to play imaged DVDs (iso) over a network
*A fully customizable view
*A fully customizable view
 
|
[[image:Files.videos.thumbnails.WSCR.jpg|right|480px]]
|}
==Using Videos==
==Using Videos==
You will find the interface of Videos as easy to operate as the rest of XBMC.
You will find the interface of Videos as easy to operate as the rest of XBMC.
Line 27: Line 29:
*[[My Videos Controller|XBOX Controller]]
*[[My Videos Controller|XBOX Controller]]
*[[XBOX DVD-Remote Video Controls|XBOX DVD-Remote]].
*[[XBOX DVD-Remote Video Controls|XBOX DVD-Remote]].
*[[Global Keyboard|Common Platform-Independent Keymapping]]


==OSD (On Screen Display)==
==OSD (On Screen Display)==
Line 43: Line 46:


==Sources for Videos==
==Sources for Videos==
:''See main article'': [[Media Sources]]
Sources are an important aspect of Videos. They allow you to easily access your videos from anywhere on your PC, Mac, Xbox or network.<br>
Sources are an important aspect of Videos. They allow you to easily access your videos from anywhere on your PC, Mac, Xbox or your network.<br>
XBMC gives you the ability to link to media sources that are for example:
XBMC gives you the ability to link to sources media that are for example:
*On your computer (on a local network) or a [[NAS (Network Attached Storage)]] device/system, which supports [[SMB]] sharing
*'''On your computer or a [[NAS (Network Attached Storage)]] device/system, which supports [[SMB]] sharing'''
*Stored directly on the hard drive of your PC, Mac or Xbox
*'''Stored directly on the hard drive of your PC, Mac or Xbox'''
*On CDs/DVDs in the PC, Mac or Xbox CD/DVD drive or even mounted on a CD/DVD drive on another PC, Mac or Xbox and than streamed over your network
*'''On CDs/DVDs in the PC, Mac or Xbox DVD drive or even mounted on another PC, Mac or Xbox and than streamed over your network'''
*Streamed from the Internet<br>
*'''Streamed from the Internet'''
 
For information on how to configure remote file shares, please click [[Configuring PC Shares|here]]
'''Note:''' For information on how to configure remote file shares, see [[Configuring PC Shares|Advanced Topics/Sharing Media From Your PC]]<br>
 
'''Note:''' For a complete list of available sources see main article [[Types of Media Sources]] .<br>


==Listing Modes available in Videos==
==Listing Modes available in Videos==
{|
{|
|
|
[[image:files.myvideos.jpg|360px]]
| valign="top" |
| valign="top" |
===Files View===
===Files View===
Files View is the most basic way of browing your videos. In Files View, you browse through your video sources folder by folder, in the exact same way that they are stored. What you see in Files View is the same as you would see if you were to browse the folders on your computer (but only the playable files as defined in advancedsettings.xml).<br>
Files View is the most basic way of browing your videos. In Files View, you browse through your video sources folder by folder, in the exact same way that they are stored. What you see in Files View is the same as you would see if you were to browse the folders on your PC, Mac or Xbox (but only the playable files as defined in advancedsettings.xml).<br>
XBMC also supports stacking of video filenames. Stacking means that if you have multiple video files for one movie (usually VCDs or SVCDs) XBMC will display them as only '''one file'''. For more information on this feature, see [[Stacking]].
XBMC also supports stacking of video filenames. Stacking means that if you have multiple video files for one movie (usually VCDs or SVCDs) XBMC will display them as only '''one file'''. For more information on this feature, see [[Stacking]].
|
|[[image:files.myvideos.jpg|360px]]
|}
|}
{|
{|
Line 70: Line 76:
{|
{|
| valign="top" |
| valign="top" |
:''See main article'': [[Video Library]]
The Library Mode is much more advanced and has many more features than Files Mode. In order to utilize Library Mode, you first need to scan your videos into the Video Library using [[Videos Navigation and Control#The Context Menu|The Context Menu]]. Be patient, as this can take quite a while if you have a large video collection.<br>
The Library Mode is much more advanced and has many more features than Files Mode. In order to utilize Library Mode, you first need to scan your videos into the Video Library using [[Videos Navigation and Control#The Context Menu|The Context Menu]]. Be patient, as this can take quite a while if you have a large video collection.  
 
'''Note:''' See main article [[Video Library]].  
|
|
[[image:Library.videos.WSCR.jpg|right|360px]]
[[image:Library.videos.WSCR.jpg|right|360px]]
Line 77: Line 84:


==Thumbnails==
==Thumbnails==
:''See main article'': [[Thumbnails#Wide Icons|Thumbnails]]
''See main article'': [[Thumbnails#Wide Icons|Thumbnails]]
{|
{|
| valign="top" |
| valign="top" |
Line 87: Line 94:
'''Examples:'''<br>
'''Examples:'''<br>
In the following example moviename.avi will now use the thumbnail moviename.tbn.
In the following example moviename.avi will now use the thumbnail moviename.tbn.
Movies\path\'''moviename.avi'''
  Movies\path\'''moviename.avi'''
Movies\path\'''moviename.tbn'''
  Movies\path\'''moviename.tbn'''
<br>
<br>
The same goes for playlists, and [[HOW-TO:_Play_Internet_Streams|internet-stream files]], example:
The same goes for playlists, and [[HOW-TO:_Play_Internet_Streams|internet-stream files]], example:
Line 94: Line 101:
[[image:files.myvideos.jpg||right|360px]]
[[image:files.myvideos.jpg||right|360px]]
|}
|}
 
  Movies\path\'''videoplaylistname.pls'''
Movies\path\'''videoplaylistname.pls'''
  Movies\path\'''videoplaylistname.tbn'''
Movies\path\'''videoplaylistname.tbn'''
  Movies\path\'''videostreamname.strm'''
Movies\path\'''videostreamname.strm'''
  Movies\path\'''videostreamname.tbn'''
Movies\path\'''videostreamname.tbn'''


If you store each of your movies in a separate subfolder to keep things organized, you can also make the movie folder have a custom thumbnail image. To do this you either need to save your .JPG/.PNG thumbnail as folder.jpg and place it in your movie folder, or you can save it as <foldername>.tbn and place it inside the same folder where your folder is located (XBMC first checks for <foldername>.tbn before checking for folder.jpg).<br>
If you store each of your movies in a separate subfolder to keep things organized, you can also make the movie folder have a custom thumbnail image. To do this you either need to save your .JPG/.PNG thumbnail as folder.jpg and place it in your movie folder, or you can save it as <foldername>.tbn and place it inside the same folder where your folder is located (XBMC first checks for <foldername>.tbn before checking for folder.jpg).<br>


'''Example:'''<br>
'''Example:'''<br>
Movies\path\moviename\'''folder.jpg'''
  Movies\path\moviename\'''folder.jpg'''
or
or
Movies\path\'''foldername'''\
  Movies\path\'''foldername'''\
Movies\path\'''foldername.tbn'''
  Movies\path\'''foldername.tbn'''


Now your movie folder will have a lovely custom thumbnail image icon.
Now your movie folder will have a lovely custom thumbnail image icon.
Line 119: Line 125:
Note that this will save *all* settings from this page as the default for all movies, not just the subtitle option.
Note that this will save *all* settings from this page as the default for all movies, not just the subtitle option.


'''Note!''' External stand-alone subtitle files are not yet supported for DVD-Video movies.
'''Note:''' External stand-alone subtitle files are not yet supported for DVD-Video movies.


To use stand-alone subtitle files with video files, put them in the same folder as the video file or alternatively go to the [[Videos Settings#Subtitles|Subtitles Settings]] and set a Custom Subtitle Directory. You can also choose to manually browse for the subtitle file via the [[My_Videos#OSD_.28On_Screen_Display.29|OSD (On Screen Display)]] [[Audio and Subtitle Settings]]. You can configure the way that they are displayed through the [[Videos Settings#Subtitles|Subtitles Settings]], and you can adjust where they are displayed onscreen through the [[Video Calibration|Video Calibration Screen]].
To use stand-alone subtitle files with video files, put them in the same folder as the video file or alternatively go to the [[Videos Settings#Subtitles|Subtitles Settings]] and set a Custom Subtitle Directory. You can also choose to manually browse for the subtitle file via the [[My_Videos#OSD_.28On_Screen_Display.29|OSD (On Screen Display)]] [[Audio and Subtitle Settings]]. You can configure the way that they are displayed through the [[Videos Settings#Subtitles|Subtitles Settings]], and you can adjust where they are displayed onscreen through the [[Video Calibration|Video Calibration Screen]].


The subtitle and video files must have the same name, for example:
The subtitle and video files must have the same name, for example:
'''Video File:''' The Matrix.avi
  '''Video File:''' The Matrix.avi
'''Subtitle:''' The Matrix.srt
  '''Subtitle:''' The Matrix.srt


===Supported Subtitle Formats===
===Supported Subtitle Formats===
Line 135: Line 141:
===Compressed Subtitles===
===Compressed Subtitles===
XBMC also supports compressed VobSub subtitles. Please note that the subtitles inside the [http://en.wikipedia.org/wiki/Rar RAR] archive still need to have the same name as the video file.
XBMC also supports compressed VobSub subtitles. Please note that the subtitles inside the [http://en.wikipedia.org/wiki/Rar RAR] archive still need to have the same name as the video file.
'''Video File:''' The Matrix.avi
  '''Video File:''' The Matrix.avi
'''Subtitle:''' The Matrix.rar  
  '''Subtitle:''' The Matrix.rar  
:Where The Matrix.rar containins the VobSub-file ''The Matrix.sub'' and the ''The Matrix.idx'' VobSub index-file that has been compressed with [http://en.wikipedia.org/wiki/Rar RAR].
Where The Matrix.rar containins the VobSub-file ''The Matrix.sub'' and the ''The Matrix.idx'' VobSub index-file that has been compressed with [http://en.wikipedia.org/wiki/Rar RAR].
If you want XBMC to automatically turn on packed subtitles, you have to turn on the '''Search for Subtitles in RARs''' option in [[My_Videos_Settings#Subtitles|Subtitles Settings]].
If you want XBMC to automatically turn on packed subtitles, you have to turn on the '''Search for Subtitles in RARs''' option in [[My_Videos_Settings#Subtitles|Subtitles Settings]].


Line 145: Line 151:
To use this functionality you need to rename the video file and subtitle files as follows:
To use this functionality you need to rename the video file and subtitle files as follows:


'''Video File:''' The Matrix.avi
  '''Video File:''' The Matrix.avi
'''Subtitle 1:''' The Matrix.English.srt
  '''Subtitle 1:''' The Matrix.English.srt
'''Subtitle 2:''' The Matrix.French.srt
  '''Subtitle 2:''' The Matrix.French.srt
'''Subtitle 3:''' The Matrix.German.srt
  '''Subtitle 3:''' The Matrix.German.srt


The dot after the filename but before the extension specifies the language (you can use anything here, mix numbers and and letters or just use one or the other).
The dot after the filename but before the extension specifies the language (you can use anything here, mix numbers and and letters or just use one or the other).
Line 155: Line 161:
You can even mix subtitle formats, eg:
You can even mix subtitle formats, eg:


'''Video File:''' Movie Name (2006).avi
  '''Video File:''' Movie Name (2006).avi
'''Subtitle 1:''' Movie Name (2006).Chinese.idx
  '''Subtitle 1:''' Movie Name (2006).Chinese.idx
'''Subtitle 1:''' Movie Name (2006).Chinese.sub
  '''Subtitle 1:''' Movie Name (2006).Chinese.sub
'''Subtitle 2:''' Movie Name (2006).Japanese.idx
  '''Subtitle 2:''' Movie Name (2006).Japanese.idx
'''Subtitle 2:''' Movie Name (2006).Japanese.sub
  '''Subtitle 2:''' Movie Name (2006).Japanese.sub
'''Subtitle 3:''' Movie Name (2006).English.srt
  '''Subtitle 3:''' Movie Name (2006).English.srt
'''Subtitle 4:''' Movie Name (2006).French.smi
  '''Subtitle 4:''' Movie Name (2006).French.smi
'''Subtitle 5:''' Movie Name (2006).German.ssa
  '''Subtitle 5:''' Movie Name (2006).German.ssa


===Adjusting Subtitles Position===
===Adjusting Subtitles Position===
The position of the subtitles can be adjusted vertically (but not horizontally) in the [[Video Calibration]] screen, you can also configure the way that they are displayed though the [[My_Videos_Settings#Subtitles|Subtitles Settings]].<br>
The position of the subtitles can be adjusted vertically (but not horizontally) in the [[Video Calibration]] screen, you can also configure the way that they are displayed though the [[My_Videos_Settings#Subtitles|Subtitles Settings]].<br>
'''Note!''' This does not apply to DVD subtitles as the DVD itself defines their location.
'''Note:''' This does not apply to DVD subtitles as the DVD itself defines their location.


===Changing Subtitle Settings During Playback===
===Changing Subtitle Settings During Playback===

Revision as of 16:54, 4 May 2009

Template:XBMC wiki toc Inline

Introduction

Videos is the component of XBMC that handles videos. To access Videos, select it from the Home screen. The pictures shown here on this page will differ from the ones you see at your own XBMC, depending on the content and features you use. Some of the key features of Videos are:

Videos Key Features

Files.videos.thumbnails.WSCR.jpg

Using Videos

You will find the interface of Videos as easy to operate as the rest of XBMC.

Here you can see the default keymapping for:

OSD (On Screen Display)

OSD.videos.PM3HD.png

The majority of the video functions can be controlled through the OSD (On Screen Display). The OSD from the PM3.HD skin is pictured to the left and is available while playing videos in fullscreen mode.

The Buttons on the OSD are as follows:

  1. Audio and Subtitle Settings
  2. Video Settings
  3. Stop
  4. Video Bookmarks - For storing and retrieving location bookmarks in your video files

Sources for Videos

Sources are an important aspect of Videos. They allow you to easily access your videos from anywhere on your PC, Mac, Xbox or network.
XBMC gives you the ability to link to media sources that are for example:

  • On your computer (on a local network) or a NAS (Network Attached Storage) device/system, which supports SMB sharing
  • Stored directly on the hard drive of your PC, Mac or Xbox
  • On CDs/DVDs in the PC, Mac or Xbox CD/DVD drive or even mounted on a CD/DVD drive on another PC, Mac or Xbox and than streamed over your network
  • Streamed from the Internet

Note: For information on how to configure remote file shares, see Advanced Topics/Sharing Media From Your PC

Note: For a complete list of available sources see main article Types of Media Sources .

Listing Modes available in Videos

Files View

Files View is the most basic way of browing your videos. In Files View, you browse through your video sources folder by folder, in the exact same way that they are stored. What you see in Files View is the same as you would see if you were to browse the folders on your PC, Mac or Xbox (but only the playable files as defined in advancedsettings.xml).
XBMC also supports stacking of video filenames. Stacking means that if you have multiple video files for one movie (usually VCDs or SVCDs) XBMC will display them as only one file. For more information on this feature, see Stacking.

Files.myvideos.jpg


Library Mode

The Library Mode is much more advanced and has many more features than Files Mode. In order to utilize Library Mode, you first need to scan your videos into the Video Library using The Context Menu. Be patient, as this can take quite a while if you have a large video collection.

Note: See main article Video Library.

Library.videos.WSCR.jpg

Thumbnails

See main article: Thumbnails

There are a number of ways to get thumbnails to display in Videos.
One is described in the IMDB (Internet Movie Database) section.
If you want a custom thumbnail, or just don't want to use the IMDB feature, you can add a .tbn file to your movie directory. The .tbn file can be either a .JPG or a .PNG file (with transparency) and you simply have to rename the extension from .jpg/.png to .tbn.
The size of the picture can be anything from 64x64 to 256x256 in pixel-size (you may want to use a larger pixel-size if you use XBMC in 720p/1080i HDTV resolution to get a sharper image).

Examples:
In the following example moviename.avi will now use the thumbnail moviename.tbn.

 Movies\path\moviename.avi
 Movies\path\moviename.tbn


The same goes for playlists, and internet-stream files, example:

Files.myvideos.jpg
 Movies\path\videoplaylistname.pls
 Movies\path\videoplaylistname.tbn
 Movies\path\videostreamname.strm
 Movies\path\videostreamname.tbn

If you store each of your movies in a separate subfolder to keep things organized, you can also make the movie folder have a custom thumbnail image. To do this you either need to save your .JPG/.PNG thumbnail as folder.jpg and place it in your movie folder, or you can save it as <foldername>.tbn and place it inside the same folder where your folder is located (XBMC first checks for <foldername>.tbn before checking for folder.jpg).

Example:

 Movies\path\moviename\folder.jpg

or

 Movies\path\foldername\
 Movies\path\foldername.tbn

Now your movie folder will have a lovely custom thumbnail image icon.

Subtitles

XBMC supports both stand-alone subtitle files, as well as some subtitles that are embedded into the video-file (as is the case when watching DVD-Video movies). Embedded VobSub subtitles, also known as DirectVobSub, inside AVI, OGM, MKV, or MP4 are however not supported yet.

By default subtitles are turned on, and can be turned ON/OFF manually from the On Screen Display (OSD).

There is no global ON/OFF setting for subtitles, as this setting is stored on a per-video basis, but you can quickly set the setting on all videos by manually changing it using the OSD, then hitting "Set as default for all movies".

Note that this will save *all* settings from this page as the default for all movies, not just the subtitle option.

Note: External stand-alone subtitle files are not yet supported for DVD-Video movies.

To use stand-alone subtitle files with video files, put them in the same folder as the video file or alternatively go to the Subtitles Settings and set a Custom Subtitle Directory. You can also choose to manually browse for the subtitle file via the OSD (On Screen Display) Audio and Subtitle Settings. You can configure the way that they are displayed through the Subtitles Settings, and you can adjust where they are displayed onscreen through the Video Calibration Screen.

The subtitle and video files must have the same name, for example:

 Video File: The Matrix.avi
 Subtitle: The Matrix.srt

Supported Subtitle Formats

  • AQT, JSS, MicroDVD, MPL, RT, SMI, SRT, SUB, TXT and VobSub (idx + sub), VPlayer subtitle formats.
  • There is partial support for SSA and ASS formats. See more here.

It is also possible to use flipped (bi-directional) subtitles. This means that the subtitles will be displayed from right to left instead of left to right. To enable this Enable Flipping Bi-Direction Strings in Subtitles Settings. This option is used for subtitles in Semic languages (Arabic, Hebrew, Farsi..., etc.).

Compressed Subtitles

XBMC also supports compressed VobSub subtitles. Please note that the subtitles inside the RAR archive still need to have the same name as the video file.

 Video File: The Matrix.avi
 Subtitle: The Matrix.rar 

Where The Matrix.rar containins the VobSub-file The Matrix.sub and the The Matrix.idx VobSub index-file that has been compressed with RAR. If you want XBMC to automatically turn on packed subtitles, you have to turn on the Search for Subtitles in RARs option in Subtitles Settings.

Using Multi Language Subtitles

XBMC supports the use of more than one external subtitle. This of course is most useful when you have more than one subtitle file, (eg. for more than language).

To use this functionality you need to rename the video file and subtitle files as follows:

 Video File: The Matrix.avi
 Subtitle 1: The Matrix.English.srt
 Subtitle 2: The Matrix.French.srt
 Subtitle 3: The Matrix.German.srt

The dot after the filename but before the extension specifies the language (you can use anything here, mix numbers and and letters or just use one or the other).

You can even mix subtitle formats, eg:

 Video File: Movie Name (2006).avi
 Subtitle 1: Movie Name (2006).Chinese.idx
 Subtitle 1: Movie Name (2006).Chinese.sub
 Subtitle 2: Movie Name (2006).Japanese.idx
 Subtitle 2: Movie Name (2006).Japanese.sub
 Subtitle 3: Movie Name (2006).English.srt
 Subtitle 4: Movie Name (2006).French.smi
 Subtitle 5: Movie Name (2006).German.ssa

Adjusting Subtitles Position

The position of the subtitles can be adjusted vertically (but not horizontally) in the Video Calibration screen, you can also configure the way that they are displayed though the Subtitles Settings.
Note: This does not apply to DVD subtitles as the DVD itself defines their location.

Changing Subtitle Settings During Playback

Various subtitle settings can be changed or they turned On/Off via the OSD (On Screen Display) while watching a movie.