Issue with UMS 7.7.0 and PS4 playback with internal subs

For help and support with Universal Media Server in general
Forum rules
Please make sure you follow the Problem Reporting Guidelines before posting if you want a reply
Post Reply
jibi049
Posts: 4
Joined: Tue Dec 25, 2018 12:02 am

Issue with UMS 7.7.0 and PS4 playback with internal subs

Post by jibi049 » Tue Dec 25, 2018 12:05 am

Hi,

While I was trying to play this file I got the following error :

Code: Select all

GET /get/146/The.Good.Place.S03E04.Jeremy.Bearimy.1080p.AMZN.WEB-DL.DDP5.1.H264-SiGMA.mkv_transcoded_to.ts HTTP/1.1

HEADER:
  Range: bytes=0-
  Host: 192.168.1.57:5001
  User-Agent: MediaPlayer/4.00 libhttp/6.20 (PlayStation 4)
  Connection: Keep-Alive

13:00:55 TRACE Asked stream chunk : TimeRange [start=null, end=null] of The.Good.Place.S03E04.Jeremy.Bearimy.1080p.AMZN.WEB-DL.DDP5.1.H264-SiGMA.mkv and player AviSynth/FFmpeg
13:00:55 TRACE Setting lastStartPosition from time-seeking: 0.0
13:00:55 DEBUG Starting transcode/remux of The.Good.Place.S03E04.Jeremy.Bearimy.1080p.AMZN.WEB-DL.DDP5.1.H264-SiGMA.mkv with media info: Container: MKV, Size: 1448441437, Video Bitrate: 8949836, Video Tracks: 1, Video Codec: h264, Duration: 0:21:34.720, Video Resolution: 1920 x 1080, Display Aspect Ratio: 16:9, Scan Type: Progressive, Frame Rate: 23.976, Frame Rate Mode: CFR, Matrix Coefficients: BT.709, AVC Level: 4, Audio Tracks: 1 [Id: 0, Language Code: Eng, Audio Codec: Enhanced AC-3, Bitrate: 640000, Channels: 6, Sample Frequency: 48000 Hz], Subtitle Tracks: 1 [id: 0, type: SUBRIP, subtitles track title from metadata: English (SDH), lang: Eng], DLNAThumbnail: [Format = JPEG, Resolution = 320×180, Size = 10159, DLNA Profile = JPEG_RES_320_180], Mime Type: video/x-matroska
13:00:55 TRACE Forcing short path name on D:\Séries\The Good Place\S03\The.Good.Place.S03E04.Jeremy.Bearimy.1080p.AMZN.WEB-DL.DDP5.1.H264-SiGMA.mkv
13:00:55 TRACE Looking for an audio track with lang: fre
13:00:55 TRACE Looking for an audio track with lang: eng
13:00:55 TRACE Matched audio track: Id: 0, Language Code: Eng, Audio Codec: Enhanced AC-3, Bitrate: 640000, Channels: 6, Sample Frequency: 48000 Hz
13:00:55 TRACE Searching for a match for: Eng with en and eng,*
13:00:55 TRACE Searching for a match for: Eng with fr and off
13:00:55 TRACE Searching for a match for: Eng with * and eng
13:00:55 TRACE Matched internal subtitles track: id: 0, type: SUBRIP, subtitles track title from metadata: English (SDH), lang: Eng
13:00:55 TRACE Searching for a match for: Eng with * and und
13:00:55 TRACE Forcing short path name on D:\Séries\The Good Place\S03\The.Good.Place.S03E04.Jeremy.Bearimy.1080p.AMZN.WEB-DL.DDP5.1.H264-SiGMA.mkv
13:00:55 TRACE Switching from FFmpeg to MEncoder to transcode subtitles because the user setting is enabled.
13:00:55 TRACE Forcing short path name on D:\Séries\The Good Place\S03\The.Good.Place.S03E04.Jeremy.Bearimy.1080p.AMZN.WEB-DL.DDP5.1.H264-SiGMA.mkv
13:00:55 TRACE Searching for a match for: Eng with en and eng,*
13:00:55 TRACE Searching for a match for: Eng with fr and off
13:00:55 TRACE Searching for a match for: Eng with * and eng
13:00:55 TRACE Matched internal subtitles track: id: 0, type: SUBRIP, subtitles track title from metadata: English (SDH), lang: Eng
13:00:55 TRACE Searching for a match for: Eng with * and und
13:00:55 TRACE Not muxing the video stream with tsMuxeR via MEncoder because the user setting is disabled
13:00:55 TRACE Using video bitrate limit from the general configuration (30 Mb/s)
13:00:55 TRACE Halving the video bitrate limit to 15000 kb/s
13:00:55 TRACE Adjusting the video bitrate limit to 14000 kb/s to make room for audio
13:00:55 DEBUG Creating pipe \\.\pipe\mencoder1545652855813
13:00:55 TRACE Successfully initialized buffer to 52,428,800 bytes.
13:00:55 DEBUG Caught exception: null
13:00:55 DEBUG Waiting for Windows names pipe connection "\\.\pipe\mencoder1545652855813"
13:00:55 TRACE 
java.lang.NullPointerException: null
	at net.pms.io.ProcessWrapperImpl.<init>(ProcessWrapperImpl.java:105)
	at net.pms.io.ProcessWrapperImpl.<init>(ProcessWrapperImpl.java:88)
	at net.pms.io.ProcessWrapperImpl.<init>(ProcessWrapperImpl.java:67)
	at net.pms.encoders.MEncoderVideo.launchTranscode(MEncoderVideo.java:2478)
	at net.pms.encoders.FFMpegVideo.launchTranscode(FFMpegVideo.java:924)
	at net.pms.dlna.DLNAResource.getInputStream(DLNAResource.java:3476)
	at net.pms.network.RequestV2.dlnaMediaHandler(RequestV2.java:374)
	at net.pms.network.RequestV2.dlnaResourceHandler(RequestV2.java:338)
	at net.pms.network.RequestV2.answer(RequestV2.java:229)
	at net.pms.network.RequestHandlerV2.writeResponse(RequestHandlerV2.java:393)
	at net.pms.network.RequestHandlerV2.messageReceived(RequestHandlerV2.java:257)
	at org.jboss.netty.channel.SimpleChannelUpstreamHandler.handleUpstream(SimpleChannelUpstreamHandler.java:70)
	at org.jboss.netty.channel.DefaultChannelPipeline.sendUpstream(DefaultChannelPipeline.java:564)
	at org.jboss.netty.channel.DefaultChannelPipeline$DefaultChannelHandlerContext.sendUpstream(DefaultChannelPipeline.java:791)
	at org.jboss.netty.handler.stream.ChunkedWriteHandler.handleUpstream(ChunkedWriteHandler.java:142)
	at org.jboss.netty.channel.DefaultChannelPipeline.sendUpstream(DefaultChannelPipeline.java:564)
	at org.jboss.netty.channel.DefaultChannelPipeline$DefaultChannelHandlerContext.sendUpstream(DefaultChannelPipeline.java:791)
	at org.jboss.netty.handler.codec.http.HttpChunkAggregator.messageReceived(HttpChunkAggregator.java:145)
	at org.jboss.netty.channel.SimpleChannelUpstreamHandler.handleUpstream(SimpleChannelUpstreamHandler.java:70)
	at org.jboss.netty.channel.DefaultChannelPipeline.sendUpstream(DefaultChannelPipeline.java:564)
	at org.jboss.netty.channel.DefaultChannelPipeline$DefaultChannelHandlerContext.sendUpstream(DefaultChannelPipeline.java:791)
	at org.jboss.netty.channel.Channels.fireMessageReceived(Channels.java:296)
	at org.jboss.netty.handler.codec.frame.FrameDecoder.unfoldAndFireMessageReceived(FrameDecoder.java:459)
	at org.jboss.netty.handler.codec.replay.ReplayingDecoder.callDecode(ReplayingDecoder.java:536)
	at org.jboss.netty.handler.codec.replay.ReplayingDecoder.messageReceived(ReplayingDecoder.java:435)
	at org.jboss.netty.channel.SimpleChannelUpstreamHandler.handleUpstream(SimpleChannelUpstreamHandler.java:70)
	at org.jboss.netty.channel.DefaultChannelPipeline.sendUpstream(DefaultChannelPipeline.java:564)
	at org.jboss.netty.channel.DefaultChannelPipeline.sendUpstream(DefaultChannelPipeline.java:559)
	at org.jboss.netty.channel.Channels.fireMessageReceived(Channels.java:268)
	at org.jboss.netty.channel.Channels.fireMessageReceived(Channels.java:255)
	at org.jboss.netty.channel.socket.nio.NioWorker.read(NioWorker.java:88)
	at org.jboss.netty.channel.socket.nio.AbstractNioWorker.process(AbstractNioWorker.java:108)
	at org.jboss.netty.channel.socket.nio.AbstractNioSelector.run(AbstractNioSelector.java:337)
	at org.jboss.netty.channel.socket.nio.AbstractNioWorker.run(AbstractNioWorker.java:89)
	at org.jboss.netty.channel.socket.nio.NioWorker.run(NioWorker.java:178)
	at org.jboss.netty.util.ThreadRenamingRunnable.run(ThreadRenamingRunnable.java:108)
	at org.jboss.netty.util.internal.DeadLockProofWorker$1.run(DeadLockProofWorker.java:42)
	at java.util.concurrent.ThreadPoolExecutor.runWorker(Unknown Source)
	at java.util.concurrent.ThreadPoolExecutor$Worker.run(Unknown Source)
	at java.lang.Thread.run(Unknown Source)
Subtitle priority : en,eng,*;fr,off;*,eng;*,und
Seems that MEncoder doesnt like transcoding of the internal subtitles...
Is it possible to fix ?

Thank you

jibi049
Posts: 4
Joined: Tue Dec 25, 2018 12:02 am

Issue with UMS 7.7.0 and PS4 playback with internal subs

Post by jibi049 » Tue Dec 25, 2018 12:42 am

Hi,

I have some issues playing files with internal subtitles. If I disable subtitles the file plays.

See the attached logs (line 12804 - NullPointerException at Mencoder.launchTranscode)
Thanks !
Attachments
ums_dbg.zip
(137.83 KiB) Downloaded 67 times



Post Reply