media played by uShare

User avatar
cpg
Administrator
Posts: 2618
Joined: Wed Dec 03, 2008 7:40 am
Contact:

media played by uShare

Postby cpg » Fri Aug 07, 2009 3:41 pm

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.
My HDA: Intel(R) Core(TM) i5-3570K CPU @ 3.40GHz on MSI board, 8GB RAM, 1TBx2+3TBx1

cavingman
Posts: 4
Joined: Wed Feb 25, 2009 5:25 pm

Re: media played by uShare

Postby cavingman » Mon Oct 05, 2009 2:51 pm

thats an issue with the xbox.
I ended up building a mediapc w/ ubuntu & boxee just to play these files.

nemolomen
Posts: 36
Joined: Sat Dec 13, 2008 5:46 pm
Location: Vermont

Re: media played by uShare

Postby nemolomen » Tue Oct 06, 2009 11:03 am

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

My HDA (3rd): ECS A770M-A, Phenom X3 2.4 GHz, 2 GB DDR2 800MHz, / 40 GB, /home 80 GB, data 1TB, 500GB, 320GB

User avatar
pluscool
Posts: 16
Joined: Thu Apr 23, 2009 10:59 am
Location: Oslo, Norway

Re: media played by uShare

Postby pluscool » Fri Oct 09, 2009 4:30 am

.mkv files plays flawlesly on my TVIX 6500A using uShare.

User avatar
moredruid
Expert
Posts: 791
Joined: Tue Jan 20, 2009 1:33 am
Location: Netherlands
Contact:

Re: media played by uShare

Postby moredruid » Tue Nov 10, 2009 6:26 am

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.
echo '16i[q]sa[ln0=aln100%Pln100/snlbx]sbA0D2173656C7572206968616D41snlbxq' | dc
Galileo - HP Proliant ML110 G6 quad core Xeon 2.4GHz, 4GB RAM, 2x750GB RAID1 + 2x1TB RAID1 HDD

User avatar
moredruid
Expert
Posts: 791
Joined: Tue Jan 20, 2009 1:33 am
Location: Netherlands
Contact:

Re: media played by uShare

Postby moredruid » Tue Nov 10, 2009 12:45 pm

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
echo '16i[q]sa[ln0=aln100%Pln100/snlbx]sbA0D2173656C7572206968616D41snlbxq' | dc
Galileo - HP Proliant ML110 G6 quad core Xeon 2.4GHz, 4GB RAM, 2x750GB RAID1 + 2x1TB RAID1 HDD

User avatar
moredruid
Expert
Posts: 791
Joined: Tue Jan 20, 2009 1:33 am
Location: Netherlands
Contact:

Re: media played by uShare

Postby moredruid » Tue Nov 10, 2009 1:35 pm

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
Last edited by moredruid on Wed Nov 11, 2009 1:39 am, edited 1 time in total.
echo '16i[q]sa[ln0=aln100%Pln100/snlbx]sbA0D2173656C7572206968616D41snlbxq' | dc
Galileo - HP Proliant ML110 G6 quad core Xeon 2.4GHz, 4GB RAM, 2x750GB RAID1 + 2x1TB RAID1 HDD

User avatar
cpg
Administrator
Posts: 2618
Joined: Wed Dec 03, 2008 7:40 am
Contact:

Re: media played by uShare

Postby cpg » Tue Nov 10, 2009 3:06 pm

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 ...
My HDA: Intel(R) Core(TM) i5-3570K CPU @ 3.40GHz on MSI board, 8GB RAM, 1TBx2+3TBx1

pjcrux
Moderator
Posts: 123
Joined: Sun Jan 04, 2009 11:40 am
Location: San Antonio, TX

Re: media played by uShare

Postby pjcrux » Wed Nov 11, 2009 8:04 am

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.
Community Advocate
HP Proliant Micro Server N40L, AMD Turion II Neo x2 1.5GHz;
8GB ECC-DDR3; 250GB for OS, 3x1TB.

"Experience has taught mankind the necessity of auxiliary precautions"
-James Madison, Federalist Paper No. 51

User avatar
moredruid
Expert
Posts: 791
Joined: Tue Jan 20, 2009 1:33 am
Location: Netherlands
Contact:

Re: media played by uShare

Postby moredruid » Wed Nov 11, 2009 8:27 am

That is probably due to needing a license for DivX (which is probably waaaaay too expensive for a firm like Microsoft :roll:)
echo '16i[q]sa[ln0=aln100%Pln100/snlbx]sbA0D2173656C7572206968616D41snlbxq' | dc
Galileo - HP Proliant ML110 G6 quad core Xeon 2.4GHz, 4GB RAM, 2x750GB RAID1 + 2x1TB RAID1 HDD

Who is online

Users browsing this forum: No registered users and 5 guests