Unknown1User / ps3mediaserver

Automatically exported from code.google.com/p/ps3mediaserver
0 stars 0 forks source link

Mac OS X support #6

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
There is currently no support for OSX.

I tried running the Linux version but got the following java error:

Exception in thread "main" java.lang.UnsupportedClassVersionError: Bad
version number in .class file

The java version on OSX is Java(TM) 2 Runtime Environment, Standard Edition
(build 1.5.0_16-b06-284)

I'm guessing Java 6 is required.

Original issue reported on code.google.com by robinmul...@gmail.com on 17 Dec 2008 at 6:23

GoogleCodeExporter commented 9 years ago
Btw, to see your debug.log you need to right click and then choose show package
content on the app. Then look in Contents/Resources/Java for debug.log.

Original comment by robinmul...@gmail.com on 27 Dec 2008 at 9:47

GoogleCodeExporter commented 9 years ago
[deleted comment]
GoogleCodeExporter commented 9 years ago
thank you very much, by the way also with mkv file with subtitles the ps3 
doesn't
load them while with the pc does...

...ah in order to use pms on os x I had to force the IP while with the pc 
not..thank you

Original comment by camenrai...@gmail.com on 27 Dec 2008 at 9:56

GoogleCodeExporter commented 9 years ago
Ok, here is the log attached

Original comment by sim...@gmail.com on 27 Dec 2008 at 10:04

Attachments:

GoogleCodeExporter commented 9 years ago
Weird, it's showing an out of memory error. You don't have anything else running
that's taking up a lot of memory (vmware for instance)? Close everything and try
again. Maybe ps3mediaserver will have a better idea what's going on here.

Original comment by robinmul...@gmail.com on 27 Dec 2008 at 10:28

GoogleCodeExporter commented 9 years ago
that is really wierd, cause I don't have nothing else open, vmware I use only 
for PS3, but it's out most of the 
time. And with 8GB ram it looks very unreal. I'll try few things ..
thanx a lot

Original comment by sim...@gmail.com on 27 Dec 2008 at 11:25

GoogleCodeExporter commented 9 years ago
Thanks for your hard work!  the PS3 media server working in my PS3 and MBP C2D 
2.16!!!

The first time I saw the icon of the media server in my PS3 is just exciting 
like I brought a new game.

I got a problem with playing the rmvb file.  The file can play and the video 
seem OK however, the sound play 
faster than the video that those rmvb video cannot enjoy right now.  What do 
you think the problem is??

Also that when I quit the program I found that the ffmpeg cannot stop and keep 
using my CPU and my MBP 
need to force quit them in order to speed it up back.

Original comment by lazarusk...@gmail.com on 29 Dec 2008 at 3:27

GoogleCodeExporter commented 9 years ago
on my mac mini ( Intel core 2 duo cpu 1,8 ghz and 2 gb of ram) with lepard up 
to date, it does not run.. the 
problem is that i cant use java 1.6,  ( there's a download on apple site but is 
only for 64 bit, i've tried anyway but 
no go).
I would like so much to use it !!!
Can u fix it please?
Tnx a lot !

Original comment by superd...@gmail.com on 29 Dec 2008 at 9:32

GoogleCodeExporter commented 9 years ago
I have the same problem as superduca. I was wondering if there is a potential
work-around for 32-bit Macs using SoyLatte. 
The program is summarized here: 
http://java.dzone.com/news/javafx-sdk-mac-os-x-with-32-bi

No matter how this works out I appreciate your hard work.
Happy New Year,
Matt

Original comment by mjtho...@gmail.com on 31 Dec 2008 at 4:35

GoogleCodeExporter commented 9 years ago
Can you build that will support Java 1.5?
Right now the only the newest Macs with leopard (10.5.2) can run this because 
of Java
1.6 requirement.

Original comment by Akir...@gmail.com on 31 Dec 2008 at 8:29

GoogleCodeExporter commented 9 years ago
I'll work on instructions for the next release on using SoyLatte instead of the
official Java distribution. I need to test it for myself first. 

Unfortunately Apple only distributes Java 1.6 for 64bit capable CPU's, so PPC 
and
Core Duo users are out of luck for now.

Just to make it clear, currently you need a 64bit capable Intel CPU (Core 2 Duo 
or
better) and Leopard with all the latest updates installed. The shipping version 
of
Leopard does not include Java 1.6 and will not work.

As stated earlier, it's very unlikely that PSM will switch to Java 1.5 as that 
will
require a lot of work. So I'm working on a workaround for the next release.

