Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
Wanted: DLNA Media Server
View unanswered posts
View posts from last 24 hours

Goto page 1, 2  Next  
Reply to topic    Gentoo Forums Forum Index Multimedia
View previous topic :: View next topic  
Author Message
BigBaaadBob
Guru
Guru


Joined: 19 Apr 2003
Posts: 342
Location: Swampscott, MA USA

PostPosted: Sat Dec 30, 2006 10:16 pm    Post subject: Wanted: DLNA Media Server Reply with quote

Is there a FOSS DLNA media server? I've looked on sourceforge, done google searches, etc... Haven't really found anything.
Back to top
View user's profile Send private message
madisonicus
Veteran
Veteran


Joined: 20 Sep 2006
Posts: 1130

PostPosted: Sat Dec 30, 2006 10:37 pm    Post subject: Reply with quote

Since the DLNA and DRM are intimately related I doubt you'll ever see a FOSS version of it or any FOSS interoperability with that project:
http://www.dlna.org/en/industry/about/faq/ wrote:
19: Will DLNA address digital rights management?

Digital rights management (DRM) is an important issue that must be addressed to achieve the ideal user experience targeted by DLNA members. One of DLNA’s goals is to incorporate an industry-accepted DRM solution into the Interoperability Guidelines to enable commercial content flow within the home network. To that end, DLNA will assess various rights management systems being considered by the marketplace.


However, you will find that projects like mythTV (http://gentoo-wiki.com/HOWTO_Setup_MythTV) and Freevo (http://gentoo-wiki.com/Freevo) might be viable open source solutions.

HTH,
m
_________________
Please add [SOLVED] to your message title if you feel that your question has been answered.
------
Intel Q9300 Core2 Quad * Gigabyte GA-EP35C-DS3R
Samsung x360
AMD64 x2 4200+ * TF7050-M2 * HTPC
ZOTAC ION A-U Mini-ITX * HTPC
Back to top
View user's profile Send private message
BigBaaadBob
Guru
Guru


Joined: 19 Apr 2003
Posts: 342
Location: Swampscott, MA USA

PostPosted: Sun Dec 31, 2006 2:39 am    Post subject: Reply with quote

madisonicus wrote:
Since the DLNA and DRM are intimately related I doubt you'll ever see a FOSS version of it


My desire is to use one of the many DLNA compatible set-top players you can purchase. I'd expect you can construct a server that will work with them without having to deal with DRM, or at least I'd hope so. IOW, I hope it is possible to do DLNA without doing DRM on the server side. Since I own the media and it isn't protected by DRM I won't be violating any copyright laws, etc.
Back to top
View user's profile Send private message
apyh
n00b
n00b


Joined: 17 Mar 2003
Posts: 70
Location: Texas

PostPosted: Tue May 15, 2007 7:47 pm    Post subject: Reply with quote

https://coherence.beebits.net/
Back to top
View user's profile Send private message
rburcham
Apprentice
Apprentice


Joined: 20 Mar 2003
Posts: 243

PostPosted: Fri May 25, 2007 12:31 am    Post subject: Reply with quote

Coherence looks like the way to go for us PS3 owners w/ the new 1.8 firmware. Time for an ebuild perhaps?

EDIT

Strike that, here are some gentoo-friendly install steps... maybe an ebuild later:

Code:

# wget http://peak.telecommunity.com/dist/ez_setup.py
# emerge twisted twisted-web elementtree soappy -v
# python ez_setup.py
# easy_install Coherence
# easy_install Louie
# wget http://www.voidspace.org.uk/cgi-bin/voidspace/downman.py?file=configobj-4.4.0.zip
# unzip configobj-4.4.0.zip ; cd configobj-4.4.0 ; python setup.py build ; python setup.py install ; cd ..
# wget http://divmod.org/trac/attachment/wiki/SoftwareReleases/Nevow-0.9.18.tar.gz?format=raw
# tar zxvf Nevow-0.9.18.tar.gz ; cd Nevow-0.9.18 ; python setup.py build ; python setup.py install ; cd ..
# emerge dev-python/ctypes (required for 'filesystem' MediaServer, may need to keyword/unmask)


Now to configure it and try it out with the PS3 as a controller/renderer. It starts a webserver... need to add/configure plugins...

Gonna try

Code:
https://coherence.beebits.net/browser/trunk/coherence/backends/fs_storage.py


EDIT

Looks like fs_storage requires INotify support built into the kernel (likely userspace INotify too)...
Back to top
View user's profile Send private message
coherence
n00b
n00b


Joined: 25 May 2007
Posts: 3

PostPosted: Fri May 25, 2007 12:13 pm    Post subject: Reply with quote

Hi,

I'm Frank, the developer of Coherence and found about this thread in our webservers log. :-)

rburcham wrote:
Coherence looks like the way to go for us PS3 owners w/ the new 1.8 firmware. Time for an ebuild perhaps?

Thanks for proposing it!

Coherence doesn't work with the PS3 yet, but we are at this very moment working on it.
The PS3 seems to expect a few "things" which we haven't yet sorted out. :-(

madisonicus wrote:

Since the DLNA and DRM are intimately related I doubt you'll ever see a FOSS version of it


DLNA is a specification on top of UPnP A/V to define a minimum of functionality the participating devices have to supply.
To serve or to render DRM-protected content is one of these functionalities.
But serving or rendering of DRM-free content is of course provided by these MediaServers and MediaRenderers too.

I'll soon have access to the DLNA specs - thx to Fluendo, the developers of Elisa - and this will help and accelerate the steps needed for proper DLNA compatibility.
And maybe the whole DRM stuff is already history until then. 8-)

