特殊:Badtitle/NS100:Xbox360Media:修订间差异
小 新页面: {{From|https://help.ubuntu.com/community/Xbox360Media}} {{Languages|UbuntuHelp:Xbox360Media}} == Xbox 360 Media sharing == The Xbox 360 has its own implementation of [http://en.wikipedia.... |
(没有差异)
|
2008年10月19日 (日) 18:21的版本
文章出处: |
{{#if: | {{{2}}} | https://help.ubuntu.com/community/Xbox360Media }} |
点击翻译: |
English {{#ifexist: {{#if: UbuntuHelp:Xbox360Media | UbuntuHelp:Xbox360Media | {{#if: | :}}Xbox360Media}}/af | • {{#if: UbuntuHelp:Xbox360Media|Afrikaans| [[::Xbox360Media/af|Afrikaans]]}}|}} {{#ifexist: {{#if: UbuntuHelp:Xbox360Media | UbuntuHelp:Xbox360Media | {{#if: | :}}Xbox360Media}}/ar | • {{#if: UbuntuHelp:Xbox360Media|العربية| [[::Xbox360Media/ar|العربية]]}}|}} {{#ifexist: {{#if: UbuntuHelp:Xbox360Media | UbuntuHelp:Xbox360Media | {{#if: | :}}Xbox360Media}}/az | • {{#if: UbuntuHelp:Xbox360Media|azərbaycanca| [[::Xbox360Media/az|azərbaycanca]]}}|}} {{#ifexist: {{#if: UbuntuHelp:Xbox360Media | UbuntuHelp:Xbox360Media | {{#if: | :}}Xbox360Media}}/bcc | • {{#if: UbuntuHelp:Xbox360Media|جهلسری بلوچی| [[::Xbox360Media/bcc|جهلسری بلوچی]]}}|}} {{#ifexist: {{#if: UbuntuHelp:Xbox360Media | UbuntuHelp:Xbox360Media | {{#if: | :}}Xbox360Media}}/bg | • {{#if: UbuntuHelp:Xbox360Media|български| [[::Xbox360Media/bg|български]]}}|}} {{#ifexist: {{#if: UbuntuHelp:Xbox360Media | UbuntuHelp:Xbox360Media | {{#if: | :}}Xbox360Media}}/br | • {{#if: UbuntuHelp:Xbox360Media|brezhoneg| [[::Xbox360Media/br|brezhoneg]]}}|}} {{#ifexist: {{#if: UbuntuHelp:Xbox360Media | UbuntuHelp:Xbox360Media | {{#if: | :}}Xbox360Media}}/ca | • {{#if: UbuntuHelp:Xbox360Media|català| [[::Xbox360Media/ca|català]]}}|}} {{#ifexist: {{#if: UbuntuHelp:Xbox360Media | UbuntuHelp:Xbox360Media | {{#if: | :}}Xbox360Media}}/cs | • {{#if: UbuntuHelp:Xbox360Media|čeština| [[::Xbox360Media/cs|čeština]]}}|}} {{#ifexist: {{#if: UbuntuHelp:Xbox360Media | UbuntuHelp:Xbox360Media | {{#if: | :}}Xbox360Media}}/de | • {{#if: UbuntuHelp:Xbox360Media|Deutsch| [[::Xbox360Media/de|Deutsch]]}}|}} {{#ifexist: {{#if: UbuntuHelp:Xbox360Media | UbuntuHelp:Xbox360Media | {{#if: | :}}Xbox360Media}}/el | • {{#if: UbuntuHelp:Xbox360Media|Ελληνικά| [[::Xbox360Media/el|Ελληνικά]]}}|}} {{#ifexist: {{#if: UbuntuHelp:Xbox360Media | UbuntuHelp:Xbox360Media | {{#if: | :}}Xbox360Media}}/es | • {{#if: UbuntuHelp:Xbox360Media|español| [[::Xbox360Media/es|español]]}}|}} {{#ifexist: {{#if: UbuntuHelp:Xbox360Media | UbuntuHelp:Xbox360Media | {{#if: | :}}Xbox360Media}}/fa | • {{#if: UbuntuHelp:Xbox360Media|فارسی| [[::Xbox360Media/fa|فارسی]]}}|}} {{#ifexist: {{#if: UbuntuHelp:Xbox360Media | UbuntuHelp:Xbox360Media | {{#if: | :}}Xbox360Media}}/fi | • {{#if: UbuntuHelp:Xbox360Media|suomi| [[::Xbox360Media/fi|suomi]]}}|}} {{#ifexist: {{#if: UbuntuHelp:Xbox360Media | UbuntuHelp:Xbox360Media | {{#if: | :}}Xbox360Media}}/fr | • {{#if: UbuntuHelp:Xbox360Media|français| [[::Xbox360Media/fr|français]]}}|}} {{#ifexist: {{#if: UbuntuHelp:Xbox360Media | UbuntuHelp:Xbox360Media | {{#if: | :}}Xbox360Media}}/gu | • {{#if: UbuntuHelp:Xbox360Media|ગુજરાતી| [[::Xbox360Media/gu|ગુજરાતી]]}}|}} {{#ifexist: {{#if: UbuntuHelp:Xbox360Media | UbuntuHelp:Xbox360Media | {{#if: | :}}Xbox360Media}}/he | • {{#if: UbuntuHelp:Xbox360Media|עברית| [[::Xbox360Media/he|עברית]]}}|}} {{#ifexist: {{#if: UbuntuHelp:Xbox360Media | UbuntuHelp:Xbox360Media | {{#if: | :}}Xbox360Media}}/hu | • {{#if: UbuntuHelp:Xbox360Media|magyar| [[::Xbox360Media/hu|magyar]]}}|}} {{#ifexist: {{#if: UbuntuHelp:Xbox360Media | UbuntuHelp:Xbox360Media | {{#if: | :}}Xbox360Media}}/id | • {{#if: UbuntuHelp:Xbox360Media|Bahasa Indonesia| [[::Xbox360Media/id|Bahasa Indonesia]]}}|}} {{#ifexist: {{#if: UbuntuHelp:Xbox360Media | UbuntuHelp:Xbox360Media | {{#if: | :}}Xbox360Media}}/it | • {{#if: UbuntuHelp:Xbox360Media|italiano| [[::Xbox360Media/it|italiano]]}}|}} {{#ifexist: {{#if: UbuntuHelp:Xbox360Media | UbuntuHelp:Xbox360Media | {{#if: | :}}Xbox360Media}}/ja | • {{#if: UbuntuHelp:Xbox360Media|日本語| [[::Xbox360Media/ja|日本語]]}}|}} {{#ifexist: {{#if: UbuntuHelp:Xbox360Media | UbuntuHelp:Xbox360Media | {{#if: | :}}Xbox360Media}}/ko | • {{#if: UbuntuHelp:Xbox360Media|한국어| [[::Xbox360Media/ko|한국어]]}}|}} {{#ifexist: {{#if: UbuntuHelp:Xbox360Media | UbuntuHelp:Xbox360Media | {{#if: | :}}Xbox360Media}}/ksh | • {{#if: UbuntuHelp:Xbox360Media|Ripoarisch| [[::Xbox360Media/ksh|Ripoarisch]]}}|}} {{#ifexist: {{#if: UbuntuHelp:Xbox360Media | UbuntuHelp:Xbox360Media | {{#if: | :}}Xbox360Media}}/mr | • {{#if: UbuntuHelp:Xbox360Media|मराठी| [[::Xbox360Media/mr|मराठी]]}}|}} {{#ifexist: {{#if: UbuntuHelp:Xbox360Media | UbuntuHelp:Xbox360Media | {{#if: | :}}Xbox360Media}}/ms | • {{#if: UbuntuHelp:Xbox360Media|Bahasa Melayu| [[::Xbox360Media/ms|Bahasa Melayu]]}}|}} {{#ifexist: {{#if: UbuntuHelp:Xbox360Media | UbuntuHelp:Xbox360Media | {{#if: | :}}Xbox360Media}}/nl | • {{#if: UbuntuHelp:Xbox360Media|Nederlands| [[::Xbox360Media/nl|Nederlands]]}}|}} {{#ifexist: {{#if: UbuntuHelp:Xbox360Media | UbuntuHelp:Xbox360Media | {{#if: | :}}Xbox360Media}}/no | • {{#if: UbuntuHelp:Xbox360Media|norsk| [[::Xbox360Media/no|norsk]]}}|}} {{#ifexist: {{#if: UbuntuHelp:Xbox360Media | UbuntuHelp:Xbox360Media | {{#if: | :}}Xbox360Media}}/oc | • {{#if: UbuntuHelp:Xbox360Media|occitan| [[::Xbox360Media/oc|occitan]]}}|}} {{#ifexist: {{#if: UbuntuHelp:Xbox360Media | UbuntuHelp:Xbox360Media | {{#if: | :}}Xbox360Media}}/pl | • {{#if: UbuntuHelp:Xbox360Media|polski| [[::Xbox360Media/pl|polski]]}}|}} {{#ifexist: {{#if: UbuntuHelp:Xbox360Media | UbuntuHelp:Xbox360Media | {{#if: | :}}Xbox360Media}}/pt | • {{#if: UbuntuHelp:Xbox360Media|português| [[::Xbox360Media/pt|português]]}}|}} {{#ifexist: {{#if: UbuntuHelp:Xbox360Media | UbuntuHelp:Xbox360Media | {{#if: | :}}Xbox360Media}}/ro | • {{#if: UbuntuHelp:Xbox360Media|română| [[::Xbox360Media/ro|română]]}}|}} {{#ifexist: {{#if: UbuntuHelp:Xbox360Media | UbuntuHelp:Xbox360Media | {{#if: | :}}Xbox360Media}}/ru | • {{#if: UbuntuHelp:Xbox360Media|русский| [[::Xbox360Media/ru|русский]]}}|}} {{#ifexist: {{#if: UbuntuHelp:Xbox360Media | UbuntuHelp:Xbox360Media | {{#if: | :}}Xbox360Media}}/si | • {{#if: UbuntuHelp:Xbox360Media|සිංහල| [[::Xbox360Media/si|සිංහල]]}}|}} {{#ifexist: {{#if: UbuntuHelp:Xbox360Media | UbuntuHelp:Xbox360Media | {{#if: | :}}Xbox360Media}}/sq | • {{#if: UbuntuHelp:Xbox360Media|shqip| [[::Xbox360Media/sq|shqip]]}}|}} {{#ifexist: {{#if: UbuntuHelp:Xbox360Media | UbuntuHelp:Xbox360Media | {{#if: | :}}Xbox360Media}}/sr | • {{#if: UbuntuHelp:Xbox360Media|српски / srpski| [[::Xbox360Media/sr|српски / srpski]]}}|}} {{#ifexist: {{#if: UbuntuHelp:Xbox360Media | UbuntuHelp:Xbox360Media | {{#if: | :}}Xbox360Media}}/sv | • {{#if: UbuntuHelp:Xbox360Media|svenska| [[::Xbox360Media/sv|svenska]]}}|}} {{#ifexist: {{#if: UbuntuHelp:Xbox360Media | UbuntuHelp:Xbox360Media | {{#if: | :}}Xbox360Media}}/th | • {{#if: UbuntuHelp:Xbox360Media|ไทย| [[::Xbox360Media/th|ไทย]]}}|}} {{#ifexist: {{#if: UbuntuHelp:Xbox360Media | UbuntuHelp:Xbox360Media | {{#if: | :}}Xbox360Media}}/tr | • {{#if: UbuntuHelp:Xbox360Media|Türkçe| [[::Xbox360Media/tr|Türkçe]]}}|}} {{#ifexist: {{#if: UbuntuHelp:Xbox360Media | UbuntuHelp:Xbox360Media | {{#if: | :}}Xbox360Media}}/vi | • {{#if: UbuntuHelp:Xbox360Media|Tiếng Việt| [[::Xbox360Media/vi|Tiếng Việt]]}}|}} {{#ifexist: {{#if: UbuntuHelp:Xbox360Media | UbuntuHelp:Xbox360Media | {{#if: | :}}Xbox360Media}}/yue | • {{#if: UbuntuHelp:Xbox360Media|粵語| [[::Xbox360Media/yue|粵語]]}}|}} {{#ifexist: {{#if: UbuntuHelp:Xbox360Media | UbuntuHelp:Xbox360Media | {{#if: | :}}Xbox360Media}}/zh | • {{#if: UbuntuHelp:Xbox360Media|中文| [[::Xbox360Media/zh|中文]]}}|}} {{#ifexist: {{#if: UbuntuHelp:Xbox360Media | UbuntuHelp:Xbox360Media | {{#if: | :}}Xbox360Media}}/zh-hans | • {{#if: UbuntuHelp:Xbox360Media|中文(简体)| [[::Xbox360Media/zh-hans|中文(简体)]]}}|}} {{#ifexist: {{#if: UbuntuHelp:Xbox360Media | UbuntuHelp:Xbox360Media | {{#if: | :}}Xbox360Media}}/zh-hant | • {{#if: UbuntuHelp:Xbox360Media|中文(繁體)| [[::Xbox360Media/zh-hant|中文(繁體)]]}}|}} |
{{#ifeq:UbuntuHelp:Xbox360Media|:Xbox360Media|请不要直接编辑翻译本页,本页将定期与来源同步。}} |
{{#ifexist: :Xbox360Media/zh | | {{#ifexist: Xbox360Media/zh | | {{#ifeq: {{#titleparts:Xbox360Media|1|-1|}} | zh | | }} }} }} {{#ifeq: {{#titleparts:Xbox360Media|1|-1|}} | zh | | }}
Xbox 360 Media sharing
The Xbox 360 has its own implementation of UPnP, meaning that in theory you can share your media without Windows by using open protocols. The reality is more complex, but we do have solutions in the Free world.
Format compatibility
The Xbox 360 is fussy about media formats. It only supports JPEG images (not GIF or PNG), and you'll likely find that quite a few of your videos refuse to play. A workaround is to use transcode, ffmpeg or mencoder to convert your video to a format that the Xbox 360 can interpret, such as Xvid/MP3 in an AVI container.
uShare allows a Linux PC to share its files with any other device using UPnP. There's a package in universe, but its official support for Xbox 360 isn't quite right. Here's one method to get it working right. It's based on this howto, which uses this patched version of uShare.
Easy version
You can find a copy of the source and a DEB package here. Note that the DEB was made quickly on Ubuntu 8.04 ('Hardy Heron') using Checkinstall. It is not digitally signed or configured fully, but it should work fine. If the version from universe is installed, remove it first. If you don't feel comfortable with this, see the 'DIY version' below.
DIY version
First, you need to download, compile and install the patched version of uShare.
- Set up a build environment.
$ sudo aptitude install libupnp-dev build-essential
- Get the uShare source code from here.
- In a terminal, extract the source and then descend into the directory.
$ tar -jxvf ushare-11a-netou.tar.bz2 $ cd ushare-1.1a-NeToU
- Configure and compile the source
$ ./configure --prefix=/ --bindir=/usr/bin --mandir=/usr/share/man $ make
- Create a package and install.
$ sudo checkinstall -D make install
- In the Checkinstall prompts, give it the name 'ushare' and version '1.1a'.
- Now you'll have a DEB package created and installed. You can save the DEB for future use.
- To edit uShare's configuration, open /etc/ushare.conf in your favourite editor and set the following (adjust to your requirements).
USHARE_NAME=myserver USHARE_PORT=49200 USHARE_TELNET_PORT=49201 USHARE_DIR=/mnt/hda1,/mnt/hdc1,/mnt/hdd1 USHARE_ENABLE_WEB=yes USHARE_ENABLE_TELNET=yes USHARE_ENABLE_XBOX=yes
- Start the uShare daemon.
$ sudo /etc/init.d/ushare start
- Set uShare to start on boot.
$ update-rc.d ushare defaults
You can access the uShare Web interface at
http://ip_address:port/web/ushare.html
The Xbox 360 should see your server just like any UPnP share.
Allowing connections through a firewall
If you're using Ubuntu's UFW, you can easily add a rule to cope with this. Let's say your Xbox 360 uses a static IP address of 192.168.10.3, and your server is 192.168.10.2 with UPnP on port 49200. Use the following command to provide a small hole in your firewall for this:
sudo ufw allow proto tcp from 192.168.10.3 to 192.168.10.2 port 49200
Checkinstall installs uShare into the dpkg repository just like any other package. Uninstallation is easy:
$ aptitude remove ushare
- Ushare & Xbox 360
- How to make Ubuntu, uShare and xBox 360 play nice
- How-To:XBOX 360 Media Server in Linux