Original comment by robinmul...@gmail.com on 2 Jan 2009 at 12:56

GoogleCodeExporter commented 9 years ago
I have the same problem as Superduca, mjthomas, Akira and I guess, many others, 
so 
thanks for your hard work.

Original comment by eduardo....@gmail.com on 2 Jan 2009 at 1:07

GoogleCodeExporter commented 9 years ago
I got it working on a 1.5 (on Windows, though)... problems I've met so far:
- character encoding issues: cp850 charset not included in 1.5 -> truncated 
japanese 
names, etc.
- no systray (I don't know if it's relevant on OSX)
- not really tested the whole transcoding bunch

main one being packaging: it's a shame to force those on java 1.6 to use 1.5 
with 
potential troubles they would not have on 1.6

I'm waiting for robin's feedback on soylatte now...

Original comment by ps3mediaserver@gmail.com on 2 Jan 2009 at 9:22

GoogleCodeExporter commented 9 years ago
thanks for your brilliant work...any news on the subtitle issue? could anyone 
see
subtitle on a mac? personnaly I would prefer I specific version for those with 
java
1.5 rather than force all to use it...thanks all a lot!

Original comment by camenrai...@gmail.com on 2 Jan 2009 at 10:18

GoogleCodeExporter commented 9 years ago
Donation done. Great job. 

Original comment by eduardo....@gmail.com on 3 Jan 2009 at 11:46

GoogleCodeExporter commented 9 years ago
I've had a look at SoyLatte and I can make instructions for using it but it 
will be a
bit technical, there is no easy install for instance. So I basically see 3 
possibilities:

- Keep it as it is and include technical instructions in the readme for users 
without 1.6
- Change to 1.5 for mac and there is 1 build that works for everyone
- Make 2 builds for mac, 1 using 1.6 and the other using 1.5 or SoyLatte

Personally I would say the first option or the second if it's possible. Having 2
builds will cause a lot of confusion and more work to be done every release.

The systray is no problem at all for mac. Maybe you can send me a 1.5 build by 
mail
so I can test if everything works. It might be troublesome to support 2 java 
versions
though.

The first option is the most future proof and it will still work for everyone 
with a
bit more work on the user side.

Original comment by robinmul...@gmail.com on 3 Jan 2009 at 4:23

GoogleCodeExporter commented 9 years ago
Just want to say to everyone who doesn't understand the technical details that 
this
is basically Apple's fault. I can't believe how bad their support for Java is. 
Make
sure to complain to them about it and maybe it will be fixed in an official way 
sometime.

Original comment by robinmul...@gmail.com on 3 Jan 2009 at 4:34

GoogleCodeExporter commented 9 years ago
I got it working again, after using VMWare and XP on Mac. Had to remove folder 
VMware Fusion from app support, 
otherwise PS3server use it's vmnet network, and is enything but handy.
But, looking at the Activity Monitor, after quiting PS3MS, one instance of 
mencoder stys still active, using 9 threads. Only 
way to stop this is by Force Quit option.
In fact, everytime I start a different movie, another mencoder apears and takes 
another 9 threads and about 20-30MB real 
memory as well. Is there anything I could do about this?

thank you guys and very happy new year

Original comment by sim...@gmail.com on 3 Jan 2009 at 5:34

GoogleCodeExporter commented 9 years ago
Hi, i used to run your awesome software on my Imac, pretty smothly i think. 
Today i have downloaded your newer version and tried to run on XP though 
Paralles. The thing is that probably 
there is a conflict now thoughout my network and i cant run PSM neither on my 
OSx platform or my XP platform. 
Any ideas?
(ps. i tryied forcing the ip but nothing worked)
Thankz in advance.

Original comment by the...@gmail.com on 5 Jan 2009 at 7:39

GoogleCodeExporter commented 9 years ago
I can confirm that subtitles don't work as reported here earlier, I'm working 
on a
fix for the next release (OSX will probably skip 1.02 as it has a serious bug).

Original comment by robinmul...@gmail.com on 5 Jan 2009 at 7:52

GoogleCodeExporter commented 9 years ago
I'm also happy to report that a Java 1.5 version will be part of the next 
release as
a beta version. Stay tuned.

Original comment by robinmul...@gmail.com on 5 Jan 2009 at 8:44

GoogleCodeExporter commented 9 years ago
1.02.1 is out now and uses Java 1.5 on OSX, let us know if it's working for 
you. Subtitles should also be working.

Original comment by robinmul...@gmail.com on 5 Jan 2009 at 11:25

