Archive:MPlayer: Difference between revisions

From Official Kodi Wiki
Jump to navigation Jump to search
>Gamester17
No edit summary
>NedBot
m (moved MPlayer to Archive:MPlayer: Bot: Moved page)
 
(6 intermediate revisions by 5 users not shown)
Line 1: Line 1:
The main video-player in '''XBMC for Xbox''' is a port of [http://www.mplayerhq.hu MPlayer], which is a command-line based video-player for Linux. [http://www.mplayerhq.hu MPlayer] uses [http://ffmpeg.sourceforge.net FFmpeg (libavcodec)] to decode the video stream itself, but has its own demuxers/splitters for handling the file containers (examples of which are AVI, MOV, OGM, MKV, FLV, etc). MPlayer is however slowly moving towards replacing its custom demuxers/splitters with the ones from [http://ffmpeg.sourceforge.net FFmpeg]'s "libavformat" library so that the work of the two projects can be combined. MPlayer also plays all of the audio files that XBMC's [[PAPlayer]] audio-player can not handle on the Xbox, plus any audio streamed from the internet.
{{xbmc4xbox}}
 
Note! '''XBMC for Linux''', '''XBMC for Mac OS X''', and '''XBMC for Windows''' ports of XBMC do not use MPlayer, they instead use XBMC's in-house [[DVDPlayer]] video-player for all video playback.
 
 
==Currently Supported Codecs==
Please see [http://www.mplayerhq.hu/design7/news-archive.html MPlayer 1.0pre6]
===Additional Audio Codecs===
Please see [http://www.mplayerhq.hu/design7/news-archive.html MPlayer 1.0pre6]
===Additional Video Codecs===
Please see [http://www.mplayerhq.hu/design7/news-archive.html MPlayer 1.0pre6]
 
 
==Known Issues or Limitations==
===Known Bugs===
The full official list/tracker of known bugs can be found at [http://sourceforge.net/tracker/?atid=581838&group_id=87054&func=browse&_category=566353 sourceforge.net]
*DVR-MS (Microsoft Windows Media Center container) playback, this was only partialy supported in the MPlayer 1.0pre6 demuxer/splitter. You have to wait until MPlayer 1.0pre8+ gets ported to XBMC, but even then playback might not be perfect (you may experience 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 below).  A beta mplayer.dll that fixes crashing on resuming dvr-ms files and audio getting out of sync with video is available here: http://www.xboxmediacenter.com/forum/showpost.php?p=115524&postcount=153  It should be placed under E:\Dashboard\system\players\mplayer\mplayer.dll (this update also plays more .flv files than the current XBMC mplayer). Another mediator is to set the video cache to 256kb from the default of 4096kb to coincide with the default audio cache.
*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 experience 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 below).
 
===Unimplemented Features/Codecs===
Respect that [[Team_XBMC_and_Others|Team-XBMC]] developers do not do not add support of any codecs (or container formats) ourselves to XBMC. XBMC uses [http://www.mplayerhq.hu MPlayer] as our main 'core' to play video/audio files and therefore XBMC only support those codecs which [http://www.mplayerhq.hu MPlayer] can demux and decode, (well, most of the media codecs/formats that [http://www.mplayerhq.hu MPlayer] supports anyway), and [http://www.mplayerhq.hu MPlayer] in turn get most of its codec support from the [http://ffmpeg.sourceforge.net FFmpeg] codec-suit. [[Team_XBMC_and_Others|Team-XBMC]] then tries to port over the latest stable point release of [http://www.mplayerhq.hu MPlayer] (and [http://ffmpeg.sourceforge.net FFmpeg]) a couple of times each year to get support of the latest codecs that [http://www.mplayerhq.hu MPlayer] (and [http://ffmpeg.sourceforge.net FFmpeg]) supports.<br><br>
 
This is a list of (some of) the features/functions/codecs that works fine in latest [[http://www.mplayerhq.hu CVS of MPlayer for Linux/OS-X/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 [http://www.live555.com/mplayer/ 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.<br><br>
 
'''Note!''' Any [[Codec and Format requests|codec and/or format request(s)]] should be addressed to [http://www.mplayerhq.hu MPlayer] (and [http://ffmpeg.sourceforge.net FFmpeg]), and not to [[Team-XBMC]], please read [[Codec and Format requests|this (link)]].<br><br>
 
===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 [[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).
*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==
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.
[[category:Inner Workings]]

Latest revision as of 10:17, 11 December 2011

Attention.png XBMC for XBOX is not supported by xbmc anymore. Please check for updates on the related page at the xbmc4xbox wiki.