So pls follow the timeline in the Coherence wiki or stop by @ irc://irc.freenode.net/#coherence.
And I'll keep you posted about the PS3 progress.

Regards,
Frank
Back to top
View user's profile Send private message
rburcham
Apprentice
Apprentice


Joined: 20 Mar 2003
Posts: 243

PostPosted: Fri May 25, 2007 1:49 pm    Post subject: Reply with quote

Frank, thanks for the info. Good to know you guys are working on PS3 support.

I just sent the following email to John and Tim - I wonder if you could give an opinion:

Code:
John & Tim,

First, I *am* registering and will post this question on the wiki :)

... but as I think this could be a quickie I am going to be bold and zap it right to you:  I am porting fs_storage to PPC.  The only rub is with INotify.   I need to assign the init, add_watch and rm_watch syscall IDs to the _inotify_syscalls constants matrix defined on line 79 of extern/inotify.py, and key them with the machine name "ppc".

How does one determine those IDs?  I know PPC has INotify support and is built into the current kernel.  I can run 'strings' against the kernel and see all the inotify symbols, including the 3 named above.  How do I determine what the proper syscall IDs are?

Using the x86 ID values fails to instantiate a proper obj (line 140).  Thanks in advance for help.

Oh, and I'll provide patches when I am done.

Rob


Also, do you have any opinions regarding these other alternatives:

http://www.gnu.org/software/gmediaserver/
http://mediatomb.cc/
http://ushare.geexbox.org/
Back to top
View user's profile Send private message
coherence
n00b
n00b


Joined: 25 May 2007
Posts: 3

PostPosted: Fri May 25, 2007 4:27 pm    Post subject: Reply with quote

rburcham wrote:

How does one determine those IDs? I know PPC has INotify support and is built into the current kernel. I can run 'strings' against the kernel and see all the inotify symbols, including the 3 named above. How do I determine what the proper syscall IDs are?

these are defined in the linux kernel.

In my kernel headers here the file for i386 is /usr/src/linux-headers-2.6.20-15/include/asm-i386/unistd.h, and it defines #define __NR_inotify_init 291.

There is a file include/asm-powerpc/unistd.h, and there we have #define __NR_inotify_init 275.

rburcham wrote:

Also, do you have any opinions regarding these other alternatives:

http://www.gnu.org/software/gmediaserver/
http://mediatomb.cc/
http://ushare.geexbox.org/


I've used gmediaserver and ushare myself, and both are quite usable in serving file-system organized media content.
The Coherence FSStore is somehow comparable to them.

I haven't any experience with mediatomb, which seems so have more features for example in terms of metadata support.
The new MediaStore with tags support and album art, and the ElisaStore are the Coherence counterparts.

Regards,
Frank
Back to top
View user's profile Send private message
rburcham
Apprentice
Apprentice


Joined: 20 Mar 2003
Posts: 243

PostPosted: Fri May 25, 2007 7:28 pm    Post subject: Reply with quote

