tisdag 28 december 2010

Streama film till xbox 360

citat från:
https://help.ubuntu.com/community/Ps3MediaServer


PS3 Media Server

Introduction

Stream Media to your DLNA compliant devices.

PS3 Media Server is a DLNA compliant Upnp Media Server originally written for the PS3, now supports Xbox360, Sony Bravia, Popcorn Hour, Samsung Wiselink, Freebox HD & others. PMS is written in Java, with the purpose of streaming or transcoding any kind of media files, with minimum configuration. It's backed up with the powerful Mplayer/FFmpeg packages.

Installation instructions

You can install the software directly from the .deb package pms-linux. Otherwise, you may follow the instructions below for building from the source.

- PMS requires the following packages: MEncoder, Mplayer, FFMpeg, and Sun's Java

* To install from a terminal and type:

sudo apt-get install mencoder ffmpeg mplayer vlc sun-java6-jre

* in Ubuntu 10.04 ( lucid ) type:

sudo apt-get install mencoder ffmpeg mplayer vlc openjdk-6-jre

Or you can click on these packages individually if you'd prefer to avoid the terminal:

* mencoder ffmpeg mplayer vlc sun-java6-jre

- Grab the latest version of Playstation 3 Media Server and save it on you home directory

- Navigate to your home directory, right cilck on the .tgz file you just downloaded and select extract here.

- Navigate to that folder, right click on PMS.sh and choose properties now in Permissions allow it to be executed. Do the same thing for a file called tsMuxeR which is in a sub-folder called linux.

- Finally just double click on PMS.sh and choose run to start the program!

Configuration

In the General Configuration tab Under Network Settings choose the network interface you want to stream your media from (ex wlan0, lan0, etc) You maybe want to tick Start Minimized.

In the Navigation/Share Settings add any folders of media you would like to share for example ~/Videos and ~/Music

Click Save to save your settings.

Additional configuration files per device can be found in the subfolder renderers they are simple text files you can edit with your favorite editor Vi(m), Gedit, pico, etc. For Xbox360 avi/divx playback you need to edit the last line in XBOX360.conf

From:

StreamExtensions=wma,asf

To:

StreamExtensions=wma,asf,avi

start at startup

If you'd like to have PMS startup when you log into ubuntu, you can simply add the PMS.sh script with the full path to System -->Preferences --> Startup Applications -->Add

http://code.google.com/p/ps3mediaserver/ - PS3MediaServer home page

EDIT:
Med version 1.21.1 var jag tvungen att flytta mappen renders från ps3mediacenter mappen till /home/dokument annars fick jag hela tiden felet:[New I/O server worker #1-1] Media renderer was not recognized.HTTP User agent :Xbox/2.0.7371.0 UPnP/1.0 Xbox/2.0.7371.0

En annan sak som jag la märke till är att pms.conf filen som används också läggs direkt under dokumentmappen.

Detta ändras under inställningar:
Och så en sista sak som jag glömde säga tidigare man ska välja vilket nätverkskort man vill använda och så ska man skriva port 49200 under "Tvinga serverport"

Under Navigations/utdelningsinställningar ska man välja vilka mappar man vill dela ut. Det är bara att klicka på plusstecknet.

EDIT2:
Om inte srt undertexterna fungerar så testa att under MEncoder avmarkera ASS/SSA Undertexter, då dök helt plötligt undertexten upp för mig :)


Xbox 360 och Monowall

I could play games online, but could not chat in private chat. Here is a direct quote from monowall forum that helped me:

Quote:"
"Here's what I did to get it from "Moderate" to "Open":

1. Create a reservation in my DHCP server for my Xbox 360 so that it always gets the same IP address. You could also set a static IP on the Xbox if that is your preference.

2. In m0n0wall, check the box "Enable advanced outbound NAT" on the Outbound NAT configuration tab.

3. Setup a mapping for your local LAN subnet. Interface should be WAN, source should be your subnet address (for example, my subnet is 192.168.0.0/24), target should be left blank and leave "Disable port mapping" unchecked.

4. Setup a mapping for your Xbox 360. Interface should be WAN, source should be the IP address assigned to the Xbox in Step 1 with a 32 bit mask (for example, 192.168.0.100/32), target should be left blank and this time check the box for "Disable port mapping".

5. Save and apply these changes.

6. Configure Inbound NAT and create a mapping for TCP/UDP 3074. Interface should be WAN, External address should be Interface address, Protocol should be TCP/UDP, External port range should be 3074 to 3074, NAT IP should be the IP address of the Xbox assigned in Step 1, Local port should be 3074. Check the box to "Auto-add a firewall rule to permit traffic through this NAT rule."

7. Save and apply these changes.

8. Reset the NAT and Firewall state.

Now when you run the Xbox live test, it should come back as "Open".

NOTE: The above steps were based on the 1.3b11 version of m0n0wall. I haven't used any of the previous versions, so the steps may vary from version to version."

by Tismo on monowall forum

In addition to Port 3074 (UDP and TCP) I had to open port 88 (UDP)

Note: If you cannot chat with someone using Video Kinect, you might need to open port 1863 (UDP and TCP).
"End Quote

My monowall is on 192.168.1.1 and my xbox is on 192.168.1.4 . So I had to change 3. to 192.168.1.0/24 and 4. to 192.168.1.4/32)

Note:

8. Reset the NAT and Firewall state. ( Diagnostic -> Reser state )