View Full Version : How to keep DTS stream from MKV file to PS3, and how to select audio stream

09-10-2010, 03:32 PM
Hi there,

I have an .mkv file that contains a DTS stream. When streamed over to my PS3, it has been transcoded into AC3. How can I keep the DTS stream intact and not have any transcoding performed?


09-10-2010, 03:34 PM

Can you please post FFmpeg information for that file (in Mezzmo right-click on the file and use the "Get FFmpeg Information" command). The PS3 doesn't support MKV, so we cannot avoid transcoding, but by modifying the device profile you can change the format files will be transcoded to and force another audio stream format.

09-10-2010, 03:46 PM
Hi there,

Below is the info:

FFmpeg version SVN-r24894, Copyright (c) 2000-2010 the FFmpeg developers
built on Aug 24 2010 15:03:07 with gcc 4.4.0
configuration: --enable-static --disable-shared --enable-memalign-hack --enable-libmp3lame --extra-cflags=-I/c/msys/local/include --extra-ldflags=-L/c/msys/local/lib --enable-zlib --enable-w32threads --extra-cflags=-fno-common --enable-gpl --enable-libx264 --disable-ffplay --disable-ffprobe --disable-ffserver --enable-runtime-cpudetect --extra-cflags=-U__STRICT_ANSI__
libavutil 50.24. 0 / 50.24. 0
libavcore 0. 6. 0 / 0. 6. 0
libavcodec 52.86. 1 / 52.86. 1
libavformat 52.78. 3 / 52.78. 3
libavdevice 52. 2. 1 / 52. 2. 1
libavfilter 1.37. 0 / 1.37. 0
libswscale 0.11. 0 / 0.11. 0
[matroska,webm @ 013ace10] Estimating duration from bitrate, this may be inaccurate

Seems stream 0 codec frame rate differs from container frame rate: 48.00 (10000000/208333) -> 24.00 (24/1)
Input #0, matroska,webm, from 'E:\Movies\abc.mkv':
Duration: 01:50:16.03, start: 0.000000, bitrate: N/A
Stream #0.0(chi): Video: h264, yuv420p, 1280x544, PAR 1:1 DAR 40:17, 24 fps, 24 tbr, 1k tbn, 48 tbc
title : abc
Stream #0.1(chi): Audio: dca, 48000 Hz, 6 channels, s16
title : DTS MA Core 5.1ch 1536粤语
Stream #0.2(chi): Audio: dca, 48000 Hz, 6 channels, s16
title : DTS MA Core 5.1ch 1536国语
At least one output file must be specified

I believe that both the video (h264) and the audio in the MKV container is supported natively by the PS3. I have used another DLNA serving software in the past (PS3 Media Server) and it was able to stream DTS and AC3 to the PS3 without any transcoding, so I'm thinking (and hoping) that Mezzmo is the same.


09-10-2010, 04:03 PM
Thanks for the FFmpeg info.

The PS3 does not support MKVs natively, but it does support h264 and various audio streams in other containers, such as MPEG-TS, so I would assume that the PS3MS remuxed those files to that container, same as Mezzmo does. The problem is that FFmpeg (which we use for transcoding) does not encode DTS audio (dca), so it cannot copy the audio stream during remuxing and thus needs to change it to AC3.

09-10-2010, 04:23 PM
Thanks Dennis, for the quick reply. Indeed PS3MS *does* remux the video and audio (which is much less cpu intensive than transcoding). I believe it uses tsMuxeR (http://www.smlabs.net/tsmuxer_en.html) which is freeware. Do you think Mezzmo would support this 'feature' of trying to retain native audio formats as best as possible in the future? Or does this really belong in the wishlist? ;)

All-in-all, I very much like Mezzmo's interface and look and feel much more than PS3MS. Here's hoping that Mezzmo can do all of what the other solutions do and more, going forward. The DLNA server space really does need someone to take the lead. Cheers.

09-10-2010, 04:27 PM
Yes, we have considered using several tools to transcode/remux files (with FFmpeg covering most formats and being able to remux as well, which Mezzmo does - for example if you have an h264/AC3 MKV, it would get remuxed into an h264/AC3 MPEG-TS very quickly). There're several issues why this hasn't been implemented yet (including licensing issues for each tool from the authors), but it's on our to-do list, so hopefully this feature will make it through one day :)