Cool thanks, I think that's what I needed. 275, 276, 277 then. I realize the PS3 is going to need more than generic UPnP, but I'll wiki up the PPC patch anyway.

EDIT

Well, I got coherence to start, but I cannot get the web interface to display devices - it always throws an error when iterating through the device list?

Code:
Coherence UPnP framework version 0.2.1 starting...
directing output to logfile coherence.log
tail: coherence.log: file truncated
2007/05/25 22:33 CDT [-] nevow.appserver.NevowSite starting on 30020
2007/05/25 22:33 CDT [-] Starting factory <nevow.appserver.NevowSite instance at 0x306cba30>
2007/05/25 22:33 CDT [-] Coherence: WebServer on port 30020 ready
2007/05/25 22:33 CDT [-] Coherence: Can't load plugin GStreamerPlayer, maybe missing dependencies...
2007/05/25 22:33 CDT [-] Coherence: Can't load plugin ElisaPlayer, maybe missing dependencies...
2007/05/25 22:33 CDT [-] Coherence: Activating FSStore plugin as MediaServer...
2007/05/25 22:33 CDT [-] Service: ContentDirectory has a missing callback for optional action CreateObject, action disabled
2007/05/25 22:33 CDT [-] Service: ContentDirectory has a missing callback for optional action MoveObject, action disabled
2007/05/25 22:33 CDT [-] Service: ContentDirectory has a missing callback for optional action ImportResource, action disabled
2007/05/25 22:33 CDT [-] Service: ContentDirectory has a missing callback for optional action ExportResource, action disabled
2007/05/25 22:33 CDT [-] Service: ContentDirectory has a missing callback for optional action GetTransferProgress, action disabled
2007/05/25 22:33 CDT [-] Service: ContentDirectory has a missing callback for optional action CreateReference, action disabled
2007/05/25 22:33 CDT [-] MediaServer: VMars on /homea MediaServer (FSStore) activated
2007/05/25 22:33 CDT [HTTPChannel,0,192.168.0.1] 192.168.0.1 - - [26/May/2007:03:33:42 +0000] "GET /b5065ce1-5e7e-4da9-b40e-bae23ca32d70/description-2.xml HTTP/1.0" 200 2350 "-" "Twisted PageGetter"
2007/05/25 22:33 CDT [HTTPChannel,1,127.0.0.1] Rendered new LivePage <coherence.web.ui.WebUI object at 0x30958750>: 'aadb64ed6232a043127f8dfb76caab8a'
2007/05/25 22:33 CDT [HTTPChannel,1,127.0.0.1] 127.0.0.1 - - [26/May/2007:03:33:51 +0000] "GET / HTTP/1.1" 200 3500 "-" "Mozilla/5.0 (X11; U; Linux ppc; en-US; rv:1.8.0.8) Gecko/20061117 Firefox/1.5.0.8"
2007/05/25 22:33 CDT [HTTPChannel,1,127.0.0.1] 127.0.0.1 - - [26/May/2007:03:33:52 +0000] "GET /aadb64ed6232a043127f8dfb76caab8a/jsmodule/Divmod HTTP/1.1" 200 13043 "http://localhost:30020/" "Mozilla/5.0 (X11; U; Linux ppc; en-US; rv:1.8.0.8) Gecko/20061117 Firefox/1.5.0.8"
2007/05/25 22:33 CDT [HTTPChannel,1,127.0.0.1] 127.0.0.1 - - [26/May/2007:03:33:52 +0000] "GET /aadb64ed6232a043127f8dfb76caab8a/jsmodule/Divmod.Base HTTP/1.1" 200 6965 "http://localhost:30020/" "Mozilla/5.0 (X11; U; Linux ppc; en-US; rv:1.8.0.8) Gecko/20061117 Firefox/1.5.0.8"
2007/05/25 22:33 CDT [HTTPChannel,1,127.0.0.1] 127.0.0.1 - - [26/May/2007:03:33:52 +0000] "GET /aadb64ed6232a043127f8dfb76caab8a/jsmodule/Divmod.Defer HTTP/1.1" 200 13108 "http://localhost:30020/" "Mozilla/5.0 (X11; U; Linux ppc; en-US; rv:1.8.0.8) Gecko/20061117 Firefox/1.5.0.8"
2007/05/25 22:33 CDT [HTTPChannel,1,127.0.0.1] 127.0.0.1 - - [26/May/2007:03:33:52 +0000] "GET /aadb64ed6232a043127f8dfb76caab8a/jsmodule/Divmod.Runtime HTTP/1.1" 200 32443 "http://localhost:30020/" "Mozilla/5.0 (X11; U; Linux ppc; en-US; rv:1.8.0.8) Gecko/20061117 Firefox/1.5.0.8"
2007/05/25 22:33 CDT [HTTPChannel,1,127.0.0.1] 127.0.0.1 - - [26/May/2007:03:33:52 +0000] "GET /aadb64ed6232a043127f8dfb76caab8a/jsmodule/Nevow HTTP/1.1" 200 1 "http://localhost:30020/" "Mozilla/5.0 (X11; U; Linux ppc; en-US; rv:1.8.0.8) Gecko/20061117 Firefox/1.5.0.8"
2007/05/25 22:33 CDT [HTTPChannel,1,127.0.0.1] 127.0.0.1 - - [26/May/2007:03:33:52 +0000] "GET /aadb64ed6232a043127f8dfb76caab8a/jsmodule/Nevow.Athena HTTP/1.1" 200 37772 "http://localhost:30020/" "Mozilla/5.0 (X11; U; Linux ppc; en-US; rv:1.8.0.8) Gecko/20061117 Firefox/1.5.0.8"
2007/05/25 22:33 CDT [HTTPChannel,1,127.0.0.1] 127.0.0.1 - - [26/May/2007:03:33:53 +0000] "GET /aadb64ed6232a043127f8dfb76caab8a/jsmodule/Coherence HTTP/1.1" 200 308 "http://localhost:30020/" "Mozilla/5.0 (X11; U; Linux ppc; en-US; rv:1.8.0.8) Gecko/20061117 Firefox/1.5.0.8"
2007/05/25 22:33 CDT [HTTPChannel,1,127.0.0.1] 127.0.0.1 - - [26/May/2007:03:33:53 +0000] "GET /aadb64ed6232a043127f8dfb76caab8a/jsmodule/MochiKit HTTP/1.1" 200 171670 "http://localhost:30020/" "Mozilla/5.0 (X11; U; Linux ppc; en-US; rv:1.8.0.8) Gecko/20061117 Firefox/1.5.0.8"
2007/05/25 22:33 CDT [HTTPChannel,1,127.0.0.1] 127.0.0.1 - - [26/May/2007:03:33:54 +0000] "GET /aadb64ed6232a043127f8dfb76caab8a/jsmodule/Coherence.Base HTTP/1.1" 200 3262 "http://localhost:30020/" "Mozilla/5.0 (X11; U; Linux ppc; en-US; rv:1.8.0.8) Gecko/20061117 Firefox/1.5.0.8"
2007/05/25 22:33 CDT [HTTPChannel,1,127.0.0.1] 127.0.0.1 - - [26/May/2007:03:33:54 +0000] "GET /aadb64ed6232a043127f8dfb76caab8a/jsmodule/Coherence.Devices HTTP/1.1" 200 1331 "http://localhost:30020/" "Mozilla/5.0 (X11; U; Linux ppc; en-US; rv:1.8.0.8) Gecko/20061117 Firefox/1.5.0.8"
2007/05/25 22:33 CDT [HTTPChannel,1,127.0.0.1] 127.0.0.1 - - [26/May/2007:03:33:54 +0000] "GET /aadb64ed6232a043127f8dfb76caab8a/jsmodule/Coherence.Logging HTTP/1.1" 200 889 "http://localhost:30020/" "Mozilla/5.0 (X11; U; Linux ppc; en-US; rv:1.8.0.8) Gecko/20061117 Firefox/1.5.0.8"
2007/05/25 22:33 CDT [HTTPChannel,1,127.0.0.1] 127.0.0.1 - - [26/May/2007:03:33:55 +0000] "GET /aadb64ed6232a043127f8dfb76caab8a/__athena_private__/connection-status-down.png HTTP/1.1" 200 3976 "http://localhost:30020/" "Mozilla/5.0 (X11; U; Linux ppc; en-US; rv:1.8.0.8) Gecko/20061117 Firefox/1.5.0.8"
2007/05/25 22:33 CDT [HTTPChannel,1,127.0.0.1] WebUI: device = [<coherence.upnp.core.device.RootDevice instance at 0x306cba80>]
2007/05/25 22:33 CDT [HTTPChannel,1,127.0.0.1] Unhandled error in Deferred:
2007/05/25 22:33 CDT [HTTPChannel,1,127.0.0.1] Traceback (most recent call last):
          File "/usr/lib/python2.4/site-packages/Coherence-0.2.1-py2.4.egg/coherence/upnp/core/utils.py", line 111, in handleResponse
            self.factory.page(response)
          File "/usr/lib/python2.4/site-packages/Coherence-0.2.1-py2.4.egg/coherence/upnp/core/utils.py", line 125, in page
            self.deferred.callback((page, self.response_headers))
          File "/usr/lib/python2.4/site-packages/twisted/internet/defer.py", line 229, in callback
            self._startRunCallbacks(result)
          File "/usr/lib/python2.4/site-packages/twisted/internet/defer.py", line 294, in _startRunCallbacks
            self._runCallbacks()
        --- <exception caught here> ---
          File "/usr/lib/python2.4/site-packages/twisted/internet/defer.py", line 307, in _runCallbacks
            self.result = callback(self.result, *args, **kw)
          File "/usr/lib/python2.4/site-packages/Coherence-0.2.1-py2.4.egg/coherence/upnp/core/device.py", line 131, in gotPage
            tree = utils.parse_xml(data, 'utf-8').getroot()
          File "/usr/lib/python2.4/site-packages/Coherence-0.2.1-py2.4.egg/coherence/upnp/core/utils.py", line 23, in parse_xml
            p = ET.XMLParser(encoding=encoding)
        exceptions.AttributeError: 'module' object has no attribute 'XMLParser'