GoogleCodeExporter commented 9 years ago
Hi I was testing the new version for MAC, with Java 1.5 (under Leopard in a 
Core Duo) and I see some problems 
with mencoder. Sometimes the process didn't stop after I stopped the movie, and 
other times it crashed so its 
not possible to play anything.

I attach the log.

Original comment by Rodolfo....@gmail.com on 6 Jan 2009 at 3:55

Attachments:

GoogleCodeExporter commented 9 years ago
just two world: thank you!
the new version is working perfectly! subtitles, all the mkv!, transcoding...
now I am happy, I can't ask you any more...I'll make a donation asap...bye

Original comment by camenrai...@gmail.com on 6 Jan 2009 at 7:51

GoogleCodeExporter commented 9 years ago
All of my MKVs that failed with prior version now work as well - nice work!

I'm still having trouble with copying files to the PS3 hard disk.  When I 
attempt to do so, the PS3 reports that 
there is not enough hard disk space, but when I check free space using "System 
Information" on the PS3, it 
reports 50GB free.  

It would be great to have a setting that enables control over how much buffer 
gets filled before a movie 
begins playing.  

Thanks for an amazing app!

Original comment by ridger...@gmail.com on 6 Jan 2009 at 7:51

GoogleCodeExporter commented 9 years ago
The new 1.02.1 version is working great on both Linux and OSX. Thanks for the 
good work!

Off-topic: Is it possible to connect the PS3 with Wifi and Cable at the same 
time? I
want to use Wifi for the Internet connection and Cable for a direct (gigabit)
connection to a Linux server.

Original comment by basvdz...@gmail.com on 6 Jan 2009 at 9:08

GoogleCodeExporter commented 9 years ago
[deleted comment]
GoogleCodeExporter commented 9 years ago
@Rodolfo.Hurtado

I see that you are trying to play the same file. Have you tried any other file 
and
see if that works?

Original comment by robinmul...@gmail.com on 7 Jan 2009 at 12:29

GoogleCodeExporter commented 9 years ago
First of all, thanks for a great SW!

I really like this initiative but unfortunately I've encountered a lot of 
problems
with the latest version 1.02.1. I have both problems with mkv-files as well as
iso-files. It seems like the mkfifo repeatedly returns code 1 (probably due 
some kind
of error). In the earlier version 1.01 I didn't experienced the same problem.

I am attaching one of the trace outputs.

BR
MrDoubt67

Original comment by MrDoub...@gmail.com on 7 Jan 2009 at 5:00

Attachments:

GoogleCodeExporter commented 9 years ago
Hi, today I try again, with another movie+srt.
I saw that if i try to play a movie from its original folder (not from the 
transcoded folder i got this problem), see 
debug_fail.log.
But if i play it directly from the transcoded folder, everything goes Ok, see 
debug_ok.log.

Thanks a lot!

Original comment by Rodolfo....@gmail.com on 8 Jan 2009 at 3:03

Attachments:

GoogleCodeExporter commented 9 years ago
Hi!

Provides this message to me always. the mencoder steps out. what may be the 
mistake?
Sorry but I do not speak well in English. What the problem? Thank you, Andreas

Original comment by karcsik...@gmail.com on 8 Jan 2009 at 6:36

Attachments:

GoogleCodeExporter commented 9 years ago
Hy!

my other problem this on a picture!

What is this?

Thank You Andreas!

Original comment by karcsik...@gmail.com on 9 Jan 2009 at 1:39

Attachments:

GoogleCodeExporter commented 9 years ago
I am unable to stream any mkv file to the ps3 since there seems to be a problem 
with
the mencoder installation. This is the error message i get from the log file:

