InflatableMouse-temp: Difference between revisions

From wiki.jriver.com
Jump to navigation Jump to search
No edit summary
No edit summary
 
(75 intermediate revisions by 2 users not shown)
Line 1: Line 1:
This document will guide you through the process of installing and configuring MediaCenter for Linux. You are advised to read through the document before installing MediaCenter. It assumes some basic knowledge of Linux in general and familiarity working from a terminal. It also assumes an installation on 64-bit distribution as that will most likely be the target system. Installation on a 32-bit system will be very similar and, where applicable, notes will clarify the differences.
This is InflatableMouse' scratch page.
----
Note: this page is not done yet!
__TOC__
==Overview==


Throughout this document you are required to run certain commands in a terminal, sometimes with root permissions. Whether you do that as root itself or using temporarily elevated permissions through sudo is up to you. This document will precede each command with a # or $ sign, signifying whether the command needs to run as root (#) or as a regular user ($). Unless you changed your terminal prompt, it will show this same symbol for root (#) or user ($) on its prompt. You should not include this symbol in your command, it only signifies how the command should be run.
===What is madVR?===
madVR is an advanced video renderer written by Mathias Rauen, which leverages the power of your graphics card (hereby referred to as “GPU”) for advanced video scaling and processing.
Just some of the advanced features that madVR offers include: high precision YUV>RGB conversion, inverse-telecine with decimation to extract 24p from a 29fps source; frame blending to play back video smoothly regardless of the source framerate and your refresh rate; colorspace transformations and 3DLUT calibration.