2007/05/25 22:33 CDT [HTTPChannel,1,127.0.0.1] Sending error to browser:
2007/05/25 22:33 CDT [HTTPChannel,1,127.0.0.1] Traceback (most recent call last):
          File "/usr/lib/python2.4/site-packages/nevow/athena.py", line 434, in renderHTTP
            response = self.messageDeliverer.basketCaseReceived(ctx, messageData)
          File "/usr/lib/python2.4/site-packages/nevow/athena.py", line 638, in basketCaseReceived
            self.livePage.liveTransportMessageReceived(ctx, msg)
          File "/usr/lib/python2.4/site-packages/nevow/athena.py", line 886, in liveTransportMessageReceived
            method(ctx, *args)
          File "/usr/lib/python2.4/site-packages/nevow/athena.py", line 899, in action_call
            result = defer.maybeDeferred(func, *args, **kwargs)
        --- <exception caught here> ---
          File "/usr/lib/python2.4/site-packages/twisted/internet/defer.py", line 107, in maybeDeferred
            result = f(*args, **kw)
          File "/usr/lib/python2.4/site-packages/Coherence-0.2.1-py2.4.egg/coherence/web/ui.py", line 104, in going_live
            _,_,_,device_type,version = device.get_device_type().split(':')
        exceptions.ValueError: need more than 1 value to unpack

