Can’t get ushare working?
If you can’t get ushare to work, try fuppes.
You can get a ubuntu package of fuppes here.
You can get a os x compiled build here.
You can find instructions for compiling fuppes on linux here. Try svn version 549 if the latest svn version doesn’t work. You can find svn version 549 on their download page.

You can also get my working fuppes.cfg and vfolder.cfg files here.

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

avidemux_mp4.jpg

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.
avidemux_video_filters.jpg

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

avidemux_audio_filters.jpg

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


Tags:
133 Responses to “Stream videos to xbox 360 with patched ushare”
  1. Great guide, I was under the impression the 360 could only handle wmv, but ffmpeg isn’t currently capable of encoding wma audio so there was no sound playback.

    I’m having issues with uShare though, the 360 is connecting to my computer fine, but it’s saying there aren’t any videos on the computer (I’m sharing 4, and uShare sees that). Any ideas?

  2. Do you have the latest version of the xbox 360 firmware?
    Also you have to use the patched version, the one on ushare’s site doesn’t work for videos.

  3. Yea I’ve got the latest version of the 360 firmware and I’m using the debs from this site. Using twonkymedia my 360 can see my videos fine D:.

  4. Just tested the 32bit package, I didn’t actually test it on the 360, but with geexbox, I have it in vmware server. So the 32bit package isn’t working correctly. I must of forgot to apply the patch, I thought I did, but I guess I forgot. After I get it working I’ll put a new package up.

  5. Re download the file above, it should work now hopefully. Make sure you stop ushare, if you ran it with the -D option then run killall ushare, I run it two times just to be sure.

  6. astroman says:

    I played the video once and it worked great, but now I’m getting a ‘cannot play because this may be unsupported’ message on my 360.

  7. Is it a different video? I was having the same problem try ffmpeg, info above. I think ffmpeg works better.

  8. I was getting those “cannot play …” messages earlier too. I had downloaded the Apple Addon from XBL Marketplace a long time ago. Redownloading it did the trick for me. Give that a try too maybe you have a similar situation.

    The 32bit version works great now, thanks. Glad to see there’s a free alternative, no twonkymedia :D.

  9. astroman says:

    I figured it out, it wouldn’t work while I tried to share 2 directories (one for music and one for video) but when I disabled the audio directory the video worked fine.

  10. My videos play fine with a audio folder, but the audio files don’t show up.

    -c /video/ -c /music/

    Thats what I use for two folders, and also if you want to see what its doing add -v to the command. Add >> sharelog.txt at the end of the command to produce a log file.

    Looks like two things have to be done to get audio to work:
    1. Only show videos in the video folder, and only show audio in the music folder.
    2. Actually play mp3s instead of getting an error or not playing, can’t remember which it does. Will try with just the audio folder to see what happens.

    Mp3s play fine for me, a new solution instead of using x360mediaplay would be to run two ushare’s both on different ports.

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

    Command 2:
    ushare -p 49154 -D -n music -x -c /music/

    Since their code has barely any comments it would be a pain to fix it, since I’m not really sure what anything is doing. So thats a temporary solution until somebody fixes it.

    Edit
    Well running two instances of it doesn’t really work, when searching for computers you’ll only see one of them. It also only shows 1,000 songs, and under Artists it just shows the song names. So I guess x360mediaserve is still better for music. Going to try adding -n videos to the first command though, to see if it works. Doesn’t really matter, as I can’t stream all my music, I have more then 1,000 songs.

    Contacted the developer of mediatomb, maybe I can help them add xbox 360 support.

  11. Am I missing something? I followed the steps above, but my 360 can’t discover my Ubuntu box. I’m fairly new to linux (after getting fed up with my upteenth Windows reinstall) and I’m trying to get the xbox media sharing enabled.

    I installed ushare and then libupnp from the links above and then ran the ushare command indicating my music folder. I’m assuming this share is recursive (no?). Is there something I’m missing or not doing to get the xbox to recognize the share? How can I tell what’s being shared and if the share is working?

    Thanks in advance.

  12. chronniff says:

    I had it working fine following the given instructions, but after I rebooted all of a sudden the darn thing stopped working….when I try and start it I get this:

    uShare (version 0.9.10), a lightweight UPnP Media Server.
    Benjamin Zores (C) 2005-2007, for GeeXboX Team.
    See http://ushare.geexbox.org/ for updates.
    Initializing UPnP subsystem …
    Cannot initialize UPnP subsystem
    Stopping UPnP Service …

    any ideas? I know it really isn’t giving much to go on here

  13. Jason did you run the ushare command with -x? Oh yeah and you can refresh the shares by going to http://localhost:49153/web/ushare.html.

    chronniff
    Try running it without -p 49153. Also are you running any other upnp servers? If so try only running ushare, and none of the others.

  14. I tried a few things and I can connect and play music now!

    A couple more questions:
    When my music is listed on the xbox side, it’s pretty ugly It shows the track number and the song name even when I try to view by album or artist. Does this have to do with the way ushare is sharing the music? Is there any way to clean this up?

    Also, I was using TVersity before moving to Ubuntu and it would transcode AAC files on the fly to share to the 360 so you wouldn’t have to convert all of your music to mp3. Do you or does anyone know of anything like this in the works for linux?

    Thanks for your help! Scratch one more reason to have Windows installed at all…

    Admin:
    Try 360mediaserve. I think it converts aac to mp3s. Sorry about the delay, your comment was marked as spam, stupid spam filter.

  15. I found your guide very helpful and your instructions worked perfectly.

    Does the patched uShare enable the streaming of h.264/x.264 files? These are also supported under the new patch. If I simply rename them .mov, won’t the Xbox recognize it as a supported codec and play them?

  16. It will play h.264 if you rename it to .mov.

  17. Tom, first off, you rock. Thanks for this guide it really helped me out. I have started transcoding some video files and they work great. I am having some troubles taking a dvd to a file format that is recognizable to the XBOX. Currently i am using dvd::rip to take them to “raw” unencrypted mpeg files and then I use avidemux with the settings you specify to turn it into an mp4 (Mpeg (lavc), aac, mp4, the .mov file extension). For some reason when i try to play it on the 360 it comes out as an unrecognized format. Have you taken a dvd to a format readable by the 360 before? Have you any suggestions for other methods i should try? Are there any file size / resolution limitations I should be aware of? Thanks again.

  18. Hey, I followed all directions but can’t get get my xbox 360 to see that i’m running media sharing software. This link doesn’t work for me either.. http://localhost:49153/web/ushare.html .. I had previousely ran this command per the geexbox ushare main page… route add -net 239.0.0.0 netmask 255.0.0.0 eth1 .. I don’t know what it does but maybe it has something to do with why nothing’s working. I’m kinda new to Linux, Thanks.

  19. Try running ushare without the -D option.
    ushare -p 49153 -x -c /media/sda1/MyVideos/converted/
    Before running that though run:
    killall ushare

    It will say something like
    “UPnP MediaServer listening on xxxx:xxxx”
    So you would go to http://xxxx:xxxx/web/ushare.html
    The first four x’s are the ip address, and the other are the port number. You can also try running it without the -p 49153 option.

  20. I’m getting somewhere. I ran it without the -D option and got this error.

    Can’t find interface eth0.
    Recheck uShare’s configuration and try again !

    I’m using eth1, can I change fix it or should I just switch my ethernet cord to the other port? That was a quick response btw. Thanks.

  21. Do the below in a terminal:

    sudo gedit /etc/ushare.conf

    Where it says “USHARE_IFACE=” after the equal sign put eth1.
    USHARE_IFACE=eth1

  22. New Error :( Sorry for the trouble.

    uShare (version 0.9.10), a lightweight UPnP Media Server.
    Benjamin Zores (C) 2005-2007, for GeeXboX Team.
    See http://ushare.geexbox.org/ for updates.
    Initializing UPnP subsystem …
    Cannot initialize UPnP subsystem
    Stopping UPnP Service …

    I have libupnp installed, is there something I need to configure? Thanks again.

  23. Which ushare package did you download? The 32bit package or the 64bit package?

  24. 64bit. I’m running the 64 bit version ubuntu feisty fawn 7.04

  25. Here’s some more info, don’t know if it’ll help at all. Connected through eth1, with static ip 192.168.0.11, subnet mask 255.255.255.0, default gateway 192.168.0.1

  26. Try the below:
    route del -net 239.0.0.0 netmask 255.0.0.0 eth1

    Hopefully that’ll fix it.

  27. Hmm…
    josh@josh-ubuntu:~$ route del -net 239.0.0.0 netmask 255.0.0.0 eth1
    SIOCDELRT: Operation not permitted
    josh@josh-ubuntu:~$ sudo route del -net 239.0.0.0 netmask 255.0.0.0 eth1
    Password:
    SIOCDELRT: No such process

  28. Post the output of netstat -r.

  29. Kernel IP routing table
    Destination Gateway Genmask Flags MSS Window irtt Iface
    192.168.0.0 * 255.255.255.0 U 0 0 0 eth1
    192.168.0.0 * 255.255.255.0 U 0 0 0 eth0
    link-local * 255.255.0.0 U 0 0 0 wlan0
    link-local * 255.255.0.0 U 0 0 0 eth0
    default 192.168.0.1 0.0.0.0 UG 0 0 0 eth1
    default 192.168.0.1 0.0.0.0 UG 0 0 0 eth0
    default * 0.0.0.0 U 0 0 0 wlan0

  30. Try running it without -p 49153.

  31. same thing

    josh@josh-ubuntu:~$ ushare -x -c /home/josh/Videos/Converted/
    uShare (version 0.9.10), a lightweight UPnP Media Server.
    Benjamin Zores (C) 2005-2007, for GeeXboX Team.
    See http://ushare.geexbox.org/ for updates.
    Initializing UPnP subsystem …
    Cannot initialize UPnP subsystem
    Stopping UPnP Service …
    josh@josh-ubuntu:~$

  32. Then try the below:
    sudo route add -net link-local netmask 255.255.0.0 eth1
    sudo ifdown eth1
    sudo ifup eth1

    If your internet doesn’t work after doing that, then run the below:
    sudo route del -net link-local netmask 255.255.0.0 eth1
    sudo ifdown eth1
    sudo ifup eth1

  33. josh@josh-ubuntu:~$ sudo route add -net link-local netmask 255.255.0.0 eth1
    josh@josh-ubuntu:~$ sudo ifdown eth1
    RTNETLINK answers: No such process
    postconf: fatal: open /etc/postfix/main.cf: No such file or directory
    josh@josh-ubuntu:~$ sudo ifup eth1
    RTNETLINK answers: File exists
    run-parts: /etc/network/if-up.d/avahi-autoipd exited with return code 2
    postconf: fatal: open /etc/postfix/main.cf: No such file or directory

    Sorry for all the trouble, and thanks for all the help, I’m getting to bed, it’s 11:15 over her, I’ll try getting to the bottom of this tomorrow after work. Thanks again.

  34. You can always try rebooting or running sudo /etc/init.d/networking restart. Though whenever I run /etc/init.d/networking restart, my internet doesn’t work at all. And I end up having to do ifdown and ifup.

  35. chronniff says:

    sorry for the late thank you, but thanks for the help, I think I was having issues with running the x360mediaserve at thesame time, whatever the problem was it seems to have fixed itself…regardless I thanks for the help

  36. I’ve tried rebooting, still having the same problems

    Initializing UPnP subsystem …
    Cannot initialize UPnP subsystem
    Stopping UPnP Service …

  37. Post your ushare.conf file.
    cat /etc/ushare.conf

    Maybe there’s an error in it.

  38. # /etc/ushare.conf
    # Configuration file for uShare

    # uShare UPnP Friendly Name (default is ‘uShare’).
    USHARE_NAME=

    # Interface to listen to (default is eth0).
    # Ex : USHARE_IFACE=eth1
    USHARE_IFACE=eth1

    # Port to listen to (default is random from IANA Dynamic Ports range)
    # Ex : USHARE_PORT=49200
    USHARE_PORT=

    # Directories to be shared (space or CSV list).
    # Ex: USHARE_DIR=/dir1,/dir2
    USHARE_DIR=

    # Use to override what happens when iconv fails to parse a file name.
    # The default uShare behaviour is to not add the entry in the media list
    # This option overrides that behaviour and adds the non-iconv’ed string into
    # the media list, with the assumption that the renderer will be able to
    # handle it. Devices like Noxon 2 have no problem with strings being passed
    # as is. (Umlauts for all!)
    #
    # Options are TRUE/YES/1 for override and anything else for default behaviour
    USHARE_OVERRIDE_ICONV_ERR=

  39. Post the output of route -n

  40. Kernel IP routing table
    Destination Gateway Genmask Flags Metric Ref Use Iface
    192.168.0.0 0.0.0.0 255.255.255.0 U 0 0 0 eth1
    192.168.0.0 0.0.0.0 255.255.255.0 U 0 0 0 eth0
    169.254.0.0 0.0.0.0 255.255.0.0 U 0 0 0 wlan0
    169.254.0.0 0.0.0.0 255.255.0.0 U 1000 0 0 eth1
    0.0.0.0 192.168.0.1 0.0.0.0 UG 0 0 0 eth0
    0.0.0.0 192.168.0.1 0.0.0.0 UG 0 0 0 eth1
    0.0.0.0 0.0.0.0 0.0.0.0 U 1000 0 0 wlan0

  41. Try running ushare with the below:
    ushare -i eth1 -c /path/to/videos/ -v

  42. same result
    Initializing UPnP subsystem …
    Cannot initialize UPnP subsystem
    Stopping UPnP Service …

  43. Did the other ushare work? The one without the patch.

  44. Nope, I just tried and got the same error.

  45. route add -net 239.0.0.0 netmask 255.0.0.0 eth1

    I guess you could try that again.

  46. Are you running any other upnp servers?

  47. didn’t help, this might be a lost cause :(

  48. Also the reason you are getting that error is either the ip address is incorrect or the port number is in use.

  49. no, i’m just running gaim, beryl, and uTorrent through wine

  50. i just turned off utorrent and it worked

  51. So its using the same port as utorrent. You should look in utorrent’s settings, and see what port it is using. Then run ushare with -p 4915x
    Replacing x with a different number, then the port utorrent is using.

  52. hmm, utorrent is using a different port, and now it seems to work fine with utorrent running, my 360 still doesn’t see that i’m running it though, I’m getting close.

  53. Did you re install the patched version? Also make sure you run it with -x.

  54. yeah I did, here’s what I get now

    josh@josh-ubuntu:~$ ushare -p 49153 -x -c /media/Archives/Videos/
    uShare (version 0.9.10), a lightweight UPnP Media Server.
    Benjamin Zores (C) 2005-2007, for GeeXboX Team.
    See http://ushare.geexbox.org/ for updates.
    Initializing UPnP subsystem …
    Starting in XboX 360 compliant profile …
    UPnP MediaServer listening on 192.168.0.103:49153
    Sending UPnP advertisement for device …
    Listening for control point connections …
    Building Metadata List …
    Looking for files in content directory : /media/Archives/Videos/
    Found 429 files and subdirectories.

    I have my ip set static at 192.168.0.11 yet it says it’s listening on 192.168.0.103, is this the issue?

  55. I got it all working!!! it was trying to listen on eth0 again, since i reinstalled it I forgot to re edit the config file, all is well now, Thank you very much.

  56. A big thanks for your postings. I’ve got ushare working great and have been tweaking your convert script. It doesn’t deal well with multiple ‘.’ characters in the filename. Thought you and others might find it useful if you run into those types of filenames….

    #!/bin/bash
    #Grab process id for tmp file name
    pidfile=$$.tmp
    #Path to where you want the converted videos to be
    o=”/home/yourpath/ushare/”
    $(echo $1 >> $pidfile)
    #Breaks up filename based on ‘.’ in name
    numRecs=$(cat $pidfile | awk -F. ‘{print NF}’)
    ((numRecs–))
    #take everything up until the last ‘.’ thus removing extenstion
    f=$(cut -d”.” -f1-$numRecs $pidfile);
    $(rm $pidfile)
    oo=”$o$f.mov”
    zenity –question –text=”Are you sure you want to convert $1 to $oo?”
    a=$?
    if [ $a -eq 0 ]
    then
    $(ffmpeg -y -i “$1″ -vcodec h264 -b 1000000 -acodec aac -ar 48000 -ab 160 -f mov “$oo”)
    $(zenity –info –text=”Done”)
    fi

  57. chronniff says:

    is there any word on when ushare without the patch will work for the 360? I know I am a brat I just like having it from the repositories so I don’t have to worry about paying attention to upgrades

  58. Last I heard was they had no time to work on ushare.

    “will be applied, but i have no time for that (or ushare in particular) right now.”

    http://www.geexbox.org/forum/viewtopic.php?t=8650&highlight=ushare#47879

  59. [...] it, somebody posted my ushare how to on digg. If it hits the front page, doesn’t look like it will, the site will be dead. Hmm [...]

  60. OrionOxotnik says:

    Very nice guide. I’d been struggling to get ushare & upnp to work in Fiesty all day. It really blows that there is such minimal support for sharing media to your XBOX360.

    Anyway, your guide got me a few steps further, but not all the way. On my Xbox I can see the files I share out — although multiple directories don’t seem to work. I shared some .mp4 files, and can get to them on the xbox, but they won’t play! They play locally from a USB drive (I had to do an update to play mp4s) but not through ushare. Music seems to play okay. Pictures are mostly viewable, but none of the movies I’ve tried have worked. Any ideas?

  61. Try sharing only movies.

  62. The newest version - Version 1.0 (not sure when it was released since the page at http://ushare.geexbox.org/ doesn’t give release dates) - says it fixes XboX 360 file discovery. Is this the 1000 file limit as discussed here? Has anyone tried this with any luck? I got it running on Ubuntu 7 with the instructions here, but I haven’t done anything with more than a few files. Pictures didn’t seem to work either.

  63. I don’t know. I haven’t tried it with very many files. If you have the source and looked in the change log file, it says the release date was 2007-07-05.

  64. Hi, It seems that i cant connect to my pc when i run the ushare app.
    The xbox360 cant find any computers…
    Am i missing something?

  65. wierd… it works now by some miracle… now i just need to convert some files :)

  66. Thanks for a great guide.

    I had trouble getting this up and running, but finally worked out all the kinks… except actually playing videos on my 360. It sees the videos, but it says the format isn’t supported. (The videos are mp4s, movs, wmvs, etc. I converted them in ffmpeg from the ubuntu repos. They won’t play on a flash drive either.) The first time I tried playing a video, it made me download the update; but when I said, “play” again, the screen went black nad stayed like that for a little while. I was impatient and reverted to my Dashboard with the guide button. After that, I haven’t been able to get anything to work.

    I’m going to tinker with it for a little while now, but I’m not betting on fixing it. Could I get some help please?

  67. Did you try restarting ushare? I don’t think the ffmpeg in the ubuntu repos have aac support. That’s why the videos don’t work probably. You can download ffmpeg with aac support below.

    http://linux.vanvalkinburgh.org/files/debs/ubuntu-feisty/ffmpeg_20070601-1_i386.deb

    or 64bit

    http://linux.vanvalkinburgh.org/files/debs/ubuntu-feisty/ffmpeg_20070531-1_amd64.deb

  68. Wait a sec, let me understand well here, so with uShare I would be able to stream stuff to the xBox but I still won’t be able to play unsupported videos as it does not transcode the videos on the fly right? Or is this possible?!? Anyhow, you guys r great and thanx for the great tutorial!

  69. No it doesn’t transcode on the fly.

  70. bummer! so there actually isn’t a way to do what for ex. tversity does for windoz, not even through a script, something like a symbolic link which is actually a pipe through ffmpeg or something - just guessing here, I’m a linux newbie - ?

  71. You might be able to start transcoding it on your computer, and then play the file while its transcoding. I don’t think making a symbolic link would work. The source code for ushare could be edited so it can do that.

  72. I’ve tried to convert videos as said avove, and they play well. But when i stream them with ushare i’m not able to play them.
    The 360 can see my shared folder in the pc, but when i press play button in one of them, it doesn’t start at all.
    Does anyone know what’s happening? Did i missed something?

  73. btw, thanks for the tutorial (i missed in the last comment)

  74. Did you use avidemux or ffmpeg?

  75. I use avidemux, playing it from a pendrive works well. The problem is only with ushare

  76. Are you only sharing videos?

    If not try sharing only videos.

  77. yes i’m only sharing videos in that folder. Should i try coding with ffmepg? (i thought that’s what avidemux use)

  78. You shouldn’t need to use ffmpeg, since it plays fine from a pendrive. Do you get any error messages?

  79. No error messages, it just do nothing at all. I press play and it does nothing. I’m getting crazy!
    The ushare’s .deb download link is patched, isn’t it? Just to be sure it’s not about the patch
    Anyway, thanks for your help! :D

  80. The deb is patched. The new version 1.0 doesn’t need the patch. What is the extension of the video file? It should be .mov.

  81. Oh, maybe that’s the problem. It’s MP4 as the container it’s that.
    I’ll rename to .mov and try again. Thanks

  82. Hmm,
    I have compiled ushare 1.0 and I am running it using the new -x switch. I go to my xbox : Multimedia / Music / Computer / Yes, Continue … Searching … “No computer found with multimedia sharing software”

    ushare is running, listening on 49153 and the output on the console doesnt mention anything wrong. I can connect using a web browser to http://192.168.1.2:49153/web/ushare.html
    Is tehre anything else I should check?

    thanks

  83. Are you running a firewall? If you are, then you need to open that port. So your xbox can see it.

  84. Hey all,

    I’m trying to install ushare with apt-get, I’ve added the repository to the sources.list file. When I issue a “sudo apt-get install ushare” in terminal, I receive this error message:

    The following packages have unmet dependencies:
    ushare: Depends: libc6 (>= 2.6) but 2.5-0ubuntu14 is to be installed
    Depends: libupnp2 but it is not installable
    E: Broken packages

    Anyone?

    Thanks!

  85. Are you using ubuntu or debian? If ubuntu, I don’t think their repository will work with ubuntu. If you’re using debian, you can try asking on geexbox’s forum.

    http://www.geexbox.org/forum/index.php

  86. you need to install the libupnp2 that is linked here, not the repository one.
    by the way, my ushare is working (just a little lag) thanks “admin”.
    It was the .mov issue you told me before

  87. Hi!
    I have ushare 1.0 running on my centos 5 machine, and my 360 connects to it successfully. However, when I choose a file and select ‘Play’, nothing happens. No error message, nothing. I know the file works, because I got it to stream from my MBP running Connect360. Whenever I start ushare, I get the following warning:
    Warning: can’t parse file “NONE/etc/ushare.conf”.
    As such, I have to set all of ushare’s options when I run ushare. I cannot figure out how to fix this error. I checked the file in /usr/local/etc/init.d/ushare, and it links to /etc/ushare.conf, where I definitely have a proper ushare.conf file.
    This could all be related to problems I had getting ushare to run in the first place… I installed libupnp in /usr/local/lib, then installed ushare. It installed fine, but whenever I went to run it, it could not find the libupnp files, so I linked all of them to /usr/lib, and it worked.

    I am new to linux, and I don’t really know what I’m doing, so if anyone could help me, I would be extremely grateful!

  88. You compiled it yourself correct?

    You need to re compile it:

    make clean
    ./configure --prefix=/

  89. Before doing anything like that, do I need to delete my current install?

  90. Yeah you probably should, run make uninstall as root.

  91. I’ve got my set up working, but want to run ushare as a daemon under arch linux. It loads and I can access it to load the web interface, but I can’t get it to autoload the xbox complient profile automatically. Is there something I can add to the ushare.conf file to get it to load that parameter?

  92. Thanks a lot for the help. The xbox now plays the files it could previously see.
    I am curious though as to what make clean does, as well as what –prefix=/ does.

  93. make clean removes everything make compiled, and –prefix=/ tells ./configure where the etc, and other folders can be found. Before it was looking for the etc directory in NONE/etc, which doesn’t exist.

  94. Ah. Do those commands work for the majority of packages?

    I’ve run into another problem, although I believe it is an issue with libupnp rather than ushare. I am attempting to play a movie that has a file size of 3.65 gigs. When I select play, nothing happens, but if I attempt to play files sized around 200mb, it works fine. Again, I streamed the movie from my laptop to see if the problem was with the file.
    I am now looking for info on libupnp’s handling of large files.

  95. It seems I have libupnp 1.6.0 installed, and I did not configure it with –disable-largefile, so I am somewhat mystified as to why my movie will not play.

  96. make clean and –prefix work with most packages.

    https://sourceforge.net/tracker/?func=detail&atid=841028&aid=1762783&group_id=166957

    You might need to apply that patch.

  97. https://sourceforge.net/tracker/index.php?func=detail&aid=1762758&group_id=166957&atid=841026
    The comments here make it seem as if this patch is already part of libupnp 1.6.0.

    http://geexbox.org/forum/viewtopic.php?t=8199&highlight=ushare
    This is the forum post where I found a first mention of the patch. The problem the patch solves seems to be seeking past 2gb; the patch creator could play large files up to a point.

  98. Alright, so after experimenting further, I have discovered that I have no idea what my problem is. I now have several 200mb files that were encoded the exact same way as the one that works, but they do not play. If I stream them from my laptop, they work fine. Wait - I just noticed that the file that works ends in .mov. I feel rather foolish now… I’ll see if that solves the problem.

  99. OK, so all the files I encoded myself work fine when I change their extension to .mov. However, my movie does not, so I suppose I am stuck transcoding it. Anyway, thanks again for all the help. Even reading through the comment section here is incredibly useful.

  100. Hmm, I seem to only be able to get my xbox to connect to ushare about 50% of the time. And then about %50 of the time it connects it will find an actual file list. Does anyone have it stable? I’d like to know if this is a problem with my network/firewall settings or just unstable code?!

  101. Probably unstable code.

  102. [...] informacion la saque del Linux HowTo Blog. Habia estado varias semanas buscando una forma de hacer esto hasta que por fin he visto la [...]

  103. Does anyone know if you still need to download the patch? I just installed the ushare w/out the path and all of the other .deb packages. Everything worked flawlessly. But when I view the folder im sharing from my 360 i cannot play any of the files. I get no errors, its just that whenever i click play, nothing happens. I am using .mp4 for video and .mp3 for audio. Let me know if i did anything wrong. I was thinking maybe to just try a reinstall. But to do that do i run : ushare make uninstall ;;;; ushare make clean ;;;; o what should i do? And is installation really that simple? just click and run the debs? Let me know guys! Im anxious to start streaming my media.
    Thanks!

  104. You don’t need the patch anymore. Also try changing the extension of the video file to .mov instead of .mp4.

  105. I did that, but even my mp3s wont play

  106. I am using handbrake, and it makes my movie files .mp4. Then i change the name to .mov. The movies still will not play

  107. Are you using version 1.0 of ushare? Also try only sharing videos or music.

  108. Yes i am using version 1.0. is there a certain encoder i should be using when converting DVDs to mpg4? I use handbrake, but it saves as mp4, and even when i change the name to .mov my xbox will still not play. Is there a certain type of audio encoder like AAC or something i should be using. Thanks!

  109. The audio for the video should be AAC.

    http://www.xbox.com/en-US/support/systemuse/xbox360/digitalmedia/videoplaybackfaq.htm?WText.camp=Hardware&WText.campSrc=RSS

    The above link is an FAQ for videos supported by the xbox 360.

  110. Is there any way to get ushare to recognize more formats than just mov? I have downloaded a bunch of movies and some just wont work. even after i convert them with avedmux. I convert a whole bunch the same way and a couple wont work. Is this just because they must not be able to convert or something?

  111. I installed uShare, followed the guide, and going to http://localhost:49153/web/ushare.html shows that the folder I configured is shared. Yet, my 360 does not see it at all. Any ideas?

    netstat -r produces:

    Kernel IP routing table
    Destination Gateway Genmask Flags MSS Window irtt Iface
    192.168.0.0 * 255.255.255.0 U 0 0 0 eth1
    link-local * 255.255.0.0 U 0 0 0 eth1
    default 192.168.0.1 0.0.0.0 UG 0 0 0 eth1

  112. Geez, one minute after posting, I get the idea to turn off Pidgin, just in case it was using the port. Yep, uShare works now. Thanks!

  113. Does anyone have any idea how to make ushare share .avi files while still communicating with the Xbox 360? After today’s xbox update, I tried not using the -x command line argument, but the xbox didn’t see the share at all. With the -x argument, it doesn’t seem to see .avi files…

  114. Thanks for the guide. I just want to say that I spent the last hour trying to figure out why my xbox could see the share but no videos, so I thought of renaming the videos from .avi to .mov and now everything runs perfectly. I assumed that with the new divx/xvid enabled update the xbox would see them but it didn’t.

    Thank you!

  115. Thanks for the info about the update. Also it appears as though there’s a new version of ushare. My linux computer isn’t running ubuntu anymore, so I get provide the a package of the new version, but if it does compile on os x successfully, then I will be able to provide a compiled binary for os x.

    They provide ubuntu packages, for ubuntu 7.10 on http://ushare.geexbox.org/#Download.

  116. Any thoughts on why my 360 refuses to even see the ubuntu box when ushare is running? It sees my wmp sharing just fine…

    I’m just not even sure where to start digging on this.

  117. It’s propably pretty easy to have the DivX/Xvid files work with .avi extension. I believe Ushare just doesn’t send the info of the files that weren’t supported, so a patch to Ushare will propably fix this.

    Taken from http://ubuntuforums.org/showthread.php?t=631213&highlight=xbox+streaming&page=2

    “I made a quick hack to the ushare source code to make this work. No guarantees, but it worked fine for me. If you want to make this change, you will need to compile ushare from source code. Edit the mime.c file on line 38 - it should look like this:

    Code:

    { “avi”, UPNP_VIDEO, “http-get:*:video/x-msvideo:”},

    Change it to this:

    Code:

    { “avi”, UPNP_VIDEO, “http-get:*:video/x-ms-wmv:”},

    This basically just tricks ushare into thinking the avi files are wmv files so they will be shared with the xbox. The Xbox still can read them as AVI files and plays them fine. I’ve tested with a few xvid movies, and they work great.

    EDIT This is with version 1.1 that I am testing. Good luck”

  118. Ushare 1.1 doesn’t work for me. I’ve tried installing it from both source and from Ubuntu repos, and all I get is:
    bash: /bin/ushare: No such file or directory

  119. Ushare might be in /usr/bin, instead of bin. Or /usr/local/bin. If you go to the source folder and type cat config.log, you should see something like “install prefix /usr/local”, so for me its /usr/local/bin/ushare. Rebooting might solve that problem, so you won’t have to put the full path.

  120. I didnt compile ushare from source code like Liek said, so i don’t know how to edit the mime.c config file. Also i was wondering how i could go about getting the new ushare update on ubuntu 7.10. Thanks~

  121. Or if someonce could just explain to me how to compile ushare 1.1 that would also help. Thanks. Im just trying to stream .avi files so i can stop converting everything to .mov. It is time consuming and defeats the purpose. Thanks

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

  123. 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.

  124. 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?

  125. 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.

  126. 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

  127. 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

  128. 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.

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

  130. 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

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

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

Leave a Reply