{{Related articles start}}
===How do I use madVR?===
{{Related|Installation & Removal}}
In JRiver Media Center, madVR is activated by changing the video mode from Red October Standard to Red October HQ.
{{Related|Getting Started}}
{{Related|Trial Information}}
{{Related|http://www.jriver.com/purchase.html Purchase and License Information}}
{{Related articles end}}


== Before you begin ==
<span style="color: brown;">Tools → Options → Video → General Video Settings → Video Mode: Red October HQ</span>
MediaCenter is in beta and is under heavy development. As such, it may not work as expected. Although it is considered to be stable enough for regular use it may still show unexpected behavior such as crashes or random refusals to play a track. Please make sure you read through the list of [http://yabb.jriver.com/interact/index.php?topic=85770.0 Outstanding issues].


It is strongly advised to make regular backups of your media. There have been no reports of MediaCenter for Linux messing up tags or otherwise corrupting files, but it is still in beta - consider yourself warned. You can configure MediaCenter to not update tags at all, it will only read from your files but that does not negate the fact that you should always have backups.
The next time you play a video, Media Center will download the required files for the plugin to work.


It is also a good idea to read through the [http://yabb.jriver.com/interact/index.php?board=35.0 sticky threads on the forums], too.
{| style="width: 100%; border-spacing: 0; border: 0px solid black;" align="top" cellpadding="3" cellspacing="0"
! scope="row" style="background: #ecedf3; color: #111; border-style: solid; border-width: 2px solid #bbb;" width="100" | Important Note by JRiver -- Nothing further is required in order to enjoy the benefits of madVR. The following instructions should be considered for expert level users only.
|}


=== System requirements ===
==Configuring madVR==
MediaCenter is being developed on Debian Wheezy 32-bit, x86 architecture. It will run on multiarch distributions (64-bit with 32-bit libraries) once the proper 32-bit dependencies are satisfied. See DEPENDENCIES for more information.
madVR has a lot of options, which can be confusing for new users.
It can also be quite demanding of your hardware in its default configuration. Unlike most HTPC tasks, madVR uses your GPU to handle its advanced scaling and image processing, and that is often a component that people do not consider when building a HTPC.


MediaCenter requires a CPU that supports SSE2. This means the CPU needs to be from around 2002 or later.
<span style="color: red;"><b><i>To access the madVR configuration</i></b></span>, you need to start playing a video (I would then recommend pausing it) right-click anywhere on the screen, and go to:


==== Hardware Requirements (Minimum) ====
<span style="color: brown;">DirectShow Filters → madVR</span>
* Intel or AMD x86 Compatible CPU with SSE2
* 2GB RAM
* 300MB free hard drive space for installation (excluding space for digital media)
* Sound device supported by ALSA
* Internet connection (recommended)


==== Software Requirements ====
The first section to configure is <b><u>Devices</u></b>.
Official Support:
[[File:01-devices-display5lurz.png|none|frame|Configure Devices in MadVR Settings]]
* Debian Wheezy or a similar distribution based on Debian
* Working Xorg - see [[#Headless|Running MC Headless]] for a minimal installation. GUIfied - MediaCenter should work on any desktop. Its confirmed to work on XFCE, Unity, KDE, Gnome and Cinnamon. MATE and others are untested (try searching [http://yabb.jriver.com/interact/index.php?board=35.0 Interact]). If you know one that works or how to get it working, you are invited to share this on [http://yabb.jriver.com/interact/index.php?board=35.0 Interact].
* Working ALSA sound stack


MediaCenter requires:
There may be a few devices already listed here even if you have not used madVR before, as the build Media Center downloads has some pre-configured. You can simply right-click and delete them—but leave the entry for your display.
* X86 (32-bit)
You can select what type of device is connected in this tab, but it doesnʼt affect anything other than the icon displayed.
* SSE2
* libc6 >= 2.13
* libX11-6 >= 2.1.5
* libcurl3 >= 7.26
* lame >= 3.99
* xfonts-75dpi
* xfonts-100dpi
* An ALSA device that supports S32_LE
* On multiarch/multilib systems, all libraries MediaCenter depend on need to be 32-bit.


MediaCenter is known to work on recent versions of Mint, Ubuntu, OpenSuse, Fedora and Arch Linux. However, this is considered experimental and is not guaranteed to work. If you intent to run MediaCenter on such a distribution, you are strongly encouraged to share your experience on [http://yabb.jriver.com/interact/index.php?board=35.0 Interact].
Below that is the Identification section, but there is nothing to configure there—it just gives you some additional information based on your displayʼs EDID data.


=== Limitations ===
Next is the <b><u>Properties Tab</u></b>.
* Although Linux can run on architectures other than x86 (like ARM or PowerPC for instance), MediaCenter does not run on architectures other than i386 or x86_64.
[[File:02-propertiesa4ux8.png|none|frame|Properties tab in MadVR Settings]]
* OSS and Pulse are currently not supported by MediaCenter. It may work with Pulse, but it is currently unsupported.
* MediaCenter can run in server mode on a headless server, but it requires an Xserver running. See [[#Headless|Running MC Headless]] for more information.
* MediaCenter can run on bleeding edge distributions like Arch Linux. However it is built on Debian Wheezy, so some of the libraries it depends on are older versions not included or compatible with the versions used on bleeding edge distributions. The [[#Troubleshooting|Troubleshooting]] section may contain some tips to get it working.


=== Dependencies ===
This allows you to set the levels madVR will output to Windows, and the level of dithering used.
To successfully install MediaCenter, you need to make sure that the following depencies are installed. Installation on a 64-bit system requires multiarch to be enabled for 32-bit compatibility.


To enable multiarch on a 64-bit system, type the following in a terminal:
Regardless of what your display accepts, whether it is 16–235 or 0–255, it should be left at 0–255 to avoid having the image appear “washed out”.
Typically if you need to send 16–235 to a display, you will use the video card output to set that, not the video renderer.


<pre>
And unless you specifically know that your display is using less than 8-bit natively, you should leave that option at 8-bit. Reducing it increases the amount of dithering (noise) madVR will add to the image.
# dpkg --add-architecture i386
</pre>


This command require you update. Type:
===Calibration===
[[File:03-calibrationoluk8.png|none|frame|Calibration tab in MadVR Settings]]


<pre>
madVR has a number of advanced calibration options, but I will not be going over them in detail in this guide—calibration could have a whole guide written about it alone.
# apt-get update && apt-get upgrade
</pre>


If you had not updated in a while, you may get a lot of new packages. Read the output carefully. If it says certain packages are held-back, cancel using CTRL-C and issue the following command instead:
Unless you are looking to use the more advanced calibration features of madVR, it is generally best to leave it configured as shown above.
With HD content these settings mean that color should look the same as other video renderers, but with SD video, it allows madVR to perform the colorspace transformations required for SMPTE-C and EBU/PAL content.
These colorspace transformations require a small amount of GPU power, so if your computer is really struggling to play back video smoothly in madVR, it will have to be disabled.


<pre>
The yCMS and 3DLUT options are a lot more complicated to use, and are also more demanding of your GPU.
# apt-get update && apt-get dist-upgrade
</pre>


You should reboot your system when it is done, unless it didn't update anything of course.
===Display Modes===
[[File:Refresh-rates1oj0c.png|none|frame|Display Modes tab in MadVR Settings]]


Next we are going to install the following packages and libraries:
madVR includes a display mode switcher for automatic resolution and refresh rate changing.


Most people will be using madVR to handle video scaling, so it will only be used to change refresh rates.
These are simply entered using comma separated values. Be sure that your display actually supports the resolutions you have selected. I would suggest that you try switching to them via your graphics cardʼs control panel first.


* lame
The treat 25p movies as 24p (requires Reclock) option is useful for those of us with PAL film-based content (typically DVDs) as it allows either ReClock or JRiverʼs VideoClock (the text needs updated) to play back PAL content at the original 24p speed, rather than being sped-up to 25fps.
* musepack-tools
All this option does is tell madVR to switch to the best display mode for 24p when you are playing back 25p content—how that is handled is up to the player. (which is fine if you are using ReClock/VideoClock)
* xfonts-75dpi
* xfonts-100dpi
* vorbis-tools


* libcurl3:i386
madVRʼs display mode switcher is a bit more advanced than Media Centerʼs switcher right now, so I would recommend using it instead. With IVTC content (which I will detail later) it switches the display to 24p, whereas JRiverʼs switcher does not.
* libx11-6:i386
* lib32stdc++6
* libmpcdec6:i386
* libc6:i386
* libstdc++6:i386
* libcrypto++9:i386
* libasound2:i386
* libuuid1:i386
* libboost-regex1.49.0:i386
* libicu48:i386


Note: On a 32-bit system, you can install the same libraries by removing ':i386' part.
<span style="color: blue;"><b><i>Updated 13/06/2013:</i></b></span> There is an issue with Windows 8 where most video cards will switch to 23Hz and 59Hz when an application tries to set the refresh rate to 24Hz or 60Hz. madVR 0.86.3 fixes this problem. Media Center's switcher currently does not, and will switch to 23/59Hz rather than 24/60Hz as specified.


Unless you're installing on a fresh system you probably have some of these installed already. This doesn't matter as Aptitude will simply skip packages that are already installed. You can install all of them at once by issuing the following command with root privileges from a terminal:
===Color & Gamma===


<pre>
[[File:05-color-gammatcusb.png|none|frame|Color & Gamma tab in MadVR Settings]]
# apt-get install lame musepack-tools xfonts-75dpi xfonts-100dpi vorbis-tools libcurl3:i386 libx11-6:i386 lib32stdc++6 libmpcdec6:i386 \
bc6:i386 libstdc++6:i386 libx11-6:i386 libcrypto++9:i386 libasound2:i386 libuuid1:i386 libboost-regex1.49.0:i386 libicu48:i386
</pre>


Or, on a 32-bit system (REQUIRES CONFIRMATION):
This section allows you to perform simple color & gamma adjustments to any video being rendered by madVR.
It is probably best that these are left alone for most users.


<pre>
===Decoding===
# apt-get install lame musepack-tools xfonts-75dpi xfonts-100dpi vorbis-tools libcurl3 libx11-6 libstdc++6 libmpcdec6 bc6 libstdc++6 \
libx11-6 libcrypto++9 libasound2 libuuid1 libboost-regex1.49.0 libicu48
</pre>


Carefully read the output and make sure no packages are being removed.
[[File:06-decoding9auj1.png|none|frame|Color & Gamma tab in MadVR Settings]]


Installing these packages and libraries do not require a reboot. Other packages these might pull in may require a reboot so to be sure, reboot your system afterwards.
madVR has the option to handle video decoding itself. I recommend leaving that up to your player though. Media Center uses LAV Video for decoding.


On a fresh install the CD or DVD from which the system was installed might have been added to the sources.list as an available source for packages. It is advised you remove this and use online repositories instead. To do this, edit /etc/apt/sources.list and remove any lines starting with "deb cdrom:". First, make a backup of the current file:
In Media Center, under Tools → Options → Video there is an option to use hardware accelerated video decoding, which I recommend trying if you are having difficulty playing videos, or want to reduce power consumption during media playback.


<pre>
<span style="color: blue;"><b><i>Updated 13/06/2013:</i></b></span> Media Center now uses LAV's DXVA2 Copy-Back decoding with Nvidia cards, so no further configuration is necessary when using hardware acceleration.
# cp /etc/apt/sources.list{,.bak}
</pre>


Open the file in nano:
===Deinterlacing===


<pre>
The deinterlacing options in madVR are very specific to the types of content that you watch, so it is difficult to make recommendations.
# nano /etc/apt/sources.list
</pre>


Remove the lines, or comment them out, for example:
In my case, I have a lot of interlaced PAL DVDs, which are often misidentified as being Video-Type content rather than Film-Type content, so forcing film mode works best for me.
Film mode will activate IVTC for interlaced video if madVR detects that it is natively 24/25p content, regardless of the source framerate. (e.g. 24p in a 29fps file)
You can always override the deinterlacing mode used either by adding deint=on/off/video/film/ivtc to the filename, or switch modes at any time by pressing Ctrl+Alt+Shift+T when a video is playing.


<pre>
The one recommendation I will make, is to leave the only look at pixels in the frame center option enabled—I have have problems with cadence detection not working correctly when this is off.
# deb cdrom:[Debian GNU/Linux 7 _Wheezy_ - Official Snapshot i386 LIVE/INSTALL Binary 20131014-03:33]/ wheezy main


deb cdrom:[Debian GNU/Linux 7 _Wheezy_ - Official Snapshot i386 LIVE/INSTALL Binary 20131014-03:33]/ wheezy main
===Scaling Algorithms===
</pre>


=== Downloading MediaCenter ===
Image scaling is one of the main reasons to use madVR. It offers very high quality scaling options that rival or best anything I have seen.


The latest version of MediaCenter for Linux should be downloaded, this version can be found in one of the stickies on [http://yabb.jriver.com/interact/index.php?board=35.0 Interact]. You can download it from your browser to ~/Downloads, or use the terminal issuing the following command (replace the version/build number with the latest found on the Linux board above):
Most video is stored using [http://en.wikipedia.org/wiki/Chroma_subsampling#How_subsampling_works chroma subsampling] in a 4:2:0 video format.
In simple terms, what this means is that the video is basically stored as a black-and-white “detail” image (luma) with a lower resolution “color” image (chroma) layered on top.
This works because the detail image helps to mask the low resolution of the color image that is being layered on top.


<pre>
So the scaling options in madVR are broken down into three different categories:
$ cd ~/Downloads && wget http://files.jriver.com/mediacenter/channels/v19/latest/MediaCenter-19.0.103.deb
<b>Chroma Upscaling</b>, which is the color layer.
</pre>
<b>Image Upscaling</b>, which is the detail (luma) layer.
<b>Image downscaling</b>, which only applies when the image is being displayed at a lower resolution than the source—1080p content on a 720p display, or in a window on a 1080p display for example.


Obviously, the directory Downloads should exist under your home directory ;).
Chroma upscaling is performed on all videos—it takes the quarter resolution chroma image, and upscales it to the native luma resolution of the video. If there is any further scaling to be performed; whether that is upscaling or downscaling, then the image upscaling/downscaling algorithm is applied to both chroma and luma.


== Installing MediaCenter ==
[[File:10-image-scaling2dulw.png|none|frame|Image Upscaling tab in MadVR Settings]]


After having satisfied all MediaCenter's dependencies and having downloaded the package to your PC, you can continue with the installation. Change to the directory to which you downloaded, or add the full path on the commandline. Again, change the version/build number for the version you downloaded. Issue the following command from a terminal:
There are a number of different scaling algorithms available in madVR, and what you choose depends on both the performance of the video card in your system, and personal preference.


<pre>
Image scaling is a balancing act (mostly) between three variables:
# dpkg -i /location/of/MediaCenter-19.0.103.deb
* Sharpness
</pre>
* Aliasing
* Ringing


If the output says it is missing dependencies, leaving unconfigured, you should take note of the packages mentioned. You can try to install them manually, or you can try issuing the following command:
Sharpness is an obvious one—it's how sharp the image appears.
[http://en.wikipedia.org/wiki/Aliasing Aliasing] is often seen as jagged edges on diagonal lines/curves rather than smooth edges, or as moiré patterns if you are downscaling.
[http://en.wikipedia.org/wiki/Ringing_artifacts Ringing] often shows as “halo” artefacts or darkened edges around bright objects, which can sometimes give the appearance of additional sharpness.


<pre>
madVR gives you a rough guide when selecting algorithms, but may be misleading in some cases.
# apt-get install -f
</pre>


Examine the output carefully, as it may remove packages to satisfy dependencies. This may not always lead to a happy ending - so be careful.
In terms of scaling performance (rendering speed, not image quality) the algorithms in madVR are roughly tiered as:
High Performance:
* Nearest Neighbor
* Bilinear


If you run into unresolvable dependencies, have a look at the troubleshooting section, or post your problems on [http://yabb.jriver.com/interact/index.php?board=35.0 Interact] where someone will try to help you resolve the issue.
Medium Performance:
* Mitchell-Netravali
* Catmull-Rom
* Bicubic
* SoftCubic


=== First Run ===
Low Performance:
When MediaCenter is first run, it will popup a Notification that it will timeout at a certain date. If it pops up a notification that it is has timed out already, you may have installed an older version. Visit [http://yabb.jriver.com/interact/index.php?board=35.0 Interact] and find the latest version in one of the sticky threads from the top of the board. You can simpy install it over the older version, see Upgrading.
* Lanczos 3 / Spline 3
* Jinc


=== Auto Import ===
Depending on your graphics card, the DXVA2 option may either be a high performance option, or a medium performance one.
MediaCenter will automatically start an Import shortly after startup to scan your home directory for media files. This is fine if your media is located there and you can let it run. If your media is somewhere else, you can cancel this in the lower left hand corner, where there will be a countdown from 45 seconds. Click the X to close the Action Window and not import anything, or click the link to configure Media Import. This automatic import will keep coming back until there is something in its library. There is no way to turn off this behavior.
There is also an anti-ringing filter, and a linear light option, both of which increase GPU demands when enabled. (though I do not recommend the linear light option in most cases)


Note that the option called "Auto-Import" is called "Configure Auto-Import" on Windows. This option allows you to configure how Auto-Import should run.
Initially, your goal should be smooth video playback rather than the best image quality, so I would recommend setting all scaling algorithms to Bilinear.
I will write up a post later that will go into detail about the differences between scaling algorithms, and which ones I recommend based on their performance and image quality.
As a rough guide, [http://i.imgur.com/HLv1qmj.png this image] was based on settings I recommended after some discussion over at the Doom9 madVR topic.


At the time of writing the browse button does not work, you need to type in the path to the location of the media files you wish to import.
===Rendering===


=== Upgrading from an older version ===
This section deals with what are mostly performance-related settings, and options that may be required to get the best performance out of your specific graphics card.
Download the latest version from [http://yabb.jriver.com/interact/index.php?board=35.0 Interact] and install it, for example:
Unless you are actually experiencing performance issues, most of these settings are best left alone.


<pre>
====General Settings====
$ sudo dpkg -i MediaCenter-19.0.xxx.deb
</pre>


Replace xxx with the build number from the file you downloaded. There are currently no complications or different dependencies. All versions should be able to install the same way.


=== Library Server Compatibility ===
MediaCenter for Linux can connect to a MediaCenter Library server running on Windows, Mac OS X or Linux. It will only play Audio however, even if the server is serving video as well. The Linux version currently supports only audio playback.


== Configuring MediaCenter ==
Config Intro.


=== Sound ===
<!-- [[Category: Frequently Asked Questions|MadVR Guide]] -->
ALSA info.

=== Output Mode ===
Configuring Resampling with MC.

== Headless Configuration ==

=== MC GUI via SSH ===

== Troubleshooting ==

Latest revision as of 01:53, 11 February 2018

This document will guide you through the process of installing and configuring MediaCenter for Linux. You are advised to read through the document before installing MediaCenter. It assumes some basic knowledge of Linux in general and familiarity working from a terminal. It also assumes an installation on 64-bit distribution as that will most likely be the target system. Installation on a 32-bit system will be very similar and, where applicable, notes will clarify the differences.

Throughout this document you are required to run certain commands in a terminal, sometimes with root permissions. Whether you do that as root itself or using temporarily elevated permissions through sudo is up to you. This document will precede each command with a # or $ sign, signifying whether the command needs to run as root (#) or as a regular user ($). Unless you changed your terminal prompt, it will show this same symbol for root (#) or user ($) on its prompt. You should not include this symbol in your command, it only signifies how the command should be run.

Related articles

Before you begin

MediaCenter is in beta and is under heavy development. As such, it may not work as expected. Although it is considered to be stable enough for regular use it may still show unexpected behavior such as crashes or random refusals to play a track. Please make sure you read through the list of Outstanding issues.

It is strongly advised to make regular backups of your media. There have been no reports of MediaCenter for Linux messing up tags or otherwise corrupting files, but it is still in beta - consider yourself warned. You can configure MediaCenter to not update tags at all, it will only read from your files but that does not negate the fact that you should always have backups.

It is also a good idea to read through the sticky threads on the forums, too.

System requirements

MediaCenter is being developed on Debian Wheezy 32-bit, x86 architecture. It will run on multiarch distributions (64-bit with 32-bit libraries) once the proper 32-bit dependencies are satisfied. See DEPENDENCIES for more information.

MediaCenter requires a CPU that supports SSE2. This means the CPU needs to be from around 2002 or later.

Hardware Requirements (Minimum)

  • Intel or AMD x86 Compatible CPU with SSE2
  • 2GB RAM
  • 300MB free hard drive space for installation (excluding space for digital media)
  • Sound device supported by ALSA
  • Internet connection (recommended)

Software Requirements

Official Support:

  • Debian Wheezy or a similar distribution based on Debian
  • Working Xorg - see Running MC Headless for a minimal installation. GUIfied - MediaCenter should work on any desktop. Its confirmed to work on XFCE, Unity, KDE, Gnome and Cinnamon. MATE and others are untested (try searching Interact). If you know one that works or how to get it working, you are invited to share this on Interact.
  • Working ALSA sound stack

MediaCenter requires:

  • X86 (32-bit)
  • SSE2
  • libc6 >= 2.13
  • libX11-6 >= 2.1.5
  • libcurl3 >= 7.26
  • lame >= 3.99
  • xfonts-75dpi
  • xfonts-100dpi
  • An ALSA device that supports S32_LE
  • On multiarch/multilib systems, all libraries MediaCenter depend on need to be 32-bit.

MediaCenter is known to work on recent versions of Mint, Ubuntu, OpenSuse, Fedora and Arch Linux. However, this is considered experimental and is not guaranteed to work. If you intent to run MediaCenter on such a distribution, you are strongly encouraged to share your experience on Interact.

Limitations

  • Although Linux can run on architectures other than x86 (like ARM or PowerPC for instance), MediaCenter does not run on architectures other than i386 or x86_64.
  • OSS and Pulse are currently not supported by MediaCenter. It may work with Pulse, but it is currently unsupported.
  • MediaCenter can run in server mode on a headless server, but it requires an Xserver running. See Running MC Headless for more information.
  • MediaCenter can run on bleeding edge distributions like Arch Linux. However it is built on Debian Wheezy, so some of the libraries it depends on are older versions not included or compatible with the versions used on bleeding edge distributions. The Troubleshooting section may contain some tips to get it working.

Dependencies

To successfully install MediaCenter, you need to make sure that the following depencies are installed. Installation on a 64-bit system requires multiarch to be enabled for 32-bit compatibility.

To enable multiarch on a 64-bit system, type the following in a terminal:

# dpkg --add-architecture i386

This command require you update. Type:

# apt-get update && apt-get upgrade

If you had not updated in a while, you may get a lot of new packages. Read the output carefully. If it says certain packages are held-back, cancel using CTRL-C and issue the following command instead:

# apt-get update && apt-get dist-upgrade

You should reboot your system when it is done, unless it didn't update anything of course.

Next we are going to install the following packages and libraries:


  • lame
  • musepack-tools
  • xfonts-75dpi
  • xfonts-100dpi
  • vorbis-tools
  • libcurl3:i386
  • libx11-6:i386
  • lib32stdc++6
  • libmpcdec6:i386
  • libc6:i386
  • libstdc++6:i386
  • libcrypto++9:i386
  • libasound2:i386
  • libuuid1:i386
  • libboost-regex1.49.0:i386
  • libicu48:i386

Note: On a 32-bit system, you can install the same libraries by removing ':i386' part.

Unless you're installing on a fresh system you probably have some of these installed already. This doesn't matter as Aptitude will simply skip packages that are already installed. You can install all of them at once by issuing the following command with root privileges from a terminal:

# apt-get install lame musepack-tools xfonts-75dpi xfonts-100dpi vorbis-tools libcurl3:i386 libx11-6:i386 lib32stdc++6 libmpcdec6:i386 \
bc6:i386 libstdc++6:i386 libx11-6:i386 libcrypto++9:i386 libasound2:i386 libuuid1:i386 libboost-regex1.49.0:i386 libicu48:i386

Or, on a 32-bit system (REQUIRES CONFIRMATION):

# apt-get install lame musepack-tools xfonts-75dpi xfonts-100dpi vorbis-tools libcurl3 libx11-6 libstdc++6 libmpcdec6 bc6 libstdc++6 \
libx11-6 libcrypto++9 libasound2 libuuid1 libboost-regex1.49.0 libicu48

Carefully read the output and make sure no packages are being removed.

Installing these packages and libraries do not require a reboot. Other packages these might pull in may require a reboot so to be sure, reboot your system afterwards.

On a fresh install the CD or DVD from which the system was installed might have been added to the sources.list as an available source for packages. It is advised you remove this and use online repositories instead. To do this, edit /etc/apt/sources.list and remove any lines starting with "deb cdrom:". First, make a backup of the current file:

# cp /etc/apt/sources.list{,.bak}

Open the file in nano:

# nano /etc/apt/sources.list

Remove the lines, or comment them out, for example:

# deb cdrom:[Debian GNU/Linux 7 _Wheezy_ - Official Snapshot i386 LIVE/INSTALL Binary 20131014-03:33]/ wheezy main

deb cdrom:[Debian GNU/Linux 7 _Wheezy_ - Official Snapshot i386 LIVE/INSTALL Binary 20131014-03:33]/ wheezy main

Downloading MediaCenter

The latest version of MediaCenter for Linux should be downloaded, this version can be found in one of the stickies on Interact. You can download it from your browser to ~/Downloads, or use the terminal issuing the following command (replace the version/build number with the latest found on the Linux board above):

$ cd ~/Downloads && wget http://files.jriver.com/mediacenter/channels/v19/latest/MediaCenter-19.0.103.deb

Obviously, the directory Downloads should exist under your home directory ;).

Installing MediaCenter

After having satisfied all MediaCenter's dependencies and having downloaded the package to your PC, you can continue with the installation. Change to the directory to which you downloaded, or add the full path on the commandline. Again, change the version/build number for the version you downloaded. Issue the following command from a terminal:

# dpkg -i /location/of/MediaCenter-19.0.103.deb

If the output says it is missing dependencies, leaving unconfigured, you should take note of the packages mentioned. You can try to install them manually, or you can try issuing the following command:

# apt-get install -f

Examine the output carefully, as it may remove packages to satisfy dependencies. This may not always lead to a happy ending - so be careful.

If you run into unresolvable dependencies, have a look at the troubleshooting section, or post your problems on Interact where someone will try to help you resolve the issue.

First Run

When MediaCenter is first run, it will popup a Notification that it will timeout at a certain date. If it pops up a notification that it is has timed out already, you may have installed an older version. Visit Interact and find the latest version in one of the sticky threads from the top of the board. You can simpy install it over the older version, see Upgrading.

Auto Import

MediaCenter will automatically start an Import shortly after startup to scan your home directory for media files. This is fine if your media is located there and you can let it run. If your media is somewhere else, you can cancel this in the lower left hand corner, where there will be a countdown from 45 seconds. Click the X to close the Action Window and not import anything, or click the link to configure Media Import. This automatic import will keep coming back until there is something in its library. There is no way to turn off this behavior.

Note that the option called "Auto-Import" is called "Configure Auto-Import" on Windows. This option allows you to configure how Auto-Import should run.

At the time of writing the browse button does not work, you need to type in the path to the location of the media files you wish to import.

Upgrading from an older version

Download the latest version from Interact and install it, for example:

$ sudo dpkg -i MediaCenter-19.0.xxx.deb

Replace xxx with the build number from the file you downloaded. There are currently no complications or different dependencies. All versions should be able to install the same way.

Library Server Compatibility

MediaCenter for Linux can connect to a MediaCenter Library server running on Windows, Mac OS X or Linux. It will only play Audio however, even if the server is serving video as well. The Linux version currently supports only audio playback.

Configuring MediaCenter

Config Intro.

Sound

ALSA info.

Output Mode

Configuring Resampling with MC.

Headless Configuration

MC GUI via SSH

Troubleshooting