2007/05/25 22:33 CDT [HTTPChannel,1,127.0.0.1] 127.0.0.1 - - [26/May/2007:03:33:55 +0000] "POST /aadb64ed6232a043127f8dfb76caab8a/transport HTTP/1.1" 200 419 "-" "Mozilla/5.0 (X11; U; Linux ppc; en-US; rv:1.8.0.8) Gecko/20061117 Firefox/1.5.0.8"
2007/05/25 22:33 CDT [HTTPChannel,3,127.0.0.1] Athena transport duplicate message, discarding: 'aadb64ed6232a043127f8dfb76caab8a' 3L
2007/05/25 22:33 CDT [HTTPChannel,3,127.0.0.1] Athena transport duplicate message, discarding: 'aadb64ed6232a043127f8dfb76caab8a' 4L


I added a log.warning to dump the device object, and it's there, however it seems get_device_type() might be returning null or empty or whatever. Not a big python guy. Either way, I know I should be posting this on the wiki, and I will, but I know you guys have other fish to fry.

In the meantime I set up ushare (link in previous post) and it seems to mostly work. That is, I can *browse* shares via the PS3.

Code:
ushare -v -D -i eth1 -c /homea/DivX/


I only tested with avis though, and upon selecting a clip the PS3 indicates a "connection error" and fails to play the clip. The ushare console output leaves a lot to be desired in the way of debugging. If I run ushare with the -x (xbox360 compatibility) switch, the PS3 cannot browse at all.

