Raspberrypi Building a living room Media Center based on Xbain

Source: Internet
Author: User
Tags win32diskimager

The slightest idle Time: September 11 ThursdayBlog: blog.csdn.net/cg_i Email:[email protected] Background: raspberrypi (Raspberry Pi)Xbian Download resources:http://pan.baidu.com/s/1dD3q5Tv (All software mentioned in the article)Prerequisites: Raspberry Pi Type B keyword: Raspberry Pi xbian hdpfans
about the Craplast night I walked five miles in the rain with my friends and watched a movie. The whole film is still in accordance with the Hollywood business film model, in addition to a car, aircraft, tanks were beaten into a pile of scrap metal, is from beginning to stop killing, killing, no plot to speak. This is not the worst, the biggest failure is the actress in the film is too ugly. job reason to this strange city has been more than a year, in order to adapt to this unfamiliar environment, I try to change the habits that I have been cultivating for many years, there are good, bad. I was very quiet, also like movies, of course, is the kind of solitude to appreciate, to understand, to move. Now this kind of environment completely belongs to their own private space is basically a kind of extravagant hope, which also original alone to enjoy the film, into about 35 friends to go to the cinema to enjoy, of which a lot of harvest here does not watch. In the cinema I really can't enjoy the whole movie silently and completely, I think the reason why everyone should be able to imagine. and roommate back to the bedroom has been: 59 points, the hearts of the feeling of being deceived gradually calm down, well, oneself or is suitable in small environment to appreciate their favorite movie works, on hand there is ready to build a media center Raspberrypi, say dry on dry. Now, the whole process is recorded, hoping to help people like me like to toss.
Hardware Preparation
Host: Raspberry Pi b type.
Network: ep-n8508gs mini USB wireless card.
Storage: SanDisk 32G storage CLASS10 flash memory card.
* The speed of the card directly affects the speed of the Raspberry Pi.
Keyboard: Zhou Rapoo E1050 wireless keyboard. * Keyboard is not required. After the installation is complete, you can remotely control the XBMC or SSH telnet into the system for maintenance via your phone.

Software preparation

Raspberry Pi Official Recommendation system is based on Debian Raspbian, but since the Raspberry Pi as a media player, it is natural to exercise the role of high-definition player, so the software is mainly XBMC. On the raspberrypi of the XBMC Independent system (that is, the boot is the XBMC interface) there are currently three kinds, respectively, Openelec, RASPBMC and Xbian, these three are basically the same, Openelec out earlier, and the installation method than the latter is slightly more complex, I haven't used it yet; RASPBMC is the official support, the installation needs the entire network support, with GUI setup program; Xbian in the player good reputation, belong to the more stable and the performance of the Raspberry Pi mining is relatively deep, installation does not need network support, the following Xbian as an example.

First, SD card production

1) Download xbian_1.0_beta_2.img.gz

2) Download Win32diskimager-v0.7-binary_ installation system software _shumeipai.net.zip

The above downloaded files through the Decompression tool decompression, the former decompression will be a "*.img" image file, it is the latest Xbian operating system, the latter will be Win32diskimager image installation tool.

1. Running Win32diskimage

2. Select the drive letter of SD under the img file "Device" in the software and select "Write" If the dialog box appears, choose "Yes".

3. Then start installing the system, depending on your SD speed, the installation process is fast and slow.

4. The completion dialog will pop up after installation, indicating that the installation is complete.

Second, XBMC configuration

1. Power up and see the Xbian Start screen.

2. See the familiar XBMC screen soon.

3. First of all, of course, the English interface into Chinese, divided into 2 steps, first select "SYSTEM"-"Settings"-"appearance"-"Skin", select "Font" on the right, turn the page to select "Arial based", wait a few seconds, and the second step is " Appearance "-" International "-select" Language "on the right, turn the page to select" Chinese ", wait a few seconds, the picture is Chinese. Remember, if the operation is reversed, it will be troublesome.

4. See the long-lost Chinese, modify the next time zone, because the Raspberry Pi no RTC, time is power on the network obtained. Select "System Settings"-"System Settings"-"User Interface"-"interface language" right "time zone-Country" select "China", "Time zone" select "Asia/shanghai".

5. I have previously controlled through the control on the Web page, and I can see that the HTTP service of port 8080 is turned on by Xbian, and the port below 1024 cannot be set. Select system settings-system settings-services-Web server.


