Exception in net.pms.encoders.VLCVideo.genConfig

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.

Exception in net.pms.encoders.VLCVideo.genConfig

Postby nickweeds » Sat Apr 27, 2013 12:09 pm

I am running 1.81.0+mencoder35005-3precise1 on Ubuntu Linux 12.04, installed from the ppa:happy-neko/ps3mediaserver PPA, and I am attempting to stream FLAC audio files to XBMC or to a Naim ND5-XS network streamer.

In both cases the track fails to start playing, and I see the following exception in /var/log/ps3streamer/mediaserver/debug.log:

DEBUG 2013-04-27 11:51:00.403 [New I/O server worker #1-1] Caught exception
java.lang.NullPointerException: null
at net.pms.encoders.VLCVideo.genConfig(VLCVideo.java:167) ~[pms.jar:1.81.0]
at net.pms.encoders.VLCVideo.launchTranscode(VLCVideo.java:233) ~[pms.jar:1.81.0]
at net.pms.dlna.DLNAResource.getInputStream(DLNAResource.java:1821) ~[pms.jar:1.81.0]
at net.pms.network.RequestV2.answer(RequestV2.java:331) ~[pms.jar:1.81.0]
at net.pms.network.RequestHandlerV2.writeResponse(RequestHandlerV2.java:302) ~[pms.jar:1.81.0]
at net.pms.network.RequestHandlerV2.messageReceived(RequestHandlerV2.java:257) ~[pms.jar:1.81.0]
at org.jboss.netty.handler.stream.ChunkedWriteHandler.handleUpstream(ChunkedWriteHandler.java:149) ~[pms.jar:1.81.0]
at org.jboss.netty.handler.codec.http.HttpChunkAggregator.messageReceived(HttpChunkAggregator.java:116) ~[pms.jar:1.81.0]
at org.jboss.netty.channel.Channels.fireMessageReceived(Channels.java:302) ~[pms.jar:1.81.0]
at org.jboss.netty.handler.codec.replay.ReplayingDecoder.unfoldAndFireMessageReceived(ReplayingDecoder.java:527) ~[pms.jar:1.81.0]
at org.jboss.netty.handler.codec.replay.ReplayingDecoder.callDecode(ReplayingDecoder.java:506) ~[pms.jar:1.81.0]
at org.jboss.netty.handler.codec.replay.ReplayingDecoder.messageReceived(ReplayingDecoder.java:443) ~[pms.jar:1.81.0]
at org.jboss.netty.channel.Channels.fireMessageReceived(Channels.java:274) ~[pms.jar:1.81.0]
at org.jboss.netty.channel.Channels.fireMessageReceived(Channels.java:261) ~[pms.jar:1.81.0]
at org.jboss.netty.channel.socket.nio.NioWorker.read(NioWorker.java:351) ~[pms.jar:1.81.0]
at org.jboss.netty.channel.socket.nio.NioWorker.processSelectedKeys(NioWorker.java:282) ~[pms.jar:1.81.0]
at org.jboss.netty.channel.socket.nio.NioWorker.run(NioWorker.java:202) ~[pms.jar:1.81.0]
at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1146) [na:1.6.0_27]
at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:615) [na:1.6.0_27]
at java.lang.Thread.run(Thread.java:679) [na:1.6.0_27]

The full debug.log is attached.

It appears that PS3 Media Server is trying to transcode the FLAC file, and worse it's treating it as video.

Transcoding is totally unnecessary, as both players can play FLAC files.

I can't find a way to turn transcoding off.

If anybody can advise how to turn off transcoding completely I would be very grateful.

Alternatively, if anybody can advise how to avoid exceptions such as the one above I would be grateful.

Failing all that, can anybody recommend a media server that just works?
nickweeds
 
Posts: 1
Joined: Sat Apr 27, 2013 11:58 am

Re: Exception in net.pms.encoders.VLCVideo.genConfig

Postby Raptor399 » Sat Apr 27, 2013 12:27 pm

nickweeds wrote:I can't find a way to turn transcoding off.

Try adding ".flac" to the misc option "Transcoding Settings > Common transcode settings > Skip transcode for the following extensions > Video settings".
Raptor399
Project Member
 
Posts: 1916
Joined: Thu Mar 10, 2011 12:06 am


Return to General Help and Support

Who is online

Users browsing this forum: No registered users and 14 guests