The ushare webpage indicates the need for a multicast route too... not sure why though. I set up the mcast route on eth1 and bound ushare to that interface, but the PS3 behaves the same way. I didn't see any way to set an mcast route for the ps3 anyway, so not sure how this would be used in any event.

I think I'll give gmedia a shot here in a bit.
Back to top
View user's profile Send private message
rburcham
Apprentice
Apprentice


Joined: 20 Mar 2003
Posts: 243

PostPosted: Sat May 26, 2007 8:20 pm    Post subject: Reply with quote

gmediaserver seems to be audio only. In any event, the PS3 sees it, but cannot browse it, complaining of the same "connection" error described with ushare in 360 mode.

So ushare seems 'closest' to actually working, as in basic mode the PS3 can browse, but fails to connect and play once a piece of media is selected.
Back to top
View user's profile Send private message
azote
Guru
Guru


Joined: 17 Sep 2002
Posts: 415

PostPosted: Mon May 28, 2007 4:16 am    Post subject: Reply with quote

Video and photo play via UPnP works on the PS3 via uShare

http://subvida.com/browse-and-play-videosmusic-with-ps3-via-network-upnp-to-your-linux-box/24/05/2007/

but no mp3 play yet
_________________
contact me -> azote@mail.i2p

What do you want to emerge today?

if you think that a person is normal, it is because you do not know them well
Back to top
View user's profile Send private message
rburcham
Apprentice
Apprentice


Joined: 20 Mar 2003
Posts: 243

PostPosted: Mon May 28, 2007 10:37 pm    Post subject: Reply with quote

Agreed - more experimentation indicates the PS3 recognizes and plays MPG videos using mpeg2/mp3. AVI container doesn't seem to be recognized at all. DivX & XviD are right out. AC3 audio seems to be a wash too.
Back to top
View user's profile Send private message
rburcham
Apprentice
Apprentice


Joined: 20 Mar 2003
Posts: 243

PostPosted: Wed May 30, 2007 12:31 am    Post subject: Reply with quote

Mediatomb is the way to go - least headache, most value & features w/ version 0.9.1

http://mediatomb.cc/
Back to top
View user's profile Send private message
coherence
n00b
n00b


Joined: 25 May 2007
Posts: 3

PostPosted: Mon Jun 11, 2007 8:32 am    Post subject: Reply with quote

Hi,

coherence wrote:

So pls follow the timeline in the Coherence wiki or stop by @ irc://irc.freenode.net/#coherence.
And I'll keep you posted about the PS3 progress.


as a follow up on my own post I'm happy to announce that the PS3 now retrieves
mp3, mpeg2 and jpegs from a Coherence MediaServer.
Transcoding is next on the list.

Regards,
Frank
Back to top
View user's profile Send private message
Kein
n00b
n00b


Joined: 28 Jun 2006
Posts: 13
Location: Ithaca, NY

PostPosted: Mon Aug 20, 2007 6:27 pm    Post subject: Reply with quote

I just got a linux DLNA server to hook up to my PS3 last night, and here are my suggestions.

I used uShare, it works for me without any configuration and seams to be fast and reliable. Only thing I had to do was pass in my net interface (i use eth1 not eth0) and the content directory.

My guess is most people who have problems are having problems with the media format, not the actual dlna server. Although the PS3 website lists a couple formats that it 'supports' it either doesn't support them well, or transcode/mencode/linux don't write the formats out exact enough for the PS3 to understand. Most of mp3s were in the correct enough format for it to work, so I havn't played with transcoding those yet, but here's how I did video.

I used avidemux for encoding because it seems to be the least hassle, and it was easy to correctly specify the container format. It uses some non-security tested libraries, which is unfortunate, but I havn't had a problem with it yet.
1) Open up your file that you want to transcode
2) Set the video codec to SVCD (lavc)
3) Remember to go into the 'configure' menu below the codec selection one. For some reason avidemux doesn't check aspect ratios of the files and you have to set it manually. If it's a weird aspect ration go into the filters menu and remember to add black borders so that it comes out to 4:3 or 16:9
4) Set the audio codec to FFm MP2
5) Set the format to MPEG PS A+V
6) Click on save, chose a location, and let it do it's thing!

