Vanvalkinburgh.org

  • Home
  • Gallery
  • Privacy
  • jQuery
    • Image Example 1
  • Videos
Home > Ubuntu > Stream videos to xbox 360 with patched ushare

Stream videos to xbox 360 with patched ushare

May 25th, 2007 admin

Update 12/13/09
You can install ushare with apt-get or aptitude.

sudo aptitude install ushare

and to setup you can edit /etc/ushare.conf

sudo nano /etc/ushare.conf

The config file explains everything.

To run you can start the service.

sudo service ushare start

If you want to stop it, replace start with stop.

Just tried to see if xbox would see it and it didn’t, but that’s because the service doesn’t read everything in the config file, only the shares you specify. So if you run ushare -x, your xbox will see it, or you can try editing the /etc/init.d/ushare file.

sudo nano /etc/init.d/ushare

add the below under “CONFIGFILE=/etc/ushare.conf”.

USHARE_OPTIONS=-x

Update ushare 1.1
You can download ushare 1.1 from here. Packages for ubuntu 7.10 can also be found there.

Another update
This how to has been posted on digg, so I made a mirror, just in case my site goes down.
Mirror

Update
uShare has been updated, see here for info. You don’t need the patched version to do this anymore, just the latest version.
Finally a way to stream videos to the 360 without windows.


Note: you need the latest update for the xbox 360.
32bit package has been updated on 05/31/07, forgot to patch it before compiling it.
I’m having problems streaming video with my wireless B game adapter, so I’m getting a D-Link DWL-G730AP High Speed Wireless Pocket Router/AP – Retail, hopefully that will work better.

Thanks to KeithB from geexbox’s forum for releasing a patch. Also thanks to microsoft for making it possible to stream MPEG 4 files.
If the packages don’t work or you aren’t using ubuntu or debian, then you can download the patched source below.

Download ushare 1.0
32bit deb
64bit deb
The source code can be found here.

Download ushare patched: (Not needed anymore)
32bit deb
64bit deb
patched source

Mirrors:
32bit deb mirror 1 (By voidyourwarranty.us)
64bit deb mirror 1 (By voidyourwarranty.us)
pached source mirror 1 (By voidyourwarranty.us)
If you want your mirror on here, then send an email to info@vanvalkinburgh.org.

You also need libupnp:
Download 32 bit libupnp
Download 64 bit libupnp
You can also obtain libupnp here.

After you install it run the following command:

ushare -p 49153 -D -x -c /media/sda1/MyVideos/converted/

Change the folder path to the correct folder.

I made a share.sh file in my home folder with that in it.

share.sh:

#!/bin/sh
ushare -p 49153 -D -x -c /media/sda1/MyVideos/converted/

To make it startup when you login go to System | Preferences | Sessions and add a new startup entry.
If you add a new folder or file, then you can go to http://localhost:49153/web/ushare.html and click refresh shares, you can also add shares.

ffmpeg: (If you have gnome, I provided a nautilus script, so all you have to do is right click the file, and you can convert it. You don’t need avidemux for this method.)
The compression is pretty good. One of my mpg files went from 365 MB to 98 MB. The videos look good too.

The below version of ffmpeg has aac support.
ffmpeg 32bit package with aac support
ffmpeg 64bit package with aac support

The below script is for gnome users, click the link, it has instructions.
nautilus script

If you go into synaptic you can lock the version of the package, so the annoying update thing will go away. Select ffmpeg and then click Package at the top and lock version.

The command for converting videos with ffmpeg is below:

ffmpeg -y -i input.avi -vcodec h264 -b 1000000 -acodec aac -ar 48000 -ab 160 -f mov output.mov

Convert videos to MPEG 4

I used avidemux to do this, so these instructions are for it.

I installed avidemux with automatix. I also installed “Multimedia Codecs” with automatix.

Change the following settings:

Video: Mpeg4
Audio: FAAC
Format: MP4

Save the file with a .mov extension, wouldn’t work with .mp4.

On my xbox it said I needed a media update, so I said yes, and then it said I already have it, but I downloaded it anyways. And the file played after that, the tv was black for some seconds, and then it started to play.

If the file isn’t playing full screen, then click A and click the right arrow key until it says display mode, and then keep clicking A until it says full screen.

Tips
Xbox 360 video playback faq

Things to try if the video doesn’t work.

In avidemux after you select the video codec, click filters, and click mplayer resize. If you don’t have a HDTV, then put in 480×480. If you have a HDTV, then you probably don’t need to change this, unless the video is to big. Look at the xbox 360 faq link above.

After you select the audio codec, click filters, and click resample to hz, put it 48000.
Change mixer to stereo.

If you can’t get avidemux to work, you can try ffmpeg.

Share and Enjoy:
  • Digg
  • Reddit
  • del.icio.us
  • Google Bookmarks
  • Facebook
  • MySpace
  • Add to favorites
  • StumbleUpon
  • Twitter
  • Yahoo! Bookmarks

Related posts:

  1. uShare update!
  2. OS X stream videos and music to the xbox 360 with fuppes
  3. Linux stream videos to xbox 360
  4. Geexbox info stream videos to tv
  5. Ushare doesn’t work neither does tversity
