Closed GoogleCodeExporter closed 9 years ago
[deleted comment]
I managed to get it running after changing the default version to Java 6 (use
the
Java Preferences utility for this if anyone is wondering). It finds the PS3
without
problems and the PS3 lists all my files.
When I try to play a file that needs to be transcoded I get the following error
in
the console:
[Thread-142] TRACE 19:34:31.580 Starting transcode of
The.Dark.Knight.1080p.mkv
Exception in thread "Thread-142" java.lang.NullPointerException
at java.lang.Thread.init(Thread.java:349)
at java.lang.Thread.<init>(Thread.java:429)
at net.pms.io.ProcessWrapperImpl.<init>(ProcessWrapperImpl.java:47)
at net.pms.encoders.MEncoderVideo.launchTranscode(MEncoderVideo.java:927)
at net.pms.dlna.DLNAResource.getInputStream(DLNAResource.java:622)
at net.pms.network.Request.answer(Request.java:171)
at net.pms.network.RequestHandler.run(RequestHandler.java:125)
at java.lang.Thread.run(Thread.java:637)
The PS3 says that the data is corrupted. Files that don't need to be transcoded
show
the error 'The data type is not supported' on the PS3, with no error in the
console.
The java version is now: Java(TM) SE Runtime Environment (build
1.6.0_07-b06-153)
Screenshot: http://img76.imageshack.us/img76/9430/picture1eq7.png
Original comment by robinmul...@gmail.com
on 17 Dec 2008 at 6:53
mencoder was not found I guess. Like Linux, you need mencoder and ffmpeg recent
builds (OSX of course) on the path
Original comment by ps3mediaserver@gmail.com
on 17 Dec 2008 at 7:10
After installing mplayer and ffmpeg through macports non-transcoded stuff and
thumbnails on videos now work. Transcoded video gives the following error:
[Timer-161] DEBUG 20:57:50.683 Buffered Space: 0 bytes
[mencoder] INFO 20:57:50.683 Attaching thread: mencoder
[Thread-1139] DEBUG 20:57:50.706 MEncoder 1.0rc2-4.0.1 (C) 2000-2007 MPlayer
Team
[Thread-1139] DEBUG 20:57:50.706 CPU: Intel(R) Core(TM)2 Duo CPU E8235 @
2.80GHz
(Family: 6, Model: 23, Stepping: 6)
[Thread-1139] DEBUG 20:57:50.706 CPUflags: Type: 6 MMX: 1 MMX2: 1 3DNow: 0
3DNow2: 0
SSE: 1 SSE2: 1
[Thread-1139] DEBUG 20:57:50.706 Compiled for x86 CPU with extensions: MMX MMX2
SSE SSE2
[Thread-1139] DEBUG 20:57:50.709 115 audio & 237 video codecs
[Thread-1136] DEBUG 20:57:50.711 -ass is not an MEncoder option
[Thread-1139] DEBUG 20:57:50.711 Exiting... (error parsing command line)
[mencoder] DEBUG 20:57:50.712 EOF
[mencoder] TRACE 20:57:50.712 Process mencoder has a return code of 1! Maybe an
error
occured... check the log file
[mencoder] INFO 20:57:50.712 Stopping process: mkfifo
[Timer-161] DEBUG 20:57:51.683 Buffered Space: 0 bytes
According to http://wiki.multimedia.cx/index.php?title=MPlayer_FAQ the -ass
option
doesn't work with mencoder but I'm not sure if it's related.
Original comment by robinmul...@gmail.com
on 17 Dec 2008 at 8:05
I would love to have this working on Mac OS X.
My assumption is that since it's Java-based it should work... but what do I
know? :P
Original comment by johan.ma...@gmail.com
on 17 Dec 2008 at 8:10
try disable "ass subtitles" in "transcoding settings->mencoder" configuration
panel
Original comment by ps3mediaserver@gmail.com
on 17 Dec 2008 at 8:12
btw, your mplayer/mencoder build is of 2007, I'm sure there are more recent
ones out
there :p
like here maybe ?
http://stefpause.com/apple/mac/mplayer-os-x-10rc1-and-mencoder-binaries/
Original comment by ps3mediaserver@gmail.com
on 17 Dec 2008 at 8:15
You can run it now, but you'll need to do some work and as noted above
transcoding
won't work (yet). These are the steps to get it running in OSX:
- Make sure you have the latest updates for OSX and Java (both will show up in
the
software update utility), you will probably also need Leopard as older versions
don't
have support for Java 6.
- Run the application Java Preferences and under Java application versions drag
Java
SE 6 to the top position (if you don't have this application or Java SE 6 is not
listed make sure you have done step 1)
- Install macports (http://www.macports.org/)
- Open a console
- Since macports installs into /opt/local make sure that /opt/local/bin and
/opt/local/sbin are in your PATH (run 'echo $PATH' to check this and run 'export
PATH=/opt/local/bin:/opt/local/sbin:/usr/bin:/bin:/usr/sbin:/sbin:/usr/local/bin
:/usr/X11/bin'
to set it).
- Install mplayer and ffmpeg by running 'port install mplayer ffmpeg' (note:
this can
take a while, there are a lot of dependencies)
- Download the Linux version of ps3mediaserver and extract it somewhere
- Open a console and cd to the directory you extracted it in (for instance 'cd
Downloads/pms-linux-1.00/')
- Make sure that PMS.sh is executable by running 'chmod +x PMS.sh'
- Start the app by running './PMS.sh'
That's it, it should be working then.
Original comment by robinmul...@gmail.com
on 17 Dec 2008 at 8:27
With those newer builds transcoding works now but it's very slow, dropping
frames
quite a bit on 720p (2.8ghz Core 2 Duo, 2 GB memory).
I'll try to find a newer binary or build my own.
Original comment by robinmul...@gmail.com
on 17 Dec 2008 at 8:36
ok, you have a powerful CPU, so don't forget to check if the network/settings
are not
the limiting factor (if you are wireless, this is somewhat normal, PMS default
settings are more wired friendly)
Anyway, if you manage to have a working solution (a recent build would be
great, ass
support is only a few months old for example), I'd love a software package to
upload
it here :p
Original comment by ps3mediaserver@gmail.com
on 17 Dec 2008 at 8:49
I have a wired network, 100mbit though.
It seems to be doing much better with my own build but I've encountered a few
other
bugs that are probably not related to OSX. I'll have to check tomorrow on a
Windows
machine to verify.
I'll also make a build of ffmpeg and mencoder from the latest sources that
should
work on a default OSX install and post it here. It should be easy to make a OSX
build
with those included :)
Original comment by robinmul...@gmail.com
on 17 Dec 2008 at 9:32
Here's a screenshot of transcoding in OSX:
http://img88.imageshack.us/img88/1291/picture2kx8.png
Original comment by robinmul...@gmail.com
on 17 Dec 2008 at 9:38
I got it working in OSX as well using macports and manually downloading the
latest
binaries of mencoder/mplayer as both of you stated above.
Thanks!
Will be even nicer with ready-to-download working binaries from this site.
Nice work!
Original comment by johan.ma...@gmail.com
on 17 Dec 2008 at 9:53
I've attached the latest builds, fresh from svn.
Someone needs to test these on a fresh system though, to make sure they work
without
dependencies.
MEncoder dev-SVN-r28158-4.0.1 (C) 2000-2008 MPlayer Team
CPU: Intel(R) Core(TM)2 Duo CPU E8235 @ 2.80GHz (Family: 6, Model: 23,
Stepping: 6)
CPUflags: Type: 6 MMX: 1 MMX2: 1 3DNow: 0 3DNow2: 0 SSE: 1 SSE2: 1
Compiled for x86 CPU with extensions: MMX MMX2 SSE SSE2
FFmpeg version SVN-r16184, Copyright (c) 2000-2008 Fabrice Bellard, et al.
configuration:
libavutil 49.12. 0 / 49.12. 0
libavcodec 52. 7. 0 / 52. 7. 0
libavformat 52.23. 1 / 52.23. 1
libavdevice 52. 1. 0 / 52. 1. 0
built on Dec 17 2008 23:03:48, gcc: 4.0.1 (Apple Inc. build 5490)
Original comment by robinmul...@gmail.com
on 17 Dec 2008 at 10:18
Attachments:
thanks, can you add the mplayer binary too ? it's used for audio
streaming/transcoding
Original comment by ps3mediaserver@gmail.com
on 17 Dec 2008 at 10:41
Also of interest, you can directly link to Java 6:
/System/Library/Frameworks/JavaVM.framework/Versions/1.6/Commands/java
That way you don't have the change the order in your Java preferences and you
don't
need to setup anything. I've tested this by changing back the order to the
default.
Attached is a modified shell script that works for OSX.
This, together with the binaries makes for a smooth install without any setup.
Although you'll probably want a normal launcher instead of a shell script to
start
the app.
Original comment by robinmul...@gmail.com
on 17 Dec 2008 at 11:33
Attachments:
found this, but does not seems we can easily change the java virtual machine
path
http://developer.apple.com/documentation/Java/Conceptual/Jar_Bundler/Packaging/c
hapte
r_3_section_1.html#//apple_ref/doc/uid/TP40000884-CH203-BABJGADF
anyway, thanks again, I will create and upload a package with your files, as a
beta
version
Original comment by ps3mediaserver@gmail.com
on 17 Dec 2008 at 11:53
Yeah I've already played with that app but didn't have any luck yet, I'll try
again
tonight. Would be nice if that works.
I've just tested my binaries on another OSX install and they seem to work fine.
Original comment by robinmul...@gmail.com
on 18 Dec 2008 at 10:03
I just uploaded a first try here:
http://ps3mediaserver.googlecode.com/svn/trunk/ps3mediaserver/dist/pms-osx-1.01.
zip
osx users, feedbacks are welcome :)
Original comment by ps3mediaserver@gmail.com
on 18 Dec 2008 at 12:19
i can't get the mac version to work. I constantly get there are no titles when
i enter a folder.
can't play .avi files ps3 says unsuported data. And all the youtube movies are
corrupted.
Original comment by Mhube...@gmail.com
on 18 Dec 2008 at 2:11
The problem is that the execution bit is not set on the binaries. You can fix
this by
using 'chmod +x *' in the osx directory. I'll upload a working version later
that
fixes this.
Original comment by robinmul...@gmail.com
on 18 Dec 2008 at 3:09
This version should work out of the box:
http://files.exonet.nl/ps3/pms-osx-1.01.zip
I'm working on a packaged version so you don't need to use a console.
Original comment by robinmul...@gmail.com
on 18 Dec 2008 at 5:59
thanks !
can you be more precise with the thing about execution bit not set on binaries
and/or
packaging ? cause I do not see differences between the zip package I made and
yours
(same CRC, same files except the OSX_README.txt)
Original comment by ps3mediaserver@gmail.com
on 18 Dec 2008 at 6:17
The only change is a chmod +x on those binaries, but no need anymore I have a
better
solution now.
I used the JAR bundler to create a OSX app that works just like any other app
and
packaged it up in the OSX .dmg format. No need for any console anymore, you can
just
drag the app to your applications folder and it will work.
I've used settings in the Jar bundler that enforce Java 6 automatically and
also pass
the parameters that were in the shell script without actually using any shell
script.
http://files.exonet.nl/ps3/PS3%20Media%20Server.dmg
You might want to host it here, I can't seem to upload files bigger then 10mb.
I've
also attached a screenshot.
It works perfect for me but feedback is welcome.
Original comment by robinmul...@gmail.com
on 18 Dec 2008 at 6:53
Attachments:
Thanks !
I've put it on the front page, so let's wait if someone complains :)
Original comment by ps3mediaserver@gmail.com
on 18 Dec 2008 at 7:35
Java 1.6 is only available in Leopard. Is it possible to switch the java
version to
1.5 so the program can be used on Tiger as well?
Original comment by kouzinop...@gmail.com
on 19 Dec 2008 at 8:18
Seems really good, a little slow on my 2.0ghz mac though. I'm mainly using M4V,
seems to lose sync now and then, it also has a huge performance hit on my
machine.
Good work though guys.
Original comment by crispy...@gmail.com
on 19 Dec 2008 at 9:40
Yes, you will need a pretty powerful pc to use transcoding properly, this is on
all
platforms though.
I just noticed that web videos don't work on OSX. You use videolan for this but
how
do you call it? I added a vlc binary to my path but that doesn't seem to help.
The
log also doesn't help, it starts the transcoding and then immediately closes the
connection.
Original comment by robinmul...@gmail.com
on 19 Dec 2008 at 10:38
it's a simple "vlc" command on the current dir
Original comment by ps3mediaserver@gmail.com
on 19 Dec 2008 at 10:40
Hello, I used to use PS3 Media Server on my mac through VMWare fusion which has
windows vista installed on it and now I downloaded and installed the mac
version but
I have one problem with it.
When I open the program it initializes using network interface "vmnet"
[main] TRACE 21:16:56.462 Starting Java PS3 Media Server v1.01
[main] TRACE 21:16:56.465 by shagrath / 2008
[main] TRACE 21:16:56.465 http://ps3mediaserver.blogspot.com
[main] TRACE 21:16:56.466
[main] TRACE 21:16:56.466 Java 1.6.0_07-Apple Inc.
[main] TRACE 21:16:56.467 OS Mac OS X x86_64 10.5.6
[main] TRACE 21:16:56.467 Encoding: MacRoman
[main] TRACE 21:16:56.636 Registering transcoding engine FFmpeg Audio
[main] TRACE 21:16:56.639 Registering transcoding engine MEncoder
[main] TRACE 21:16:56.641 Registering transcoding engine MPlayer Audio
[main] TRACE 21:16:56.641 Registering transcoding engine MEncoder Web
[main] TRACE 21:16:56.642 Registering transcoding engine MPlayer Video Dump
[main] TRACE 21:16:56.643 Registering transcoding engine MPlayer Web
[main] TRACE 21:16:56.644 Registering transcoding engine TsMuxer
[main] TRACE 21:16:56.644 Registering transcoding engine Audio High Fidelity
[main] TRACE 21:16:56.645 Registering transcoding engine VideoLan Audio
Streaming
[main] TRACE 21:16:56.645 Registering transcoding engine VideoLan Video
Streaming
[main] TRACE 21:16:56.646 Registering transcoding engine FFmpeg DVR-MS Remux
[main] TRACE 21:16:56.765 Using address /172.16.189.1 found on network
interface:
name:vmnet1 (vmnet1) index: 9 addresses: /172.16.189.1;
[main] TRACE 21:16:56.765 Created socket: /172.16.189.1:5001
[Thread-11] TRACE 21:16:56.786 Starting DLNA Server on host 172.16.189.1 and
port 5001...
[main] TRACE 21:16:57.464 It's ready! You should see the server appears on XMB
I tried forcing the IP address to the ip address of my mac which is 192.168.1.3
but
the program plays a movie for a little bit then it crashes.
The funny thing is that vmnet is the network bridge between my Mac and VMWare
Fusion's Windows Vista. There are 5 VMnet processes running wether I have
VMware open
or not. I even tried restarting the computer and VMnet is still running. When I
open
the activity monitor and physically close down each VMnet process then PS3 Media
Server binds to the correct ip address (192.168.1.3) and everything works fine.
After I had everything working by closing the vmnet processes I tried
transcoding
using TsMuxer and all I get is "corrupt data" I was trying to use TsMuxer
because it
uses less bandwidth and processing power than Mencoder and everytime I try
playing
this one 1080p movie I have PS3 Media Server shows a negative buffer status and
the
file never actually starts playing, the PS3 just sits on a black screen like its
still trying to transcode the file. This only happens with one 1080p movie file
I
have, it works with other 1080p files that are of a little lesser video
quality. But
either way TsMuxer doesnt work with any videos I have at all. Do I need to
install
TsMuxer on the Mac? Thanks for any help.
Original comment by ImSofaKi...@gmail.com
on 20 Dec 2008 at 2:29
"I tried forcing the IP address to the ip address of my mac which is
192.168.1.3 but
the program plays a movie for a little bit then it crashes."
I'm not sure your crash is network related
Original comment by ps3mediaserver@gmail.com
on 20 Dec 2008 at 8:56
Please file a new bug on the vmware/network issue. I've noticed this as well
but it's
beyond the scope of this bug. The workaround is indeed to drop the vmnet*
devices.
Tsmuxer is currently not included in the OSX build, I'll work on this.
Original comment by robinmul...@gmail.com
on 20 Dec 2008 at 11:45
"it's a simple "vlc" command on the current dir"
Can you provide a build that looks for vlc and tsmuxer in the osx directory? We
can
bundle these up as well then. Any other binaries that are used?
Original comment by robinmul...@gmail.com
on 20 Dec 2008 at 11:49
http://code.google.com/p/ps3mediaserver/source/browse/trunk/ps3mediaserver/net/p
ms/PMS.java?spec=svn34&r=34#1008
Just noticed you also use flac, I'll work on that as well.
Original comment by robinmul...@gmail.com
on 20 Dec 2008 at 11:54
flac binary is just used for high resolution files (24bit/96khz) as ffmpeg or
mplayer
does not support them, and remuxed after with tsmuxer
so without tsmuxer binary for osx (which I think does not exist, and it's
closed
source), there no need for the flac binary (for now)
Original comment by ps3mediaserver@gmail.com
on 20 Dec 2008 at 12:47
Ah yes, shame tsmuxer doesn't support osx. Is it possible to disable it all
together
for osx to avoid confusion? Otherwise we can put that in the readme.
Original comment by robinmul...@gmail.com
on 20 Dec 2008 at 7:43
If you can adjust the vlc path for osx and maybe disable tsmuxer I think we can
resolve this bug. Everything seems to be working otherwise.
Original comment by robinmul...@gmail.com
on 23 Dec 2008 at 12:50
Things to put in the readme that we can't fix:
- Leopard only (Java 6 is not supported on earlier versions)
- Tsmuxer not supported (No OSX binary available, closed source)
Original comment by robinmul...@gmail.com
on 23 Dec 2008 at 1:08
Bumping comment 27. Is it possible to switch to java 1.5 in order to be able to
use
ps3m in older versions of osx?
Original comment by kouzinop...@gmail.com
on 23 Dec 2008 at 1:46
you can adjust vlc path with an undocumented property "vlc_path" in the
PMS.conf
file, but it's not practical
also, for java 1.5, I think it's possible, but with some work (refactoring,
changing
some APIs, etc.) sot the priority would be (very) low for the moment
Original comment by ps3mediaserver@gmail.com
on 23 Dec 2008 at 1:53
Hi, I made ps3m work using soylatte16, unpacking the ps3m.app and modifiying
the psm.sh on post 17
according to the soylatte java and jar path.
thats it.
Original comment by Rodolfo....@gmail.com
on 24 Dec 2008 at 3:13
on mt mac book pro the media server is working fine but the file with subtitle
in srt
format doesn't show the subtitle while the pc version does...can any one help
me on
this? thanks!
Original comment by camenrai...@gmail.com
on 26 Dec 2008 at 7:40
the OS X install is working okay for me, but I was wondering if i could expect
better performance/stability
running PMS in a Windows or Linux VM under VMWare?
in particular, if i created an appliance-style linux VM with the minimal
install necessary to run PMS, then perhaps
it would provide great performance/stability than running the Java app under OS
X?
Original comment by ridger...@gmail.com
on 26 Dec 2008 at 5:57
i'm running PMS under OS X.
in some cases, attempting to play an MKV file fails and the transcode buffer
displays negative numbers. indeed,
whenever i try to start a file, i watch the transcode buffer and if it goes
negative, i give up on that file. however,
sometimes if i restart PMS, the file will play.
Original comment by ridger...@gmail.com
on 26 Dec 2008 at 6:01
maybe it would be nice to modify the PMS.sh to check the existence of this
alternative VM (soylatte16), and launch PMS with it if it has been installed ?
Original comment by ps3mediaserver@gmail.com
on 27 Dec 2008 at 10:14
PMS.sh is not used anymore on the OSX version so that will be kind of
difficult. I
don't think many people will be using this on Tiger. I can put that workaround
in the
readme that ships with the OSX version though.
Original comment by robinmul...@gmail.com
on 27 Dec 2008 at 2:22
@ps3mediaserver, Could you still change the path of vlc to osx/vlc in the code?
Then
we have that part working on the next version as well.
@camenraider, I'll have a look if I can reproduce this problem.
@ridgerock, Running PMS on Vmware will probably decrease performance. The
performance
should be the same on Linux or Windows as on OSX.
Original comment by robinmul...@gmail.com
on 27 Dec 2008 at 2:28
As some others who posted here, I did run this app from VM Ware, and now I am
trying Mac version, but I had to
force IP in order to make link and now PS3MS is crashing few seconds after
playing a movie, 720p as wel as
1080p. I have PS3 conected with cat6 cable to the Airport Extreme and Mac is
8core machine with 8gb ram, so I
would believe that there is no hardware, but software problem. I would like to
know how to trace possible
conflict?
Original comment by sim...@gmail.com
on 27 Dec 2008 at 8:24
Attach your debug.log here after it crashes.
Original comment by robinmul...@gmail.com
on 27 Dec 2008 at 9:45
Original issue reported on code.google.com by
robinmul...@gmail.com
on 17 Dec 2008 at 6:23