[osx/mencoder] INFO  19:05:12.950 Starting /Applications/PS3 Media
Server.app/Contents/Resources/Java/osx/mencoder -ss 0 -quiet
/Users/charis/Desktop/Presto/voa-presto_x264_720p_bluray.mkv -quiet -quiet -oac 
lavc
-of mpeg -mpegopts format=mpeg2:muxrate=500000:vbuf_size=1194:abuf_size=64 -ovc 
lavc
-channels 6 -lavdopts debug=0:threads=2 -lavcopts
autoaspect=1:vcodec=mpeg2video:acodec=ac3:abitrate=384:threads=2:keyint=1:vqscal
e=1:vqmin=2
-subcp cp1252 -alang fre,jpn,ger,eng -font
/System/Library/Frameworks/JavaVM.framework/Versions/1.5.0/Home/lib/fonts/Lucida
SansRegular.ttf
-subfont-text-scale 3 -subfont-outline 1 -subfont-blur 1 -subpos 98 -slang 
fre,eng
-quiet -quiet -quiet -quiet -ofps 24000/1001 -quiet -quiet -af 
lavcresample=48000
-srate 48000 -o /tmp/javaps3media/mencoder1231520712899
[osx/mencoder] INFO  19:05:12.963 Reading pipe: 
/tmp/javaps3media/mencoder1231520712899
[osx/mencoder] DEBUG 19:05:12.964 Opening file
/tmp/javaps3media/mencoder1231520712899 for reading...
[osx/mencoder] INFO  19:05:13.171 Attaching thread: osx/mencoder
[Timer-3] DEBUG 19:05:13.171 Buffered Space: 0 bytes
[Thread-95] DEBUG 19:05:13.172 dyld: Library not loaded: 
/usr/lib/libiconv.2.dylib
[Thread-95] DEBUG 19:05:13.172   Referenced from: /Applications/PS3 Media
Server.app/Contents/Resources/Java/osx/mencoder
[Thread-95] DEBUG 19:05:13.172   Reason: Incompatible library version: mencoder
requires version 7.0.0 or later, but libiconv.2.dylib provides version 5.0.0
[osx/mencoder] DEBUG 19:05:13.172 EOF
[osx/mencoder] TRACE 19:05:13.172 Process /Applications/PS3 Media
Server.app/Contents/Resources/Java/osx/mencoder has a return code of 133! Maybe 
an
error occured... check the log file 

Original comment by kouzinop...@gmail.com on 9 Jan 2009 at 5:09

GoogleCodeExporter commented 9 years ago
The problem is of course mencoder as it is requiring a library version that is 
not
install in my system (10.4.11). Executing mencoder directly results in the same 
error:

/Applications/PS3\ Media\ Server.app/Contents/Resources/Java/osx/mencoder --help
dyld: Library not loaded: /usr/lib/libiconv.2.dylib
  Referenced from: /Applications/PS3 Media
Server.app/Contents/Resources/Java/osx/mencoder
  Reason: Incompatible library version: mencoder requires version 7.0.0 or later, but
libiconv.2.dylib provides version 5.0.0

Original comment by kouzinop...@gmail.com on 9 Jan 2009 at 5:16

GoogleCodeExporter commented 9 years ago
Interesting, I guess the app is still Leopard only.

I don't have access to a 10.4 machine so it will be difficult to make a mencoder
build for it. Could you check if mplayer and ffmpeg give any errors (they are 
in the
same directory)?

Original comment by robinmul...@gmail.com on 9 Jan 2009 at 8:47

GoogleCodeExporter commented 9 years ago
If anyone is using the app on 10.4 successfully please leave a comment as well. 
Just
to check if this is a widespread problem.

Original comment by robinmul...@gmail.com on 9 Jan 2009 at 8:55

GoogleCodeExporter commented 9 years ago
I had to compile my own binaries to get it to work on Tiger.

Original comment by Sp1der...@gmail.com on 9 Jan 2009 at 9:44

GoogleCodeExporter commented 9 years ago
ffmpeg gives a 

"Bus error"

mencoder gives a 

"dyld: Library not loaded: /usr/X11/lib/libpng.3.dylib
  Referenced from: /Applications/PS3 Media Server.app/Contents/Resources/Java/osx/
mencoder.ORG
  Reason: Incompatible library version: mencoder.ORG requires version 30.0.0 or 
later, but libpng.3.dylib provides version 20.0.0
Trace/BPT trap"

mplayer gives a

"dyld: Library not loaded: /usr/X11/lib/libXext.6.dylib
  Referenced from: /Applications/PS3 Media Server.app/Contents/Resources/Java/osx/
mplayer.ORG
  Reason: Incompatible library version: mplayer.ORG requires version 11.0.0 or 
later, but libXext.6.dylib provides version 6.4.0
Trace/BPT trap"

This is all on 10.4.11

Original comment by Sp1der...@gmail.com on 9 Jan 2009 at 9:49

GoogleCodeExporter commented 9 years ago
These are the three binaries working on my MacBook.
They were compiled by me on my mac, but I don't know if they'll work on another 
mac.
Just run them in a terminal and see if an error is reported.

Original comment by Sp1der...@gmail.com on 9 Jan 2009 at 9:55

Attachments:

GoogleCodeExporter commented 9 years ago
Your executables are not working, you linked them against libraries i don't 
have in
my system. Maybe you can try and compiled them as static?

This is the message i get:

mac:~/Desktop/Archive Folder charis$ ./mencoder --help
dyld: Library not loaded: /opt/local/lib/libtwolame.0.dylib
  Referenced from: /Users/charis/Desktop/Archive Folder/./mencoder
  Reason: image not found
Trace/BPT trap
mac:~/Desktop/Archive Folder charis$ ./mplayer 
dyld: Library not loaded: /usr/X11R6/lib/libXext.6.dylib
  Referenced from: /Users/charis/Desktop/Archive Folder/./mplayer
  Reason: image not found
Trace/BPT trap
mac:~/Desktop/Archive Folder charis$ ./ffmpeg 
dyld: Library not loaded: /sw/lib/libavdevice.52.dylib
  Referenced from: /Users/charis/Desktop/Archive Folder/./ffmpeg
  Reason: image not found
Trace/BPT trap

Is it easy to compile them on your own? I have never done any code development 
on my mac

Original comment by kouzinop...@gmail.com on 10 Jan 2009 at 10:53

GoogleCodeExporter commented 9 years ago
Yeah those wont work on other macs. I'll have a look at creating 10.4 
compatible builds.

Original comment by robinmul...@gmail.com on 10 Jan 2009 at 11:40

GoogleCodeExporter commented 9 years ago
Easiest way is to install macports and install via that.
It will compile the source and any dependencies and install them.

http://www.macports.org/install.php

Original comment by Sp1der...@gmail.com on 10 Jan 2009 at 11:55

GoogleCodeExporter commented 9 years ago
Hello, in the traces I'm receiving continuasly this message: [Thread-20] TRACE
XX:XX:35:211 Receiving search request from 10.211.55.2! Sending DISCOVER 
message...

do you know how can I fix it? Thanks

Original comment by camenrai...@gmail.com on 11 Jan 2009 at 10:33

GoogleCodeExporter commented 9 years ago
Just found this how to compile a redistributable version of mplayer, which 
should 
include mencoder.

http://mplayerosx.sttz.ch/trac/wiki/CompileMPlayerStatic

Original comment by Sp1der...@gmail.com on 11 Jan 2009 at 2:04

GoogleCodeExporter commented 9 years ago
Could you try these builds on 10.4 and let me know how they work? Intel only.

Thanks!

Original comment by robinmul...@gmail.com on 11 Jan 2009 at 6:32

Attachments:

GoogleCodeExporter commented 9 years ago
And ffmpeg.

Original comment by robinmul...@gmail.com on 11 Jan 2009 at 6:46

Attachments:

GoogleCodeExporter commented 9 years ago
I've had ago by installing Leopard on an external drive and trying to compile a 
universal binary of mplayer.
But ran into problems compiling 1 or 2 libraries, managed to sort out 1 but the 
other one I couldn't manage it.

I'll have ago with 10.4 intel, but it will have to be in a day or two. 

The binaries you asked to try on 10.4 are not working.

"MacBook:~ B4tm4n$ /Users/B4tm4n/Desktop/ffmpeg 
Bus error
MacBook:~ B4tm4n$ /Users/B4tm4n/Desktop/mplayer/mencoder 
dyld: Library not loaded: /usr/X11/lib/libfreetype.6.dylib
  Referenced from: /Users/B4tm4n/Desktop/mplayer/mencoder
  Reason: Incompatible library version: mencoder requires version 10.0.0 or later, 
but libfreetype.6.dylib provides version 6.3.0
Trace/BPT trap
MacBook:~ B4tm4n$ /Users/B4tm4n/Desktop/mplayer/mplayer 
dyld: Library not loaded: /usr/X11/lib/libfreetype.6.dylib
  Referenced from: /Users/B4tm4n/Desktop/mplayer/mplayer
  Reason: Incompatible library version: mplayer requires version 10.0.0 or later, 
but libfreetype.6.dylib provides version 6.3.0
Trace/BPT trap"

Original comment by Sp1der...@gmail.com on 11 Jan 2009 at 6:59

GoogleCodeExporter commented 9 years ago
I get an error about libfreetype as well :s

Original comment by kouzinop...@gmail.com on 11 Jan 2009 at 8:13

GoogleCodeExporter commented 9 years ago
Try these, If these don't work then I'm never going to get re-distributable 
files 
compiled. 5'll leave it to Someone who knows what they're doing :)

Original comment by Sp1der...@gmail.com on 12 Jan 2009 at 8:40

Attachments:

GoogleCodeExporter commented 9 years ago
I will be able to try them tommorow. Thanks for your effort!

Original comment by kouzinop...@gmail.com on 12 Jan 2009 at 12:11