Categories: Ubuntu Tags: Ubuntu
Comments (131)
  1. admin
    December 5th, 2007 at 16:42 | #1
    Reply | Quote

    I must of made a typo, those packages are actually for 7.10.

  2. admin
    December 5th, 2007 at 16:53 | #2
    Reply | Quote

    John Eddy:

    Is anything else running on the same port that ushare is running on? Like a bittorrent program? If you’re running a firewall you might need to open whatever port ushare is running on.

  3. John Eddy
    December 5th, 2007 at 17:31 | #3
    Reply | Quote

    No firewall.
    Nothing else on the port acc’d to netstat.
    As far as I can tell, no other upnp is running at the moment.
    Any upnp client for the ubuntu box that you’d reco’ just to see if it can see itself?
    WMP does see the upnp box, however it can’t find any files, which might be the same issue, might not. The conf file is pointing to the right directory.

    Is there a way in the .conf file to force the -x command line?

  4. admin
    December 6th, 2007 at 16:43 | #4
    Reply | Quote

    is ushare running on the correct interface? You can tell it which network interface to run it on with the -i option. You can run ifconfig to see a list of network interfaces.

  5. Liek
    December 12th, 2007 at 11:52 | #5
    Reply | Quote

    It seems that there’s 1.1a version available. It says in the GeeXboX page that:
    “Support for XboX 360 dashboard Fall Update (.avi and .divx now are supported)”
    This doesn’t work though. It didn’t update itself automatically, and reinstalling it from a package changed nothing. It still wont send any info of the .avi or .divx files to my Xbox 360

  6. admin
    December 12th, 2007 at 16:12 | #6
    Reply | Quote

    I’m currently using fuppes on my mac, as it works much better then ushare has ever worked.

    http://fuppes.ulrich-voelkel.de/
    http://fuppes.ulrich-voelkel.de/wiki/index.php/Compiling_on_Linux
    http://vanvalkinburgh.org/2007/12/08/os-x-stream-videos-and-music-to-the-xbox-360-with-fuppes

  7. Liek
    December 13th, 2007 at 09:04 | #7
    Reply | Quote

    I tried Fuppes, but I gave up after 6 different error messages during make. I followed 6 different HowTo’s that were all supposed to work. Ushare works great for me, becouse I just need support for my video files. 1.1a version just isn’t in repos yet.. I think.. Well atleast it doesn’t upgrade

  8. admin
    December 13th, 2007 at 16:27 | #8
    Reply | Quote

    Using the latest svn version of fuppes doesn’t work, but using svn version 549 on the downloads page on their site works fine for me, or at least on my mac.

  9. Liek
    December 14th, 2007 at 07:35 | #9
    Reply | Quote

    Ushare 1.1a is not in the repos and I now see .avi and .divx files

  10. Herman
    January 16th, 2008 at 14:30 | #10
    Reply | Quote

    Why does linux have to be so difficult, even the nautilus script don’t work for me, tried everything to get it to show up in my right click on file, suddely, when i lost hope it showed up, after doing nothing? i tought great. Then i tried to use it, no response at all, no error message, NOTHING. tried running it from the terminal but that won’t work cause no file was selected. sucks ass, gonna try avidemux now, pfff. Think microsoft sucks ass, but the installing of applications on windows is much and much better then on linux, most apps on linux require you to do 10 steps, while in microsoft it’s just dubble click a .exe, wish it was that easy on linux, gonna stop complaining now, thanks for the post, hope avidemux will work and everything after that won’t require me to do 10 more steps

  11. admin
    January 17th, 2008 at 23:06 | #11
    Reply | Quote

    If you run it from the terminal put the filename after the script.

    Example:
    .gnome2/nautilus-scripts/convert-360.sh /path/to/movie.avi

Comment pages
« Previous 1 ... 5 6 7 612
Comments are closed.
Linux stream videos to xbox 360 HWP54G improve signal
RSS feed

Photos

2010-03-11

What I'm Doing...

  • The new 8GB Eye-Fi Pro X2 is now SHIPPING. Get yours today at Amazon, B&H, J&R, Beach Camera, Adorama, through us, etc... (via @EyeFiCard) 20 mins ago
  • http://forums.asmallorange.com/topic/13657-servers-down-31210/ I was sleeping when that happened. 1 hr ago
  • picasa won't let me upload the .tiff files. can upload those to google docs though. 14 hrs ago
  • More updates...

Posting tweet...

Powered by Twitter Tools

Recent Posts

  • You can pre order Apple iPad now
  • Mac OS X Snow Leopard Image Capture
  • Tales Of Monkey Island
  • Carbon Copy Cloner
  • Hostgator CEO bought A Small Orange

Recent Comments

  • admin on Hmm so MSI Nettop 100 is 64bit capable?
  • Programare Sociala on Hmm so MSI Nettop 100 is 64bit capable?
  • admin on Hmm so MSI Nettop 100 is 64bit capable?
  • Programare Sociala on Hmm so MSI Nettop 100 is 64bit capable?
  • admin on 1Password developers don’t think Firefox is crap

Categories

  • acer aspire one
  • Cloudbook
  • Debian
  • Fedora
  • General
  • gOS
  • KDE
  • linux
  • Multimedia
  • Mythbuntu
  • mythtv
  • Sabayon linux
  • Ubuntu
  • Uncategorized
  • Wireless
  • Yoper
  • Zonbu

Archives

  • 2010
    • January
    • February
    • March
  • 2009
    • January
    • February
    • March
    • April
    • May
    • June
    • July
    • August
    • September
    • October
    • November
    • December
  • 2008
    • January
    • February
    • March
    • April
    • May
    • June
    • July
    • August
    • September
    • October
    • November
    • December
  • 2007
    • January
    • February
    • March
    • April
    • May
    • June
    • July
    • August
    • September
    • October
    • November
    • December
  • 2006
    • July
    • August
    • September
    • October
    • November
    • December

Categories

  • acer aspire one
  • linux
  • Uncategorized

$9.69 Domain name registration at namecheap.com

Meta

  • Log in
  • Entries RSS
  • Comments RSS
  • WordPress.org
Top WordPress
Copyright © 2006-2010 Vanvalkinburgh.org
Theme by NeoEase. Valid XHTML 1.1 and CSS 3.

Bad Behavior has blocked 162 access attempts in the last 7 days.