Page 1 of 1

Unable to play MKV files

Posted: Sun Sep 01, 2013 8:32 am
by gelsonv
Hi :) im new.
i just download UMS cause it can handle 3D subtitles.
but i cant even play a MKV file :( getting this error.

External input stream instance is null... stopping process
08-31 14:28:01 There is no inputstream to return for Jack The Giant Slayer 3D 2013 1080p H-OU BDRip x264 ac3 vice {External Subtitles}
08-31 14:28:01 Starting transcode/remux of Jack The Giant Slayer 3D 2013 1080p H-OU BDRip x264 ac3 vice.mkv
08-31 14:28:06 There is no inputstream to return for Jack The Giant Slayer 3D 2013 1080p H-OU BDRip x264 ac3 vice {External Subtitles}
08-31 14:28:06 External input stream instance is null... stopping process
08-31 14:28:11 Sending kill -14 to the Unix process: 1156
08-31 14:28:11 Sending kill -14 to the Unix process: 1159
08-31 14:28:16 Sending kill -14 to the Unix process: 1164

Already tried with version 2.6.4 and version 3.00-a3

please help me :(

Re: Unable to play MKV files

Posted: Mon Sep 02, 2013 4:55 am
by DeFlanko
please replicate the issue with Trace logging enabled and upload your log files here.

Thanks!

Re: Unable to play MKV files

Posted: Mon Sep 02, 2013 6:33 am
by gelsonv
Thank you for your answer.
i just uploaded the trace log.

Re: Unable to play MKV files

Posted: Tue Sep 03, 2013 12:51 am
by ExSport
Try to start separately:

Code: Select all

"/Applications/Universal Media Server.app/Contents/Resources/Java/osx/mencoder" -ss 0 "/Users/Gelsonv/Documents/Torrents/Jack The Giant Slayer 3D 2013 1080p H-OU BDRip x264 ac3 vice/Jack The Giant Slayer 3D 2013 1080p H-OU BDRip x264 ac3 vice.mkv" -quiet -quiet -really-quiet -msglevel statusline=2 -ovc copy -nosound -mc 0 -noskip -of rawvideo -o writablepath/filename.ts
After some time you can break it and check if it generated some data or empty file.
Same with audio part:

Code: Select all

"/Applications/Universal Media Server.app/Contents/Resources/Java/osx/mencoder" -ss 0 "/Users/Gelsonv/Documents/Torrents/Jack The Giant Slayer 3D 2013 1080p H-OU BDRip x264 ac3 vice/Jack The Giant Slayer 3D 2013 1080p H-OU BDRip x264 ac3 vice.mkv" -quiet -quiet -really-quiet -msglevel statusline=2 -channels 6 -ovc copy -of rawaudio -mc 0 -noskip -oac copy -fafmttag 0x2000 -lavcopts acodec=ac3:abitrate=640 -af lavcresample=48000 -srate 48000 -aid 0 -o /writablepath/audio.ac3
These two streams are muxed together via tsMuxeR. In your case it seems final stream is empty? If it is because of MEncoder empty audio or video stream or that muxing fails, I can't say.
Check also this line:

Code: Select all

"/Applications/Universal Media Server.app/Contents/Resources/Java/osx/tsMuxeR" /var/folders/d0/jcgj41y92sj_mz0d3_dm6b140000gn/T/universalmediaserver/pms-tsmuxer.meta /var/folders/d0/jcgj41y92sj_mz0d3_dm6b140000gn/T/universalmediaserver/1378060281537tsmuxerout.ts
Here tsMuxeR muxes both streams together so final TS file should be generated. Maybe here it fails.
Please make re-test and post also "/var/folders/d0/jcgj41y92sj_mz0d3_dm6b140000gn/T/universalmediaserver/pms-tsmuxer.meta" file so we can see if the syntax is OK.
If separate audio/video streams generated by mencoder are not empty, you can try to mux them manually (by editing pms-tsmuxer.meta file with changed paths to physical files) if you will see any errors or if tsMuxeR will generate valid file. In log I can see that UMS is waiting for stream but receive nothing...

Re: Unable to play MKV files

Posted: Thu Sep 05, 2013 11:07 am
by gelsonv
I dont have this folder:

Code: Select all

/var/folders/d0/jcgj41y92sj_mz0d3_dm6b140000gn/T/universalmediaserver
its just shows these folders:
Image

Re: Unable to play MKV files

Posted: Fri Sep 06, 2013 9:57 pm
by ExSport
It is TEMP folder so it can be different for every UMS session. You have to check actual paths in debug.log in time when you are making tests(every restart of when another file will play, path can change - check actual debug.log).