Problems playing MKVs with TSMuxer w/6 ch AC-3

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
knicknak
Posts: 9
Joined: Thu Mar 07, 2013 8:13 pm

Problems playing MKVs with TSMuxer w/6 ch AC-3

Post by knicknak » Thu Mar 07, 2013 8:26 pm

When I used to use PMS 1.53 (and earlier versions), playing MKVs (using TSMuxer) worked perfectly for all my MKVs.

Now on the current versions of both UMS and PMS I have problems playing some of those MKVs.

The trace logs show me playing two MKVs:

When I play Game.of.Thrones.S01E01, I get the unsupported data.

When I play Game.of.Thrones.S01E02, it plays just fine.

As a side note: If I go into the Transcode folder and play Game.of.Thrones.S01E01 using MEncoder it works.
Another side note: For Game.of.Thrones.S01E01, on PMS FFMPEG works, but on UMS it does not, and AVSynth/Mencoder also does not work on UMS.
Attachments
ums_dbg.zip
(33.82 KiB) Downloaded 104 times
Last edited by knicknak on Sun Mar 10, 2013 6:12 pm, edited 3 times in total.

User avatar
kuroukage
Posts: 304
Joined: Wed Dec 12, 2012 3:56 pm

Re: Problems playing some MKVs with TSMuxer

Post by kuroukage » Fri Mar 08, 2013 1:39 am

What do you have set as your default video transcoder (at the top of the list)?
黒影
_______________________________________________|_._._._._._._._._._
\______________________________________________|_#_#_#_#_#_#_|
------------------------------------------------------------------|---------------------

knicknak
Posts: 9
Joined: Thu Mar 07, 2013 8:13 pm

Re: Problems playing some MKVs with TSMuxer

Post by knicknak » Fri Mar 08, 2013 7:58 pm

kuroukage wrote:What do you have set as your default video transcoder (at the top of the list)?
TSMuxer

BTW the config file is part of the trace log bundle:
engines = pmsencoder,tsmuxer,mencoder,avsmencoder,ffmpegvideo,ffmpegaudio,mplayeraudio,tsmuxeraudio,ffmpegwebvideo,vlcvideo,mencoderwebvideo,mplayervideodump,mplayerwebaudio,vlcaudio,ffmpegdvrmsremux,rawthumbs

User avatar
kuroukage
Posts: 304
Joined: Wed Dec 12, 2012 3:56 pm

Re: Problems playing some MKVs with TSMuxer

Post by kuroukage » Sat Mar 09, 2013 3:32 am

Have you tried just leaving Mencoder at the top of the list and left Remux videos with tsMuxeR when possible option checked for it?

Also, under the Audio settings tab. Making sure that Keep DTS and Keep AC3 are also checked as well.
黒影
_______________________________________________|_._._._._._._._._._
\______________________________________________|_#_#_#_#_#_#_|
------------------------------------------------------------------|---------------------

knicknak
Posts: 9
Joined: Thu Mar 07, 2013 8:13 pm

Re: Problems playing some MKVs with TSMuxer

Post by knicknak » Sat Mar 09, 2013 10:47 pm

None of those settings seem to change the behavior.

Keep AC3 was already checked as well as Remux with TxMuxer.

Moving Mencoder to the top and checking Keep DTS do not seem to have any effect which doesn't surprise me given the audio is AC-3.

I did just find a difference between the two files though.

Game.of.Thrones.S01E01: Video 2 994Kbps, 1280*720 at 23.976 fps, AVC ([email protected]) (CABAC / 3 Ref Frames) Audio 384 Kbps, 48.0 Khz, 16 bits, 6 Channels AC-3
Game.of.Thrones.S01E02: Video 3 284Kbps, 1280*720 at 23.976 fps, AVC ([email protected]) (CABAC / 3 Ref Frames) Audio 384 Kbps, 48.0 Khz, 16 bits, 2 Channels AC-3

So the file that is having trouble is 6 Channel AC-3 and the one without trouble is 2 Channel AC-3, this seems to be consistent, as other files that I have trouble playing also have 6 Channel AC-3.

knicknak
Posts: 9
Joined: Thu Mar 07, 2013 8:13 pm

Re: Problems playing some MKVs with TSMuxer

Post by knicknak » Sat Mar 09, 2013 11:28 pm

Could this be related? Looks like about the right timeframe.

Universal Media Server 1.20 Changelog:

Added workaround for 2.0 384 kbits AC3 PS3 audio bug (PMS issue #230 & #1414)

ExSport
Posts: 596
Joined: Wed Oct 10, 2012 1:57 am

Re: Problems playing some MKVs with TSMuxer

Post by ExSport » Sat Mar 09, 2013 11:49 pm

You can easily test it by unticking "Keep AC3" and setting AC3 reencoding to e.g. 640.
UMS should reencode your AC3 to higher bitrate so if it will work, try 384 then. If problem will arise, this bitrate (when audio is stereo) should be problematic.
Also you can try to use 256 if it will work and PS3 has problem with bitrate lower than 385 or only 384 is buggy.

knicknak
Posts: 9
Joined: Thu Mar 07, 2013 8:13 pm

Re: Problems playing some MKVs with TSMuxer

Post by knicknak » Sun Mar 10, 2013 6:11 pm

I guess that was a red herring, the real issue here seems to be TSMuxer with 6 Channel (5.1) AC-3

The thing that stands out to me in the logs is this:

DEBUG 2013-03-07 00:19:27.206 [Thread-68] Stream #0:0: Audio: ac3, 48000 Hz, 5.1(side), fltp, 384 kb/s (default)

DEBUG 2013-03-07 00:19:27.808 [Thread-87] Decoding AC3 stream (track 2): Bitrate: 384Kbps Sample Rate: 48KHz Channels: 2

Why does the second line (TSMuxer) say "Channels: 2" when the the source is 5.1 and I have it set to use TSMuxer and keep AC-3 (i.e. just remux my h.264/AC-3 MKV to a h.264/AC-3 TS)

Hmm this is interesting, I found another file that has 6 channel AC-3 that does play with TSMuxer.

DEBUG 2013-03-10 01:53:15.105 [Thread-323] Stream #0:0: Audio: ac3, 48000 Hz, 5.1(side), fltp, 384 kb/s (default)

DEBUG 2013-03-10 01:53:15.695 [Thread-342] Decoding AC3 stream (track 2): Bitrate: 384Kbps Sample Rate: 48KHz Channels: 6

So again, the real question seems to be why for the first file does TSMuxer to try decode 2 channels instead of 6?

User avatar
SubJunk
Lead Developer
Posts: 2936
Joined: Sun May 27, 2012 4:12 pm

Re: Problems playing MKVs with TSMuxer w/6 ch AC-3

Post by SubJunk » Tue Mar 12, 2013 1:35 pm

Has it happened with more than one MKV? Because I remember there were problems with that first GoT file and when it was released some people were asking for a repack but it never came, so I think in that case it's an unusual buggy file

User avatar
kuroukage
Posts: 304
Joined: Wed Dec 12, 2012 3:56 pm

Re: Problems playing MKVs with TSMuxer w/6 ch AC-3

Post by kuroukage » Tue Mar 12, 2013 4:52 pm

I don't have problems with AC3 or DTS in an .mkv container. I can get 6 channels for both to my receiver just fine.
黒影
_______________________________________________|_._._._._._._._._._
\______________________________________________|_#_#_#_#_#_#_|
------------------------------------------------------------------|---------------------

Post Reply