The files that come out of this are a bit larger than they would be with a divx/xvid coding by something like 1/7th. works out to be 400ish megs on a 350 original. However, they play perfectly on the PS3 which is really what matters. Unfortunately I think you loose all special audio encoding (dobly digital/pro logic/etc) I'm still playing around creating H264/MP4 files, but havn't succeded with anything other than getting my PS3 to crash when trying to play a file.

Let me know if this helps you, or if you cou ld use a bit more help!
--Kein
_________________
All that is gold does not glitter;
Not all those who wander are lost;
Back to top
View user's profile Send private message
optik_knight
n00b
n00b


Joined: 15 Apr 2005
Posts: 12
Location: eastern Washington, western Idaho, USA

PostPosted: Thu Sep 20, 2007 7:21 pm    Post subject: uShare ebuild? Reply with quote

I'm looking at uShare at the moment. I was wondering if anyone had prepped an ebuild and/or init scripts for it, since these would be quite nice to have for widespread use of this product among Gentoo users.

I've never built an ebuild myself, so I'm not quite sure what all it requires. I'll start writing init scripts as soon as I have it fully installed, and I'll share them when they're functional.
Back to top
View user's profile Send private message
optik_knight
n00b
n00b


Joined: 15 Apr 2005
Posts: 12
Location: eastern Washington, western Idaho, USA

PostPosted: Thu Sep 20, 2007 7:52 pm    Post subject: Init scripts, etc Reply with quote

For what it's worth:

http://www.nas-central.org/index.php?title=Ushare_-_UPnP_Media_Server_for_Linux

Lists an example configuration file and init script

