Page 1 of 2

media played by uShare

Posted: Fri Aug 07, 2009 3:41 pm
by cpg
does anyone know what all media types are played by uShare?

definitely: divx and mpeg (some types) on the xbox

however, i cannot get it to play high definition files in the xbox, but i do not know why:

the files are listed as

Code: Select all

.mkv: Matroska data
i am not sure if it's the xbox or ushare.

Re: media played by uShare

Posted: Mon Oct 05, 2009 2:51 pm
by cavingman
thats an issue with the xbox.
I ended up building a mediapc w/ ubuntu & boxee just to play these files.

Re: media played by uShare

Posted: Tue Oct 06, 2009 11:03 am
by nemolomen
Speaking from experience...

The files you are trying to play have most likely been compressed with an H264 codec of some kind. I have a similar problem on our Wii systems using MPlayer CE via the HomeBrew Channel. They actually play but the Wii video hardware can't decode fast enough so it is really choppy.

However, running XBMC on a Win XP (Home) box will play these files. This machine is a budget Dell Dimension 2350 from around 2003. I installed an IMON Mini IR Receiver (Best Buy $40) and we use our DirecTV remotes to control it.

HTPC Specs: P4 2.0 GHz with 768 MB Ram and a regular PCI NVIDIA GeForce 6200 card w/svideo out.

On the other hand, our setup is not actually streaming from the server side. The HTPC, as well as the our two Wii consoles, have read only access to the video share on the HDA, so they are pulling what they need when they need it. I think this is different from the way a streaming server would work.

Re: media played by uShare

Posted: Fri Oct 09, 2009 4:30 am
by pluscool
.mkv files plays flawlesly on my TVIX 6500A using uShare.

Re: media played by uShare

Posted: Tue Nov 10, 2009 6:26 am
by moredruid
I've been trying to get my DLNA TV to play the content served by the hda, but all I get is the error "file format not supported".
On the positive side: the TV does see the Amahi (uShare) service and I can browse through the files.
I've changed the ushare.conf to enable dlna (as needed for PS3).

My TV is most likely built on linux (looking at the update files at least, I see an rc.local and other assorted stuff), so I would think they would use the same dlna libraries as Amahi. (libdlna, libdlna-devel & libupnp). Unfortunately libdlna is not actively maintained anymore :(

I've found some info on the web regarding this, it seems that the TV requires all (movie?) content to be of type MPEG.
I've read about recompiling the library or adding custom headers...

I will update my TV to the latest release and check again.

Re: media played by uShare

Posted: Tue Nov 10, 2009 12:45 pm
by moredruid
OK I was searching for a solution and at least for me I've found one so I think I'd share the goodness...
there's a package called minidlna (around 1M in size) which very nicely does what I want: stream to my TV :D

There's no need to install, just unpack and run the executable which I think is very convenient.
I've put it in /usr/local/src
unpacked it looks like this
/usr/local/src/minidlna
|-/etc/minidlna.conf
|-/usr/sbin/minidlna

Re: media played by uShare

Posted: Tue Nov 10, 2009 1:35 pm
by moredruid
I've taken the liberty of creating an "amahi-minidlna" kind of application.
Feel free to test (on your own risk of course :))

you can download the source file (1.1MB) from here.

what to do?
save the file to your /tmp or /usr/local/src directory
unpack it:
tar -xvzf amahi-minidlna.tgz
go inside the amahi_minidlna directory:
cd amahi_minidlna
run the install script (if it doesn't work chmod it like this: "chmod 755 install.sh"):
./install.sh

The install script will install the amahi-minidlna service for you and some assorted other stuff...
It will echo the default values on your screen if you feel the need to modify some settings.
Of course you are free to read the script before running it if you like.

For the testers among us: please test if everything is working as it should and report feedback to me... e-mail is in the init and install script. If someone wants to make it a proper app, please do so (or teach me!) :geek:

Edit: tested myself in a VM, fixed some errors in the scripts, updated the source file

Re: media played by uShare

Posted: Tue Nov 10, 2009 3:06 pm
by cpg
sweet!

i tried to package it (from source), however, it needs some libraries that i don't know of ..

Code: Select all

minidlna$ make ./genconfig.sh ERROR! Cannot continue. The following required libraries are either missing, or are missing development headers: libavcodec libavformat libavutil libid3tag libexif make: *** [config.h] Error 1
this looks very nice ... but we need to package it to be able to manage it ...

Re: media played by uShare

Posted: Wed Nov 11, 2009 8:04 am
by pjcrux
however, i cannot get it to play high definition files in the xbox, but i do not know why:
the files are listed as

Code: Select all

.mkv: Matroska data
i am not sure if it's the xbox or ushare.
http://answers.yahoo.com/question/index ... 257AAJooxv

This is the best I could find at work... my corporate IT dept blocks anything from MS's Xbox360 website.

ONe of the issues that I have been able to resolve is that the XBox does not play dvix encoded codecs. it will play Xvid but dvix is not supported by MS.

Re: media played by uShare

Posted: Wed Nov 11, 2009 8:27 am
by moredruid
That is probably due to needing a license for DivX (which is probably waaaaay too expensive for a firm like Microsoft :roll:)