Page 1 of 1
Please Help Transcoding DTS Audio

Posted:
Thu Aug 22, 2013 2:03 pm
by roysingh
Dear Friends,
I'm not that good at the programming language of the Serviio Profile (profiles.xml). My tv is Samsung 46D5500 and it doesnt support DTS Audio in mkv files so I use the Samsung TV/Player (C/D/E/F-series) profile. I have some mkv files which only has DTS Audio Streams and my TV wont play it giving the "Video Codec Not Supported" message.
Is there some codes that I can add in the profiles.xml file which will automatically transcode mkv files which has the DTS audio ?
Please kindly help me.
Thanks.
Re: Please Help Transcoding DTS Audio

Posted:
Thu Aug 22, 2013 2:07 pm
by Illico
I would say...
Open profiles.xml file and just after the line 547 (corresponding to the "Samsung TV / player (C/D/E/F-series)" section)
<Matches container="matroska" vCodec="h264" aCodec="truehd" />
insert the following line
<Matches container="matroska" vCodec="h264" aCodec="dca" />
Re: Please Help Transcoding DTS Audio

Posted:
Thu Aug 22, 2013 2:28 pm
by roysingh
Illico wrote:I would say...
Open profiles.xml file and just after the line 547 (corresponding to the "Samsung TV / player (C/D/E/F-series)" section)
<Matches container="matroska" vCodec="h264" aCodec="truehd" />
insert the following line
<Matches container="matroska" vCodec="h264" aCodec="dca" />
Hi,
That is under the <!-- transcode H264 MP4 files with LPCM audio -->
Right ?
Re: Please Help Transcoding DTS Audio