EDIT: Call me unattentive. Apparently during build it produces its own initscript (which i haven't gotten working yet) and a config file with no values inserted... Even so, it might be nice to have some gentoo-specific stuff, for convenience and nice integration.
Back to top
View user's profile Send private message
darkphader
Veteran
Veteran


Joined: 09 May 2002
Posts: 1217
Location: Motown

PostPosted: Tue Nov 06, 2007 8:06 pm    Post subject: Reply with quote

mediatomb svn is working good here for the PS3
uses any app you want to do transcoding (i'm currently using ffmpeg)

http://www.deadlock.dhs.org/jin/mt-tr-howto.txt
_________________
WYSIWYG - What You See Is What You Grep
Back to top
View user's profile Send private message
robostac
n00b
n00b


Joined: 26 Aug 2003
Posts: 34

PostPosted: Fri Dec 07, 2007 12:13 pm    Post subject: Re: uShare ebuild? Reply with quote

optik_knight wrote:
I'm looking at uShare at the moment. I was wondering if anyone had prepped an ebuild and/or init scripts for it, since these would be quite nice to have for widespread use of this product among Gentoo users.

I've never built an ebuild myself, so I'm not quite sure what all it requires. I'll start writing init scripts as soon as I have it fully installed, and I'll share them when they're functional.


My (very basic) init files. Seems to correctly start / stop the service. Currently setup for a XBOX360 ( -x in OPTIONS).

/etc/init.d/ushare
Code:

#!/sbin/runscript
# Copyright 1999-2007 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2

depend() {
        need net
}

start() {
        ebegin "Starting uShare"
        if [ -e $CONF ]
        then
                start-stop-daemon --start --background --chuid $USER \
                        --make-pidfile --pidfile /var/run/ushare.pid \
                        --exec $COMMAND -- $OPTIONS -f $CONF
                eend $? "Failed to start uShare"
        else
                eend 1 "Failed to find config ($CONF)"
        fi
}

stop() {
        ebegin "Stopping uShare"
        start-stop-daemon --stop --pidfile /var/run/ushare.pid
        eend $? "Failed to stop uShare"
}


/etc/conf.d/ushare
Code:

COMMAND=/usr/local/bin/ushare
OPTIONS="-x"
CONF=/etc/ushare.conf
USER=ushare


/etc/ushare.conf
Code:

USHARE_NAME=ushare
USHARE_IFACE=eth0
USHARE_PORT=49152
USHARE_DIR=/mnt/ftp
Back to top
View user's profile Send private message
SDNick484
Apprentice
Apprentice


Joined: 05 Dec 2005
Posts: 231

PostPosted: Fri Dec 07, 2007 7:55 pm    Post subject: Reply with quote

I spent the better part of yesterday evening getting fuppes to play well with my Xbox. I also tried Coherence, ushare, and x360mediaserve. I believe fuppes also supports the PS3; their forums on sourceforge are quite active (I posted a question at 11:3PM PST and someone had answered it by midnight). I built fuppes from SVN, but I read in the forums there's an ebuild for it.

Coherence seems like it has a lot of potential; I built it through a combination of easy_install and yum (this is on a Fedora Core 7 machine). I couldn't get it (or ushare) to categorize my music by Album or Artist (it just grouped them as all songs), hence my move to fuppes. I believe the issue was taglib not being detected properly; whatever the case I now have fuppes working with both music and videos (no transcoding needed, plays Xvid straight up).

When building ushare, I found this DLNA library: http://libdlna.geexbox.org/
Back to top
View user's profile Send private message
Pragmataraxia
n00b
n00b


Joined: 17 Feb 2004
Posts: 2

PostPosted: Fri Feb 15, 2008 7:05 pm    Post subject: DLNA PS3 ebuild Reply with quote

For those looking for a DLNA server for a PS3, I've created an ebuild for fuppes here: https://bugs.gentoo.org/attachment.cgi?id=143430&action=view

The ebuild includes an init script, and a configuration file pre-set to transcode for the PS3 on the fly. In fact, if your media is in /media and the interface you want to share on is eth0, all you need to do is:
# emerge fuppes
# /etc/init.d/fuppes start
Back to top
View user's profile Send private message
jurrie
Apprentice
Apprentice


Joined: 14 Mar 2004
Posts: 177
Location: Netherlands

PostPosted: Wed Mar 12, 2008 6:20 pm    Post subject: Reply with quote

Thanks for the ebuild, it is working perfectly. I was just about to try out fuppes and it really came in handy :-)
Back to top
View user's profile Send private message
miataninja
n00b
n00b


Joined: 12 May 2007
Posts: 4

PostPosted: Tue Jun 10, 2008 11:45 am    Post subject: Re: DLNA PS3 ebuild Reply with quote

Pragmataraxia wrote:
For those looking for a DLNA server for a PS3, I've created an ebuild for fuppes here: https://bugs.gentoo.org/attachment.cgi?id=143430&action=view

The ebuild includes an init script, and a configuration file pre-set to transcode for the PS3 on the fly. In fact, if your media is in /media and the interface you want to share on is eth0, all you need to do is:
# emerge fuppes
# /etc/init.d/fuppes start


..except that the link doesn't work...

EDIT: found the bug for the fuppes ebuild: https://bugs.gentoo.org/show_bug.cgi?id=209490
Back to top
View user's profile Send private message
k9dog
Tux's lil' helper
Tux's lil' helper


Joined: 22 Jun 2009
Posts: 103
Location: Denmark

PostPosted: Thu Feb 01, 2018 7:37 pm    Post subject: Reply with quote

You can use the PS3 media server too, but it works best with supplied tools. Put them in an alternative directory and tell PMS to use those instead. Used them for a while, but I think I'll go for a more open source solution next time. Worked with other clients/renders too. Had it working with samsung TV too, but next time I'll find a better solution. These days the PS3 gfx chip seems dead. I will make previous NAS machine a head on tv screen (it is hdmi provided and already running gentoo.. my old laptop use Gentoo too as the Go7400 card couldn't run well on even Windows 7 and Legacy driver stopped being updated for windows 7, but was on Linux). On Gentoo, I can play games and run VLC Considering killing my last Windows which I used for mostly for WoW :) Old Laptop is too slow for this, but I think new one will fly on Wine.
Back to top
View user's profile Send private message
Tony0945
Watchman
Watchman


Joined: 25 Jul 2006
Posts: 5127
Location: Illinois, USA

PostPosted: Thu Feb 01, 2018 8:59 pm    Post subject: Reply with quote

Are you looking for a device or DLNA software?

Right in the portage tree: https://webcache.googleusercontent.com/search?q=cache:qe5Fxuq2LWMJ:https://packages.gentoo.org/packages/net-misc/minidlna+&cd=1&hl=en&ct=clnk&gl=us

You can view the output with VLC on Amazon firestick. Also ROKU but Roku won't display MPEG like firestick. I think mp4 works.
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Multimedia All times are GMT
Goto page 1, 2  Next
Page 1 of 2

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum