Archive:MPlayer: Difference between revisions

From Official Kodi Wiki
Jump to navigation Jump to search
>Slorv
>Slorv
Line 32: Line 32:
If you have playblack problems with media file is a a file-based video-file (like AVI, MKV, OGM or MPG, etc.) when using XBMC's MPlayer 'core' please follow these instructions before you [[HOW-TO Submit a Proper Bug Report|submit a bug-report to Team-XBMC and The XBMC Project]]:
If you have playblack problems with media file is a a file-based video-file (like AVI, MKV, OGM or MPG, etc.) when using XBMC's MPlayer 'core' please follow these instructions before you [[HOW-TO Submit a Proper Bug Report|submit a bug-report to Team-XBMC and The XBMC Project]]:
*First of all, if you have problem when playing a media file over the network or from the Xbox DVD-ROM drive (CD/DVD media), then you need to first test it from the Xbox's built-in harddisk-drive, so copy that exact same file to the Xbox's built-in harddisk-drive (via FTP or XBMC's File-Manager) and then try playing or viewing it from there, to see if the problem is the same when playing/viewing it from there as well or not, (this will narrow down the problem a lot when dealing with audio and video files that will not play over a network, which can often be a bandwidth or configuration error done by the user).
*First of all, if you have problem when playing a media file over the network or from the Xbox DVD-ROM drive (CD/DVD media), then you need to first test it from the Xbox's built-in harddisk-drive, so copy that exact same file to the Xbox's built-in harddisk-drive (via FTP or XBMC's File-Manager) and then try playing or viewing it from there, to see if the problem is the same when playing/viewing it from there as well or not, (this will narrow down the problem a lot when dealing with audio and video files that will not play over a network, which can often be a bandwidth or configuration error done by the user).
*Try to play the same file in [http://www.mplayerhq.hu/design7/dload.html MPlayer for Windows] on Windows-computer, (that is "MPlayer" from [http://www.mplayerhq.hu www.mplayerhq.hu] and not "Windows Media Player" from Microsoft that comes with Windows). You see, [[MPlayer|the main video-player in XBMC is a port of MPlayer]], which originally is a command-line based video-player for Linux and Windows), (XBMC uses this MPlayer 'core' to playback all video files, with the exception of DVD-Video movies which uses our own dedicated [[DVDPlayer]]). If your playback problem (bug) of your video-file can be seen in [http://www.mplayerhq.hu/design7/dload.html MPlayer for Windows] then the bug is with [http://www.mplayerhq.hu MPlayer] and not XBMC (or the XBMC port of MPlayer), thus you report this bug/issue/problem to the developers over at [http://www.mplayerhq.hu www.mplayerhq.hu] (instead of to Team-XBMC or The XBMC Project). The [http://www.mplayerhq.hu MPlayer] developers have their own [http://bugzilla.mplayerhq.hu bug-tracker] (they also use a [http://www.mplayerhq.hu/homepage/design6/info.html#mailing_lists dev mailing-list] instead of a forum, to which after you registered can send an e-mail to informing them about any bug-report you post on their bug-tracker), but before you post your bug-report to MPlayer's [http://bugzilla.mplayerhq.hu bug-tracker] or their mailing-list you must make sure you followed MPlayer's bug-reporting guide-lines in the [http://www.mplayerhq.hu/docs/html/en/bugreports.html MPlayer documentation]. '''Note!''' Please respect that it is not enough that you see the bug/issue/problem in XBMC, (in fact you should not even mention XBMC in a MPlayer bug-report!).
*Try to play the same file in [http://www.mplayerhq.hu/design7/dload.html MPlayer] on your computer, (that is "MPlayer" from [http://www.mplayerhq.hu www.mplayerhq.hu] and not "Windows Media Player" from Microsoft that comes with Windows). You see, [[MPlayer|the main video-player in XBMC is a port of MPlayer]], which originally is a command-line based video-player for Linux, OS-X and Windows), (XBMC uses this MPlayer 'core' to playback all video files, with the exception of DVD-Video movies which uses our own dedicated [[DVDPlayer]]). If your playback problem (bug) of your video-file can be seen in [http://www.mplayerhq.hu/design7/dload.html MPlayer] then the bug is with [http://www.mplayerhq.hu MPlayer] and not XBMC (or the XBMC port of MPlayer), thus you report this bug/issue/problem to the developers over at [http://www.mplayerhq.hu www.mplayerhq.hu] (instead of to Team-XBMC or The XBMC Project). The [http://www.mplayerhq.hu MPlayer] developers have their own [http://bugzilla.mplayerhq.hu bug-tracker] (they also use a [http://www.mplayerhq.hu/homepage/design6/info.html#mailing_lists dev mailing-list] instead of a forum, to which after you registered can send an e-mail to informing them about any bug-report you post on their bug-tracker), but before you post your bug-report to MPlayer's [http://bugzilla.mplayerhq.hu bug-tracker] or their mailing-list you must make sure you followed MPlayer's bug-reporting guide-lines in the [http://www.mplayerhq.hu/docs/html/en/bugreports.html MPlayer documentation]. '''Note!''' Please respect that it is not enough that you see the bug/issue/problem in XBMC, (in fact you should not even mention XBMC in a MPlayer bug-report!).
 
 


==Developers notes on MPlayer in XBMC==
==Developers notes on MPlayer in XBMC==
The main video-player in XBMC is a MinGW/MSYS-port of [http://www.mplayerhq.hu MPlayer] which is a command-line based video-player for Linux and OS-X (also Windows via MinGW/MSYS). It is compiled as one DLL (Dynamic Link Library) file and loaded as needed by XBMC.
The main video-player in XBMC is a MinGW/MSYS-port of [http://www.mplayerhq.hu MPlayer] which is a command-line based video-player for Linux and OS-X (also Windows via MinGW/MSYS). It is compiled as one DLL (Dynamic Link Library) file and loaded as needed by XBMC.

Revision as of 08:07, 1 October 2006

MPlayer introduction

The main video-player in XBMC is a port of MPlayer which is a command-line based video-player for Linux and Windows. (MPlayer uses FFmpeg (libavcodec) to decode most A/V codecs but currently has its own demuxers/splitters though the MPlayer projects are trying to move away from its own container demuxers/splitters and instead use FFmpeg libavformat to do it). MPlayer also functions as an audio-player in XBMC for those formats/codecs that PAPlayer can not handle, and all audio streamed from the internet.

Currently Supported Codecs

Please see MPlayer 1.0pre6

Additional Audio Codecs

Please see MPlayer 1.0pre6

Additional Video Codecs

Please see MPlayer 1.0pre6


Known Issues or Limitations

Known Bugs

The full official list/tracker of known bugs can be found at sourceforge.net

  • DVR-MS (Microsoft Windows Media Center container) playback, this was only partialy supported in the MPlayer 1.0pre6 demuxer/spliter. You have to wait until MPlayer 1.0pre8+ gets ported to XBMC, but even then playback might not be perfect (you may experince stutter, dropped-frames, audio and video out of sync, or get no audio or video at all). Any bugs will DVR-MS playback should first of all be reported to MPlayer, (see the "Troubleshooting and reporting bugs in MPlayer" section bellow).
  • RealNetworks RealVideo (RealMedia RM, RAM or RV) video files plays with audio out-of-sync. You have to wait until MPlayer 1.0pre8+ gets ported to XBMC, but even then playback might not be perfect (you may experince stutter, dropped-frames, audio and video out of sync, or get no audio or video at all). Any bugs will RealMedia playback should first of all be reported to MPlayer, (see the "Troubleshooting and reporting bugs in MPlayer" section bellow).


Unimplemented Features/Codecs

Respect that Team-XBMC developers do not do not add support of any codecs (or container formats) ourselves to XBMC. XBMC uses MPlayer as our main 'core' to play video/audio files and therefore XBMC only support those codecs which MPlayer can demux and decode, (well, most of the media codecs/formats that MPlayer supports anyway), and MPlayer in turn get most of its codec support from the FFmpeg codec-suit. Team-XBMC then tries to port over the latest stable point release of MPlayer (and FFmpeg) a couple of times each year to get support of the latest codecs that MPlayer (and FFmpeg) supports.

This is a list of (some of) the features/functions/codecs that works fine in latest [CVS of MPlayer for Linux/Windows but are as of yet unsupported in XBMC:

  • SSA and ASS subtitles with advanced layout and characters.
  • RTSP/RTP streaming support via the via LIVE555 library (formaly known as the LIVE.COM library).
  • RealNetworks RealVideo 10 (RV10) audio/video, this was only partialy supported in the MPlayer 1.0pre6 demuxer/spliter. You have to wait until MPlayer 1.0pre8+ gets ported to XBMC.

Please note that none of the features listed above are planned yet (so if you can program C/C++, please feel free to code and submit a patch.

Note! Any codec and/or format request(s) should be addressed to MPlayer (and FFmpeg), and not to Team-XBMC, please read this (link).

Troubleshooting and reporting bugs in MPlayer

If you have playblack problems with media file is a a file-based video-file (like AVI, MKV, OGM or MPG, etc.) when using XBMC's MPlayer 'core' please follow these instructions before you submit a bug-report to Team-XBMC and The XBMC Project:

  • First of all, if you have problem when playing a media file over the network or from the Xbox DVD-ROM drive (CD/DVD media), then you need to first test it from the Xbox's built-in harddisk-drive, so copy that exact same file to the Xbox's built-in harddisk-drive (via FTP or XBMC's File-Manager) and then try playing or viewing it from there, to see if the problem is the same when playing/viewing it from there as well or not, (this will narrow down the problem a lot when dealing with audio and video files that will not play over a network, which can often be a bandwidth or configuration error done by the user).
  • Try to play the same file in MPlayer on your computer, (that is "MPlayer" from www.mplayerhq.hu and not "Windows Media Player" from Microsoft that comes with Windows). You see, the main video-player in XBMC is a port of MPlayer, which originally is a command-line based video-player for Linux, OS-X and Windows), (XBMC uses this MPlayer 'core' to playback all video files, with the exception of DVD-Video movies which uses our own dedicated DVDPlayer). If your playback problem (bug) of your video-file can be seen in MPlayer then the bug is with MPlayer and not XBMC (or the XBMC port of MPlayer), thus you report this bug/issue/problem to the developers over at www.mplayerhq.hu (instead of to Team-XBMC or The XBMC Project). The MPlayer developers have their own bug-tracker (they also use a dev mailing-list instead of a forum, to which after you registered can send an e-mail to informing them about any bug-report you post on their bug-tracker), but before you post your bug-report to MPlayer's bug-tracker or their mailing-list you must make sure you followed MPlayer's bug-reporting guide-lines in the MPlayer documentation. Note! Please respect that it is not enough that you see the bug/issue/problem in XBMC, (in fact you should not even mention XBMC in a MPlayer bug-report!).

Developers notes on MPlayer in XBMC

The main video-player in XBMC is a MinGW/MSYS-port of MPlayer which is a command-line based video-player for Linux and OS-X (also Windows via MinGW/MSYS). It is compiled as one DLL (Dynamic Link Library) file and loaded as needed by XBMC.