6. The interface when accessing Web services over a mobile phone. It allows the XBMC to be manipulated.


7. Another must-have is airplay, so you can receive multimedia information on iOS. Select system settings-system settings-services-AirPlay. "


With the simple settings above, XBMC will work, but so far you have not seen how it plays local video or further online play video on the network, the following will give specific steps.

Third, video source add and local video playback

Here, thanks to the Hdpfans team, with the development of the domestic plug-in team growing, so that the XBMC become more easy to use, practical. At present HDP plug-in library has been aggregated HDP live, HDP Sohu film, 178Dota video and other content, won the XBMC official development team's technical support, follow-up will have more and better plug-ins released, All you need to do is install the HDP plugin library into your XBMC and enjoy the plug-ins that are constantly updated and added by the Hdpfans.

First download repository.hdpfans.xbmc-addons.zip (do not unzip), copy it to a USB stick or put it on your computer's shared network directory (XBMC can access a variety of network file systems, including Windows network shares or Samb shared network folders). Here we use a USB stick, insert the USB stick into the Raspberry Pi USB, select "System Settings"-"System Settings"-"Extended Features"-"Install from zip file" to the right, select "Root file System"-"media" Go to your own USB stick and find the plugin file in the zip format to make sure it is installed (Xbian supports Plug and Play Removable storage devices, which attach the identified device to this directory).

1. The following is from the Hdpfans Chinese plug-in library to choose to install the plug-in you are interested in. Go to "get extended features".

2. Select the Hdpfans Chinese plugin library (XBMC comes with some other English plugin libraries).

3. Select the plugin you are interested in, the following is an example of HDP live.

4. Select Install the plugin.

5. The installation is ready to use, go to "video"-"Extended function".

6. Choose to enter HDP live.

7. This is a categorized list.

8. This is the playback effect.

Video source to the end of the addition, the rest is based on your preferences to search, install new plug-in, the local video file playback is very simple, you only need to install the plug-in method, your mobile storage device to add and select the video file to play, Xbian support MP4, MKV and other formats of video also support external subtitles (need to rename the subtitle file to the same name as the video file), unfortunately it does not support playing RMVB format video, if you need to pay for the external official website to purchase the corresponding decoder, fortunately, is not too expensive.

Iv. Useful Tips

Raspberry Pi volume is very small, if you give the Raspberry Pi external hard disk, exhausted the original beauty, plus every time the movie is plugged in and out of the mobile storage that sense inconvenient, so I put the video source on the office of the Windows system on the computer, Find a good movie set up a good task let it slowly download and share it through the network, and so on after work back to the bedroom through the network access can be a very easy to see their favorite movies.

I'm not going to go over here. Access to shared network folders in the same network segment (for Windows network shares or Samb shared network folders), XBMC's operating interface is very intuitive and simple, only need to step by step according to the prompt operation, The only thing to note is that the Xbian is to belong to the same network group as the machine that provides the shares (Xbian is the group by default, just as the default for Windows system, as in "System settings"), otherwise when you select "Windows Network (SMB)" The machine that provides the computer name of the shared file service will not be found.

Because, I live in the bedroom and the office of the computer does not belong to the same network (routing is through), so, if the method provided through XBMC is unable to access the office computer shared folder, but it does not matter Xbian use of Linux system only need to log in to the system manually mounted. This is done as follows.

The SSH service is enabled by default in 1.XBian, and can be accessed via the SSH login tool, such as:

ssh [email protected] (user name @pi IP address)

Enter default password:Raspberry

2.sudo mount-t cifs-o username=administrator,password=111111//172.x.x.x/downloads/mnt/start_pc

Downloads is a shared folder on the network, when the command executes successfully, the shared folder is attached to the/MNT/START_PC directory, and then the directory is added to the video source by XBMC (see HTTP://URL.CN/QZPYRT).

For your convenience you can make the above command into a script or automatic mount, interested in the online search method or directly ask me, anyway, my machine is generally not shut down to write here is also tired no longer bother. At this point,Raspberrypi based on Xbain to create a living room Media center here will be over, I hope you have more valuable advice, such as better ideas also please tell me, thank you!

Raspberrypi Building a living room Media Center based on Xbain

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.