Posted:
Thu Aug 22, 2013 3:14 pm
by roysingh
Ok I've inserted the lines but it still says "Video Codec Not Supported" on the TV. All othe MKV's plays just fine, it only happens with MKV's that has only DTS Audio Stream only (No AC3 or AAC)
ADDITION : It will also not play mkv files with Format profile : High@L5.0
This is the profiles.xml info ;
<!-- transcode H264 MP4 files with LPCM audio -->
<Video targetContainer="mpegts" targetACodec="ac3">
<!-- Matches container="mpegts" aCodec="mp2" /-->
<Matches container="mp4" aCodec="lpcm" />
<!-- <Matches container="flv" vCodec="h264" /> -->
<Matches container="matroska" vCodec="h264" aCodec="flac" />
<Matches container="matroska" vCodec="h264" aCodec="vorbis" />
<Matches container="matroska" vCodec="h264" aCodec="truehd" />
<Matches container="matroska" vCodec="h264" aCodec="dca" />
<Matches container="mpegts" vCodec="h264" aCodec="truehd" />
<Matches container="ogg" vCodec="mpeg4" />
<Matches container="3gp" aCodec="amrnb" />
<Matches container="wtv" vCodec="h264"/>
</Video>
<Video targetContainer="mpegts" targetACodec="ac3" targetVCodec="mpeg2video">
<Matches container="matroska" vCodec="mpeg2video" />
<Matches container="matroska" vCodec="vp8" />
<Matches container="matroska" vCodec="vc1" aCodec="truehd" />
<Matches container="matroska" vCodec="h264" aCodec="dca" />
<Matches container="avi" vCodec="h264" />
<Matches container="avi" vCodec="mjpeg" />
<Matches container="avi" vCodec="dvvideo" />
<Matches container="flv" vCodec="flv"/> <!-- some models support playing flv natively, in that case remove this line -->
<Matches container="flv" vCodec="h263"/>
<Matches container="flv" vCodec="vp6"/>
<Matches container="ogg" />
<Matches container="rm" /> <!-- some models might support RealVideo natively, in that case remove this line -->
</Video>
The Mediainfo of the MKV file is ;
General
Unique ID : 189620425541869860923904135101457915781 (0x8EA790C8A961AFACB31B28D013685F85)
Complete name : F:\NAS Multimedia\Movies\English\1080p\007 Collection\The Man With The Golden Gun (1974)\The Man With The Golden Gun (1974) (1080p).mkv
Format : Matroska
Format version : Version 2
File size : 5.82 GiB
Duration : 2h 5mn
Overall bit rate : 6 654 Kbps
Encoded date : UTC 2012-11-02 11:39:38
Writing application : mkvmerge v4.8.0 ('I Got The...') built on May 24 2011 03:12:58
Writing library : libebml v1.2.0 + libmatroska v1.1.0
Video
ID : 1
Format : AVC
Format/Info : Advanced Video Codec
Format profile : High@L5.0
Format settings, CABAC : Yes
Format settings, ReFrames : 6 frames
Muxing mode : Header stripping
Codec ID : V_MPEG4/ISO/AVC
Duration : 2h 5mn
Bit rate : 5 900 Kbps
Width : 1 920 pixels
Height : 1 040 pixels
Display aspect ratio : 1.85:1
Frame rate mode : Constant
Frame rate : 23.976 fps
Color space : YUV
Chroma subsampling : 4:2:0
Bit depth : 8 bits
Scan type : Progressive
Bits/(Pixel*Frame) : 0.123
Stream size : 5.04 GiB (87%)
Title : 1974 - The Man with the Golden Gun 1080p DTS HighCode
Writing library : x264 core 120
Encoding settings : cabac=1 / ref=6 / deblock=1:-3:-3 / analyse=0x3:0x133 / me=umh / subme=10 / psy=1 / psy_rd=1.00:0.00 / mixed_ref=1 / me_range=128 / chroma_me=1 / trellis=2 / 8x8dct=1 / cqm=0 / deadzone=21,11 / fast_pskip=1 / chroma_qp_offset=-2 / threads=12 / sliced_threads=0 / nr=0 / decimate=1 / interlaced=0 / bluray_compat=0 / constrained_intra=0 / bframes=8 / b_pyramid=2 / b_adapt=2 / b_bias=0 / direct=3 / weightb=1 / open_gop=0 / weightp=2 / keyint=240 / keyint_min=24 / scenecut=40 / intra_refresh=0 / rc_lookahead=150 / rc=2pass / mbtree=1 / bitrate=5900 / ratetol=1.0 / qcomp=0.60 / qpmin=3 / qpmax=69 / qpstep=4 / cplxblur=20.0 / qblur=0.5 / ip_ratio=1.40 / aq=1:2.00
Language : English
Default : Yes
Forced : No
Color primaries : BT.709
Transfer characteristics : BT.709
Matrix coefficients : BT.709
Audio
ID : 2
Format : DTS
Format/Info : Digital Theater Systems
Mode : 16
Format settings, Endianness : Big
Muxing mode : Header stripping
Codec ID : A_DTS
Duration : 2h 5mn
Bit rate mode : Constant
Bit rate : 755 Kbps
Channel(s) : 6 channels
Channel positions : Front: L C R, Side: L R, LFE
Sampling rate : 48.0 KHz
Bit depth : 24 bits
Compression mode : Lossy
Delay relative to video : 11ms
Stream size : 676 MiB (11%)
Language : English
Default : Yes
Forced : No
Text #1
ID : 3
Format : UTF-8
Codec ID : S_TEXT/UTF8
Codec ID/Info : UTF-8 Plain Text
Language : English
Default : Yes
Forced : No
Text #2
ID : 4
Format : UTF-8
Codec ID : S_TEXT/UTF8
Codec ID/Info : UTF-8 Plain Text
Language : German
Default : No
Forced : No
Text #3
ID : 5
Format : UTF-8
Codec ID : S_TEXT/UTF8
Codec ID/Info : UTF-8 Plain Text
Language : Hungarian
Default : No
Forced : No
Text #4
ID : 6
Format : UTF-8
Codec ID : S_TEXT/UTF8
Codec ID/Info : UTF-8 Plain Text
Language : Romanian
Default : No
Forced : No
Text #5
ID : 7
Format : UTF-8
Codec ID : S_TEXT/UTF8
Codec ID/Info : UTF-8 Plain Text
Language : Spanish
Default : No
Forced : No
Re: Please Help Transcoding DTS Audio

Posted:
Thu Aug 22, 2013 3:45 pm
by Lowlander
Be sure to restart the Serviio service to activate changes. It's easy to miss when fiddling with profiles.
Re: Please Help Transcoding DTS Audio

Posted:
Thu Aug 22, 2013 3:48 pm
by zip
DTS is supported on Samsungs since C series. The message also states it's the video codec that is the problem. So I think the problem is in the h264 encoding settings of the video.
Re: Please Help Transcoding DTS Audio

Posted:
Thu Aug 22, 2013 5:26 pm
by roysingh
zip wrote:DTS is supported on Samsungs since C series. The message also states it's the video codec that is the problem. So I think the problem is in the h264 encoding settings of the video.
Hi,
Thanks for your reply. Yes you are right. Its not an audio issue its a video issue. I was able to solve this problem by adding the maxVBitrate="8192" after reading another users post regarding his problem with the same type of Samsung D Series TV.
This post -
https://bitbucket.org/xnejp03/serviio/i ... scoding-toThis is the edited line :
<Video targetContainer="mpegts" targetVCodec="mpeg2video"
maxVBitrate="8192" targetACodec="ac3" aBitrate="192">
It seems that the TV will only accept bitrate of max 8192.
Anyway, Thank You all for your help. God Bless You All...
