Unknown1User / ps3mediaserver

Automatically exported from code.google.com/p/ps3mediaserver
0 stars 0 forks source link

DTS 5.1 CD files being transcoded into 2-speaker #456

Open GoogleCodeExporter opened 9 years ago

GoogleCodeExporter commented 9 years ago
What steps will reproduce the problem?
1. choose audio->ps3 media server from XMB
2. choose DTS 5.1 encoded audio file
3. play back, but only in 2-speaker PCM

What is the expected output? What do you see instead?
Playback in 5.1 LPCM over HDMI is what I'd like to see, but I'm getting 2.0

What version of the product are you using? On what operating system?
1.10.5 on Ubuntu 9.04

If you are transcoding a media file, which engine are you using (mencoder,
avisynth/mencoder, tsmuxer?)
mencoder

If the media file is in error (or does not play flawlessly), what are the
codec informations of this file (you can use following program:
mediainfo.sourceforge.net) ? 
$ mediainfo "Led Zeppelin - Led Zeppelin IV [DTS] - 04 - Stairway To Heaven
[DTS].dts"
General
Complete name                    : Led Zeppelin - Led Zeppelin IV [DTS] -
04 - Stairway To Heaven [DTS].dts
Format                           : Wave
File size                        : 80.9 MiB
Duration                         : 8mn 1s
Overall bit rate                 : 1 411.2 Kbps

Audio
Format                           : DTS
Format/Info                      : Digital Theater Systems
Format profile                   : LE / 14
Codec ID                         : 1
Codec ID/Hint                    : Microsoft
Duration                         : 8mn 1s
Bit rate mode                    : Constant
Bit rate                         : 1 411.2 Kbps
Channel(s)                       : 6 channels
Channel positions                : Front: L C R, Surround: L R, LFE
Sampling rate                    : 44.1 KHz
Resolution                       : 24 bits
Stream size                      : 80.9 MiB (100%)

Please provide any additional information below and PLEASE JOIN debug.log
file !!

[Thread-4622] TRACE 19:43:58.990 Starting transcode/remux of Led Zeppelin -
Led Zeppelin IV [DTS] - 04 - Stairway To Heaven [DTS].dts

Original issue reported on code.google.com by mathew.h...@gmail.com on 11 Jun 2009 at 8:12

GoogleCodeExporter commented 9 years ago
ugh, looks like mencoder on ubuntu doesn't have the dtscd codec:

$ mplayer -ac help|grep dts

dts         libdca    working   DTS-libdca
hwdts       hwac3     working   DTS through S/PDIF

Will try to build manually and see...  (does ps3mediaserver have a config 
option for
the path to mplayer/mencoder?)

Original comment by mathew.h...@gmail.com on 11 Jun 2009 at 8:17

GoogleCodeExporter commented 9 years ago
looks like specifying -channels 6 for the file would do it?  Perhaps a config 
file
default for .dts files would be helpful?  (Is there a config file setting to use
mplayer/mencoder settings for particular file extensions?)

Original comment by mathew.h...@gmail.com on 11 Jun 2009 at 8:59

GoogleCodeExporter commented 9 years ago
Will try adding this to the 'expert' parameters page:

container == dts :: -channels 6

Original comment by mathew.h...@gmail.com on 11 Jun 2009 at 9:33

GoogleCodeExporter commented 9 years ago
You're stuck for now: 
http://ps3mediaserver.org/forum/viewtopic.php?f=6&t=2356&p=9944

Original comment by meskibob@gmail.com on 11 Jun 2009 at 11:42

GoogleCodeExporter commented 9 years ago
Also, the PS3 doesn't support anything more than 2 channels for media played 
from the
Audio section of the XMB.  That's why 5.1 FLAC files are currently only 
playable from
the Video section of the XMB while using PMS.

Original comment by meskibob@gmail.com on 11 Jun 2009 at 11:44

GoogleCodeExporter commented 9 years ago
Any thought being given to 'tricking' the PS3 to play .dts files in a similar 
fashion
to .flac ?  Presumably, instead of using the flac utility, mencoder with 
-channels 6
could be used..  I took a preliminary look at the code but didn't want to do a 
cut -n
paste..  I highly doubt any dts video would be called '.dts', but rather '.avi' 
most
likely, so .dts or .dtscd could be used for that..

Original comment by mathew.h...@gmail.com on 12 Jun 2009 at 11:31

GoogleCodeExporter commented 9 years ago
[deleted comment]
GoogleCodeExporter commented 9 years ago
Incidentally, I've been able to get DTS-CD audio from iTunes over AirPlay (and 
AirTunes to the Airport Express WAP's SPDIF output) by renaming the files to 
.wav and not applying any modification to the digital bitstream whatsoever (no 
Sound Check, no equalization, etc, just raw bits).

Incidentally, DTSCD audio is standard redbook PCM (uncompressed by the 
receiver, or sounds like static thru an incompatible receiver), so if PS3 can 
send that as a bitstream to a DTSCD-capable receiver, it should play back 
without issues.  It would just need to recognize .dts files as PCM or users 
would have to rename .dts to a PCM filetype such as .wav .

Original comment by mathew.h...@gmail.com on 5 Dec 2010 at 6:38

GoogleCodeExporter commented 9 years ago
Just want to add in my 2 cents in here. 

The DTS audio files play fine on the PS3 through PMS as long as you have 
disabled all other LPCM sampling rates other than 44.1KHz and 48KHz under audio 
settings. Make sure you disable dynamic normalize and Bit sampling as well. To 
be on the safer side always start playing any song on very low volumes as the 
noise that comes out of the speakers(If not configured properly) could 
potentially damage your speakers.

A shortcut to achieve this is to enable Multi audio out which does this for you 
automatically if you use HDMI for your audio.

I've also noticed that replaying DTS audio from PMS 1.50 does not work when the 
LPCM encoding reads through PMS is 42Bits. 128Bits work! It's supposed to be 
16Bit but it reads it inaccurately. You can solve the issue by copying the DTS 
files into the PS3 HDD. 

Original comment by ashwinna...@gmail.com on 28 Nov 2011 at 4:59