sun.java2d.Disposer and no mencoder

For help and support with PS3 Media Server in general
Forum rules
Please make sure you follow the Problem Reporting Guidelines before posting if you want a reply.

sun.java2d.Disposer and no mencoder

Postby devanl » Sun Apr 12, 2009 7:25 pm


I'm running Ubuntu Heron Server and noticed the following error in the trace logs while I navigate folders using the PS3. I'm guessing this has something to with thumbnails?

Code: Select all
[pool-172-thread-1] TRACE 12:11:43.709 Exception in thread "pool-172-thread-1" java.lang.NoClassDefFoundError: Could not initialize class sun.java2d.Disposer
[pool-172-thread-1] TRACE 12:11:43.709    at<init>(Unknown Source)
[pool-172-thread-1] TRACE 12:11:43.709    at com.sun.imageio.spi.InputStreamImageInputStreamSpi.createInputStreamInstance(Unknown Source)
[pool-172-thread-1] TRACE 12:11:43.709    at javax.imageio.ImageIO.createImageInputStream(Unknown Source)
[pool-172-thread-1] TRACE 12:11:43.710    at Source)
[pool-172-thread-1] TRACE 12:11:43.710    at net.pms.dlna.DLNAMediaInfo.parse(
[pool-172-thread-1] TRACE 12:11:43.710    at net.pms.formats.Format.parse(
[pool-172-thread-1] TRACE 12:11:43.710    at net.pms.dlna.RealFile.resolve(
[pool-172-thread-1] TRACE 12:11:43.710    at net.pms.dlna.DLNAResource$
[pool-172-thread-1] TRACE 12:11:43.710    at java.util.concurrent.ThreadPoolExecutor$Worker.runTask(Unknown Source)
[pool-172-thread-1] TRACE 12:11:43.710    at java.util.concurrent.ThreadPoolExecutor$ Source)
[pool-172-thread-1] TRACE 12:11:43.711    at Source)

PMS is running in console mode as such:
Code: Select all
GUI environment no available
Switching to console mode
[main] TRACE 22:07:51.815 Starting Java PS3 Media Server v1.10.5
[main] TRACE 22:07:51.817 by shagrath / 2008-2009
[main] TRACE 22:07:51.817
[main] TRACE 22:07:51.818
[main] TRACE 22:07:51.818
[main] TRACE 22:07:51.818 Java 1.6.0_12-Sun Microsystems Inc.
[main] TRACE 22:07:51.818 OS Linux i386 2.6.24-19-server
[main] TRACE 22:07:51.819 Encoding: UTF-8
[main] TRACE 22:07:51.833 Temp folder: /tmp/javaps3media
[main] TRACE 22:07:51.890 Registering transcoding engine FFmpeg Audio
[main] TRACE 22:07:51.926 Registering transcoding engine MEncoder
[main] TRACE 22:07:51.928 Registering transcoding engine MPlayer Audio
[main] TRACE 22:07:51.929 Registering transcoding engine MEncoder Web
[main] TRACE 22:07:51.930 Registering transcoding engine MPlayer Video Dump
[main] TRACE 22:07:51.931 Registering transcoding engine MPlayer Web
[main] TRACE 22:07:51.938 Registering transcoding engine TsMuxer
[main] TRACE 22:07:51.939 Registering transcoding engine Audio High Fidelity
[main] TRACE 22:07:51.940 Registering transcoding engine VideoLan Audio Streaming
[main] TRACE 22:07:51.941 Registering transcoding engine VideoLan Video Streaming
[main] TRACE 22:07:51.942 Registering transcoding engine Raws Thumbnailer
[main] TRACE 22:07:52.122 Scanning network interface eth0 / eth0

Could this be why I have no thumbnails? Also there appears to be a problem between PMS and mencoder. Videos playback fine with tsMuxer, but with mencoder I get:
Code: Select all
[Thread-1851] TRACE 12:11:58.904 Starting transcode/remux of Eq.mp4
[Thread-1867] TRACE 12:12:11.349 Starting transcode/remux of Eq.mp4

with the playstation eventually failing to playback comlplaining that the file is corrupt.

Mencoder appears to be able to transcode files on its own outside of PMS. Does a lack of processing speed ever result in this error? I am running with dual 1.2 Ghz CPUs and mencoder compiled to support multi-threading.
I think its probably because the GUI has never run (always console mode) but I created a PMS.conf in the same directory and added the line "nbcores = 2" attempting to tell PMS this in case its needed for spawning the transcoder.

Posts: 13
Joined: Sun Apr 12, 2009 5:04 pm

Return to General Help and Support

Who is online

Users browsing this forum: Google [Bot] and 12 guests