FAQ  •  Register  •  Login

[CLOSED] Bravia 2013 -AAC track in local mkv - no sound

<<

herouth

Serviio newbie

Posts: 9

Joined: Tue Oct 01, 2013 10:39 pm

Post Wed Oct 02, 2013 5:38 pm

[CLOSED] Bravia 2013 -AAC track in local mkv - no sound

Hello. Newbie here.

I'm trying to play a certain series from my Linux to my new Sony Bravia KDL-42W635A. The episodes in the series are in MKV files, with two sound tracks and one subtitle track. The first sound track is AC3 2.0, and the second is AAC 5.1. I wish to view this series in the second sound track (and using the subtitles), but alas, although the TV allows me to select the second sound track, there is no sound.

Here is the output of ffmpeg -i:

  Code:
ffmpeg version 1.1.git Copyright (c) 2000-2013 the FFmpeg developers
  built on Oct  1 2013 23:13:11 with gcc 4.7 (Ubuntu/Linaro 4.7.2-2ubuntu1)
  configuration: --enable-gpl --enable-libfaac --enable-libmp3lame --enable-libopencore-amrnb --enable-libopencore-amrwb --enable-libtheora --enable-libvorbis --enable-libx264 --enable-nonfree --enable-postproc --enable-version3 --enable-x11grab --enable-librtmp --enable-libxvid --enable-libass
  libavutil      52. 37.101 / 52. 37.101
  libavcodec     55. 16.100 / 55. 16.100
  libavformat    55.  9.100 / 55.  9.100
  libavdevice    55.  2.100 / 55.  2.100
  libavfilter     3. 77.101 /  3. 77.101
  libswscale      2.  3.100 /  2.  3.100
  libswresample   0. 17.102 /  0. 17.102
  libpostproc    52.  3.100 / 52.  3.100
Input #0, matroska,webm, from '[joseole99] The Twelve Kingdoms - 01 (1440x1080 h264 AC3 AAC) [5ED2AC93].mkv':
  Metadata:
    creation_time   : 2011-01-06 17:13:30
  Duration: 00:25:01.54, start: 0.000000, bitrate: 3497 kb/s
    Chapter #0.0: start 0.000000, end 94.970000
    Metadata:
      title           : OP
    Chapter #0.1: start 94.970000, end 647.637000
    Metadata:
      title           : Part A
    Chapter #0.2: start 647.637000, end 1389.637000
    Metadata:
      title           : Part B
    Chapter #0.3: start 1389.637000, end 1483.603000
    Metadata:
      title           : ED
    Chapter #0.4: start 1483.603000, end 1501.542000
    Metadata:
      title           : Preview
    Stream #0:0(jpn): Video: h264 (High), yuv420p, 1440x1080, SAR 1:1 DAR 4:3, 23.98 fps, 23.98 tbr, 1k tbn, 47.95 tbc (default)
    Metadata:
      title           : Shadow of the Moon, The Sea of Shadow - Chapter 1
    Stream #0:1(eng): Audio: ac3, 48000 Hz, stereo, fltp, 224 kb/s (default)
    Metadata:
      title           : AC3 2.0
    Stream #0:2(jpn): Audio: aac, 48000 Hz, 5.1, fltp
    Metadata:
      title           : AAC 5.1
    Stream #0:3(eng): Subtitle: ssa (default)
    Metadata:
      title           : Title/Signs
    Stream #0:4(jpn): Subtitle: ssa
    Metadata:
      title           : Dialogue
Codec 0x18000 is not in the full list.
    Stream #0:5: Attachment: unknown_codec
    Metadata:
      filename        : LBRITED.TTF
      mimetype        : application/x-truetype-font
Codec 0x18000 is not in the full list.
    Stream #0:6: Attachment: unknown_codec
    Metadata:
      filename        : MTCORSVA.TTF
      mimetype        : application/x-truetype-font
Codec 0x18000 is not in the full list.
    Stream #0:7: Attachment: unknown_codec
    Metadata:
      filename        : POORICH.TTF
      mimetype        : application/x-truetype-font
At least one output file must be specified


I added the Sony 2013 profile in advance from the top of this forum, and made sure it was selected for it in the console.

The extended log (to be provided upon request) merely says "Delivering file... in native format".

I tried to add the following entry to the profile, first entry in the Transcoding section, restart serviio and try again:

  Code:
 <Video targetContainer="mpegts" targetACodec="ac3" forceInheritance="true">
                <Matches container="*" vCodec="h264" aCodec="aac" />
            </Video>


Maybe this is just nonsense. Anyway, serviio still delivers in native format.

I have a suspicion that perhaps serviio is not showing the TV the mime type it expects for AAC or something like that. Or perhaps the problem is that there are two different sound tracks?... but anyway, why doesn't it remux?

And if it remuxed, would the two sound tracks still be available to me? Before I loaded the 2013 profile, I tried the 2012 profile, and using that, it delivered the episode - probably in a different container or something, which did not give me any way to choose the subtitles or the second sound track. There is no way that I can see to tell serviio to give me the second sound track on the server side, so it's pretty much essential that it remuxes to a container that allows choosing a sound track.
<<

Illico

User avatar

DLNA master

Posts: 4646

Joined: Fri Jul 23, 2010 8:08 am

Location: France

Post Wed Oct 02, 2013 6:11 pm

Re: AAC track in local mkv - no sound

Serviio always select the first audio track in multi track contain.

You can remux your file with mkvmerge tools to change audio track order.
<<

herouth

Serviio newbie

Posts: 9

Joined: Tue Oct 01, 2013 10:39 pm

Post Wed Oct 02, 2013 6:16 pm

Re: AAC track in local mkv - no sound

Illico wrote:Serviio always select the first audio track in multi track contain.

You can remux your file with mkvmerge tools to change audio track order.


I suppose this is an answer to the second part of my question? Where I asked whether after remuxing I will still have two tracks?

It sends out mkv just fine, with all tracks, though, so this can't refer to my first question. Or maybe I didn't understand you.
<<

Illico

User avatar

DLNA master

Posts: 4646

Joined: Fri Jul 23, 2010 8:08 am

Location: France

Post Thu Oct 03, 2013 5:51 am

Re: AAC track in local mkv - no sound

According to this post : viewtopic.php?f=11&t=11147

With 2013 profile :
Supported :
- Select audio track with MKV (WeBM ?)
- Select subtitle track with MKV (WebM ?)


So you should select audio track on TV (in native format), if not, you can try to rebuild the mkv file with mkvmerge tools.(probably something in mkv container that TV does not support)


With other profiles (2012,2011,etc), file will be remuxed in mpegts and only first audio track will be kept.
<<

DenyAll

DLNA master

Posts: 2257

Joined: Fri Mar 08, 2013 11:16 pm

Location: Adelaide, Australia

Post Thu Oct 03, 2013 7:44 am

Re: AAC track in local mkv - no sound

Sorry to butt in - but the way it's behaving suggests that the TV cannot support AAC 5.1 audio. So even though when playing the file natively it allows you to select the AAC 5.1 audio type, it cannot decode it and you hear the blissful sounds of silence.

Also, the reason this doesn't trigger transcoding:
  Code:
<Video targetContainer="mpegts" targetACodec="ac3" forceInheritance="true">
     <Matches container="*" vCodec="h264" aCodec="aac" />
</Video>
is that Serviio only matches against the first audio stream (which in this case is AC-3)... so the match statement never gets met, and audio transcoding never gets initiated.

For this to work, you would (as per Illico's instructions) set the AAC 5.1 stream to be the first audio stream and then Serviio would transcode it. I wouldn't go down that path though as it's messy - transcoding it will likely cause other potential issues (fast forwarding, rewinding, aspect ratio). If you were going to go down this path, I'd just create a new AC3 5.1 stream based on the AAC 5.1 stream and make it the first audio stream. Provided your TV can decode AC-3 5.1 you can then play the file natively.
DenyAll
Panasonic Viera FX800A | Panasonic Viera CS610A | Sony PS4 | Sony PS3 | Panasonic DMP-BD79 | Yamaha RX-V500D | iPad | Windows 10 | Serviio 1.10.1 Pro
WinHelper | MediaInfo

Beta Tester, Moderator
Please do not PM me for support as any solution cannot be shared with others.
<<

Illico

User avatar

DLNA master

Posts: 4646

Joined: Fri Jul 23, 2010 8:08 am

Location: France

Post Thu Oct 03, 2013 9:19 am

Re: AAC track in local mkv - no sound

DenyAll wrote:Sorry to butt in - but the way it's behaving suggests that the TV cannot support AAC 5.1 audio.

This would be fine that Sony 2013 user's confirms this. (Some users confirm that multi track selection was supported within mkv)

According to this : http://pdf.crse.com/manuals/13MW802111/ ... ist.html#5

With mkv, following audio codec are supported...
DTS core / AC3 / AAC-LC / E-AC3 / HE-AAC v1 / HE-AAC v2 / MPEG1L1 / MPEG1L2 / Vorbis



@herouth : could you provide MediaInfo tools result in text format of your mkv file ?
<<

herouth

Serviio newbie

Posts: 9

Joined: Tue Oct 01, 2013 10:39 pm

Post Thu Oct 03, 2013 10:28 am

Re: AAC track in local mkv - no sound

Thank you, DenyAll, your analysis fits the situation exactly. While I was waiting for an answer, I remuxed the file into another file with only the AAC 5.1 sound track in it. With unchanged, vanilla 2013 profile, serviio plays that natively - and no sound comes out on TV. The same is true for another DLNA server I installed, so I'm pretty sure it's the television's problem.

As for my attempt to add transcoding to the profile... it failed, but not for the reason you mentioned. When I start serviio with that addition to the profile, all my videos with AAC sound track - whether 5.1 or 2.0 - disappear from the listing on the television. I'm a newbie to serviio, so I'm just guessing, but I think that it takes the entry into account and tells the TV it has all these videos in mpegts and ac3 format. And the television doesn't like that - probably because of the mpgets, not because of the ac3.

Compared to the 2012 profile, the 2013 profile seems to have a very short MediaFormatProfiles list. I'm thinking perhaps something in the name translation has been overlooked?

Back to the issue at hand, basically, you are saying that I need to pre-transcode my series manually? I don't actually need it in 5.1, and the TV accepts AAC 2.0 just fine (BTW, is there a way to write transcoding in the profile so that it only detects and transcodes aac 5.1, not aac 2.0?). Isn't there an option to deliver the file as mkv and just transcode the sound track?

Oh, and the "downmix to stereo" option in the console doesn't seem to have any effect.

Illico, yes, multitrack selection is most certainly supported within mkv on my Sony W6. I have other files whose tracks are all AAC (stereo rather than 5.1) and they are streamed natively, and I can select any of their sound tracks and subtitles on the TV, no problems.

Here is the mediainfo output you requested:
  Code:
General
Unique ID                                : 213162925105429614824577474531309194357 (0xA05DAFA0EE806E1E87DF141CC4250C75)
Complete name                            : [joseole99] The Twelve Kingdoms - 01 (1440x1080 h264 AC3 AAC) [5ED2AC93].mkv
Format                                   : Matroska
Format version                           : Version 2
File size                                : 626 MiB
Duration                                 : 25mn 1s
Overall bit rate                         : 3 498 Kbps
Encoded date                             : UTC 2011-01-06 17:13:30
Writing application                      : mkvmerge v3.2.0 ('Beginnings') built on Feb 12 2010 16:46:17
Writing library                          : libebml v0.7.9 + libmatroska v0.8.1
Attachment                               : Yes / Yes / Yes

Video
ID                                       : 1
Format                                   : AVC
Format/Info                              : Advanced Video Codec
Format profile                           : High@L4.1
Format settings, CABAC                   : Yes
Format settings, ReFrames                : 4 frames
Codec ID                                 : V_MPEG4/ISO/AVC
Duration                                 : 25mn 1s
Width                                    : 1 440 pixels
Height                                   : 1 080 pixels
Display aspect ratio                     : 4:3
Frame rate mode                          : Constant
Frame rate                               : 23.976 fps
Color space                              : YUV
Chroma subsampling                       : 4:2:0
Bit depth                                : 8 bits
Scan type                                : Progressive
Title                                    : Shadow of the Moon, The Sea of Shadow - Chapter 1
Writing library                          : x264 core 68 r1183M f21daff
Encoding settings                        : cabac=1 / ref=4 / deblock=1:0:0 / analyse=0x3:0x113 / me=umh / subme=9 / psy_rd=0.4:0.0 / mixed_ref=1 / me_range=32 / chroma_me=1 / trellis=2 / 8x8dct=1 / cqm=0 / deadzone=21,11 / chroma_qp_offset=-2 / threads=4 / nr=0 / decimate=0 / mbaff=0 / bframes=6 / b_pyramid=1 / b_adapt=2 / b_bias=0 / direct=3 / wpredb=1 / keyint=240 / keyint_min=25 / scenecut=40 / rc=crf / crf=19.0 / qcomp=0.60 / qpmin=10 / qpmax=51 / qpstep=4 / vbv_maxrate=50000 / vbv_bufsize=50000 / ip_ratio=1.20 / pb_ratio=1.10 / aq=1:1.00
Language                                 : Japanese
Default                                  : Yes
Forced                                   : No

Audio #1
ID                                       : 2
Format                                   : AC-3
Format/Info                              : Audio Coding 3
Mode extension                           : CM (complete main)
Format settings, Endianness              : Big
Codec ID                                 : A_AC3
Duration                                 : 25mn 1s
Bit rate mode                            : Constant
Bit rate                                 : 224 Kbps
Channel(s)                               : 2 channels
Channel positions                        : Front: L R
Sampling rate                            : 48.0 KHz
Bit depth                                : 16 bits
Compression mode                         : Lossy
Stream size                              : 40.1 MiB (6%)
Title                                    : AC3 2.0
Language                                 : English
Default                                  : Yes
Forced                                   : No

Audio #2
ID                                       : 3
Format                                   : AAC
Format/Info                              : Advanced Audio Codec
Format profile                           : LC
Codec ID                                 : A_AAC
Duration                                 : 25mn 1s
Channel(s)                               : 6 channels
Channel positions                        : Front: L C R, Side: L R, LFE
Sampling rate                            : 48.0 KHz
Compression mode                         : Lossy
Title                                    : AAC 5.1
Language                                 : Japanese
Default                                  : No
Forced                                   : No

Text #1
ID                                       : 4
Format                                   : ASS
Codec ID                                 : S_TEXT/ASS
Codec ID/Info                            : Advanced Sub Station Alpha
Compression mode                         : Lossless
Title                                    : Title/Signs
Language                                 : English
Default                                  : Yes
Forced                                   : No

Text #2
ID                                       : 5
Format                                   : ASS
Codec ID                                 : S_TEXT/ASS
Codec ID/Info                            : Advanced Sub Station Alpha
Compression mode                         : Lossless
Title                                    : Dialogue
Language                                 : Japanese
Default                                  : No
Forced                                   : No

Menu
00:00:00.000                             : en:OP
00:01:34.970                             : en:Part A
00:10:47.637                             : en:Part B
00:23:09.637                             : en:ED
00:24:43.603                             : en:Preview
<<

DenyAll

DLNA master

Posts: 2257

Joined: Fri Mar 08, 2013 11:16 pm

Location: Adelaide, Australia

Post Thu Oct 03, 2013 12:11 pm

Re: AAC track in local mkv - no sound

Back to the issue at hand, basically, you are saying that I need to pre-transcode my series manually? I don't actually need it in 5.1
I was presuming you wanted the 5.1 (as you weren't happy with the AC-3 from audio #1) but now that you have posted the MediaInfo I have noticed that its a Japanese track (didn't pick that up b4). In any case, because your only Japanese track is in AAC 5.1 you will, given your TV doesn't seem to support AAC 5.1***, need to transcode it into something that does work for you.

Yes, I would pre transcode (permanently encode) it, as (a) this will avoid issues you may otherwise have when transcoding and (b) its audio, so re-encoding is quick. Use something like XMedia Recode - make sure you set it copy (rather than convert) the video and all existing audio streams (hence no loss of quality) and also create a new audio track (probably AC-3) from your Japanese track. This way you'll have all the original streams plus plus one more AC-3 Japanese audio stream, which you can select from your TV.

*** Illico's information suggests that AAC should be supported for this TV (and users have reported it working with 5.1). Have you other files with AAC 5.1 that can be tested - it may only be something in this file that is wonky. If not, this is what they tested with: http://divxtrailers.divx.com/BigBuckBun ... PlusHD.mkv

Isn't there an option to deliver the file as mkv and just transcode the sound track?
No unfortunately. You cannot transcode on-the-fly into an MKV container.

BTW, is there a way to write transcoding in the profile so that it only detects and transcodes aac 5.1, not aac 2.0?
No - but there is a open bit bucket here: https://bitbucket.org/xnejp03/serviio/i ... -number-of

Compared to the 2012 profile, the 2013 profile seems to have a very short MediaFormatProfiles list.
Over to Illico for this one......
DenyAll
Panasonic Viera FX800A | Panasonic Viera CS610A | Sony PS4 | Sony PS3 | Panasonic DMP-BD79 | Yamaha RX-V500D | iPad | Windows 10 | Serviio 1.10.1 Pro
WinHelper | MediaInfo

Beta Tester, Moderator
Please do not PM me for support as any solution cannot be shared with others.
<<

Illico

User avatar

DLNA master

Posts: 4646

Joined: Fri Jul 23, 2010 8:08 am

Location: France

Post Thu Oct 03, 2013 2:40 pm

Re: AAC track in local mkv - no sound

Compared to the 2012 profile, the 2013 profile seems to have a very short MediaFormatProfiles list.
Over to Illico for this one......


You can try with same values than 2012 profile, like this :
  Code:
<Profile id="sony2013" name="Sony Bravia TV (2013)" extendsProfileId="1">
   <!-- 2013 models
                 Codec list supported : http://pdf.crse.com/manuals/13MW802111/FR/codeclist.html#5
                 - Still images: JPEG (*.jpg / *.jpe / *.jpeg), MPO (*.mpo), RAW (*.arw)
                 - Music: LPCM, MP1L1 / MP1L2 / MP1L3 / MP2L1 / MP2L2 / MP2L3 / MP2.5L3 (*.mp3), AAC-LC / HE-AAC v1/v2 (*.mp4 / *.m4a / *.3gp / *.3g2), WMA9 (*.wma)
                 - Video: MPEG1 / MPEG2PS / AVCHD , MP4, Xvid, Motion JPEG, VC1, MKV, 3gpp, MOV, WebM
                 -->
   <Detection>
      <UPnPSearch>
         <FriendlyName>BRAVIA (KDL-\d{2}W[689]\d{2}A.*)|(KD-\d{2}X9005A.*)</FriendlyName>
      </UPnPSearch>
   </Detection>
   <DeviceDescription>
      <!-- act as WMP so that the TV doesn't show root categories -->
      <ModelName>Windows Media Player Sharing</ModelName>
      <ModelNumber>3.0</ModelNumber>
      <Manufacturer>Microsoft Corporation</Manufacturer>
   </DeviceDescription>
   <ContentDirectoryMessageBuilder>org.serviio.upnp.service.contentdirectory.SonyDLNAMessageBuilder</ContentDirectoryMessageBuilder>
   <ContentDirectoryDefinitionFilter>org.serviio.upnp.service.contentdirectory.definition.WMPContentDirectoryDefinitionFilter</ContentDirectoryDefinitionFilter>
   <MediaFormatProfiles>
      <!-- rename native WMA formats to those supported by the tv -->
      <MediaFormatProfile mime-type="audio/x-ms-wma" name="WMABASE">WMA_BASE</MediaFormatProfile>
      <MediaFormatProfile mime-type="audio/x-ms-wma" name="WMAFULL">WMA_FULL</MediaFormatProfile>
      <!-- rename 3gp profiles that can be played as AVC -->
      <MediaFormatProfile mime-type="video/mp4" name="AVC_MP4_MP_SD_AAC_MULT5">AVC_3GPP_BL_QCIF15_AAC</MediaFormatProfile>
      <!-- Rename native avi formats to those supported by the tv -->
      <MediaFormatProfile mime-type="video/avi" name="">AVI</MediaFormatProfile>
      <!-- Rename native mpeg2ts with h264+ac3/aac formats to those supported by the tv (aac support is not advertised by the renderer but it works) -->
      <MediaFormatProfile mime-type="video/vnd.dlna.mpeg-tts" name="AVC_TS_HD_24_AC3,AVC_TS_HD_50_AC3,AVC_TS_HD_60_AC3,AVC_TS_HD_EU">AVC_TS_MP_HD_AC3</MediaFormatProfile>
      <MediaFormatProfile mime-type="video/vnd.dlna.mpeg-tts" name="AVC_TS_HD_24_AC3,AVC_TS_HD_50_AC3,AVC_TS_HD_60_AC3,AVC_TS_HD_EU">AVC_TS_MP_SD_AC3</MediaFormatProfile>
      <MediaFormatProfile mime-type="video/vnd.dlna.mpeg-tts" name="AVC_TS_HD_24_AC3,AVC_TS_HD_50_AC3,AVC_TS_HD_60_AC3,AVC_TS_HD_EU">AVC_TS_MP_HD_AAC_MULT5</MediaFormatProfile>
      <MediaFormatProfile mime-type="video/vnd.dlna.mpeg-tts" name="AVC_TS_HD_24_AC3,AVC_TS_HD_50_AC3,AVC_TS_HD_60_AC3,AVC_TS_HD_EU">AVC_TS_MP_SD_AAC_MULT5</MediaFormatProfile>
      <MediaFormatProfile mime-type="video/vnd.dlna.mpeg-tts" name="AVC_TS_HD_24_AC3_T,AVC_TS_HD_50_AC3_T,AVC_TS_HD_60_AC3_T,AVC_TS_HD_EU_T">AVC_TS_MP_HD_AC3_T</MediaFormatProfile>
      <MediaFormatProfile mime-type="video/vnd.dlna.mpeg-tts" name="AVC_TS_HD_24_AC3_T,AVC_TS_HD_50_AC3_T,AVC_TS_HD_60_AC3_T,AVC_TS_HD_EU_T">AVC_TS_MP_SD_AC3_T</MediaFormatProfile>
      <MediaFormatProfile mime-type="video/vnd.dlna.mpeg-tts" name="AVC_TS_HD_24_AC3_T,AVC_TS_HD_50_AC3_T,AVC_TS_HD_60_AC3_T,AVC_TS_HD_EU_T">AVC_TS_HP_HD_MPEG1_L2_T</MediaFormatProfile>
      <MediaFormatProfile mime-type="video/vnd.dlna.mpeg-tts" name="AVC_TS_HD_24_AC3_T,AVC_TS_HD_50_AC3_T,AVC_TS_HD_60_AC3_T,AVC_TS_HD_EU_T">AVC_TS_HP_SD_MPEG1_L2_T</MediaFormatProfile>
      <MediaFormatProfile mime-type="video/vnd.dlna.mpeg-tts" name="AVC_TS_HD_24_AC3_T,AVC_TS_HD_50_AC3_T,AVC_TS_HD_60_AC3_T,AVC_TS_HD_EU_T">AVC_TS_MP_HD_AAC_MULT5_T</MediaFormatProfile>
      <MediaFormatProfile mime-type="video/vnd.dlna.mpeg-tts" name="AVC_TS_HD_24_AC3_T,AVC_TS_HD_50_AC3_T,AVC_TS_HD_60_AC3_T,AVC_TS_HD_EU_T">AVC_TS_MP_SD_AAC_MULT5_T</MediaFormatProfile>
      <MediaFormatProfile mime-type="video/vnd.dlna.mpeg-tts" name="AVC_TS_HD_24_AC3_T,AVC_TS_HD_50_AC3_T,AVC_TS_HD_60_AC3_T,AVC_TS_HD_EU_T">AVC_TS_MP_SD_MPEG1_L3</MediaFormatProfile>
      <MediaFormatProfile mime-type="video/vnd.dlna.mpeg-tts" name="AVC_TS_HD_24_AC3_T,AVC_TS_HD_50_AC3_T,AVC_TS_HD_60_AC3_T,AVC_TS_HD_EU_T">AVC_TS_MP_SD_MPEG1_L3_T</MediaFormatProfile>         
      <!-- Rename transcoded mpeg2ts with h264 to one of the TV's supported profiles -->
      <MediaFormatProfile mime-type="video/mpeg" name="AVC_TS_HD_24_AC3_ISO,AVC_TS_HD_50_AC3_ISO,AVC_TS_HD_60_AC3_ISO,AVC_TS_HD_EU_ISO">AVC_TS_MP_HD_AC3_ISO</MediaFormatProfile>
      <MediaFormatProfile mime-type="video/mpeg" name="AVC_TS_HD_24_AC3_ISO,AVC_TS_HD_50_AC3_ISO,AVC_TS_HD_60_AC3_ISO,AVC_TS_HD_EU_ISO">AVC_TS_MP_SD_AC3_ISO</MediaFormatProfile>
      <MediaFormatProfile mime-type="video/mpeg" name="AVC_TS_HD_24_AC3_ISO,AVC_TS_HD_50_AC3_ISO,AVC_TS_HD_60_AC3_ISO,AVC_TS_HD_EU_ISO">AVC_TS_HP_HD_MPEG1_L2_ISO</MediaFormatProfile>
      <MediaFormatProfile mime-type="video/mpeg" name="AVC_TS_HD_24_AC3_ISO,AVC_TS_HD_50_AC3_ISO,AVC_TS_HD_60_AC3_ISO,AVC_TS_HD_EU_ISO">AVC_TS_HP_SD_MPEG1_L2_ISO</MediaFormatProfile>
      <MediaFormatProfile mime-type="video/mpeg" name="AVC_TS_HD_24_AC3_ISO,AVC_TS_HD_50_AC3_ISO,AVC_TS_HD_60_AC3_ISO,AVC_TS_HD_EU_ISO">AVC_TS_MP_HD_AAC_MULT5_ISO</MediaFormatProfile>
      <MediaFormatProfile mime-type="video/mpeg" name="AVC_TS_HD_24_AC3_ISO,AVC_TS_HD_50_AC3_ISO,AVC_TS_HD_60_AC3_ISO,AVC_TS_HD_EU_ISO">AVC_TS_MP_SD_AAC_MULT5_ISO</MediaFormatProfile>
      <MediaFormatProfile mime-type="video/mpeg" name="AVC_TS_HD_24_AC3_ISO,AVC_TS_HD_50_AC3_ISO,AVC_TS_HD_60_AC3_ISO,AVC_TS_HD_EU_ISO">AVC_TS_MP_SD_MPEG1_L3_ISO</MediaFormatProfile>
   </MediaFormatProfiles>
   <Transcoding>
      <!-- Transcode all h264 video with HIGH/MAIN > Level 4.2 on MPEG-TS stream with MPEG2VIDEO and ac3 audio transcoding -->
      <!-- expected profile MPEG_TS_SD_EU/MPEG_TS_SD_NA/MPEG_TS_SD_KO -->
      <Video targetContainer="mpegts" targetVCodec="mpeg2video" targetACodec="ac3" DAR="16:9" forceInheritance="true">
         <Matches container="*" vCodec="h264" profile="high_10" />
         <Matches container="*" vCodec="h264" profile="high" levelGreaterThan="4.2" />
         <Matches container="*" vCodec="h264" profile="main" levelGreaterThan="4.2" />
      </Video>
      <!-- Remux containers with h264 video + AC3 audio to MPEG-TS stream without transcoding -->
      <Video targetContainer="mpegts" forceInheritance="true">
         <Matches container="avi" vCodec="h264" aCodec="ac3" />
         <Matches container="flv" vCodec="h264" aCodec="ac3" />
         <Matches container="wtv" vCodec="h264" aCodec="ac3" />
      </Video>
      <!-- Remux all other h264 video to MPEG-TS stream with ac3 audio transcoding -->
      <!-- expected profile AVC_TS_MP_HD_AC3_ISO -->
      <Video targetContainer="mpegts" targetACodec="ac3" forceInheritance="true">
         <Matches container="*" vCodec="h264" aCodec="truehd" />
         <Matches container="*" vCodec="h264" aCodec="flac" />
         <Matches container="avi" vCodec="h264" />
         <Matches container="flv" vCodec="h264" />
         <Matches container="wtv" vCodec="h264" />
      </Video>
      <!-- All Others video/audio codec will be transcoded into mpeg2ts, mpeg2video and ac3 audio -->
      <!-- expected profile MPEG_TS_SD_EU/MPEG_TS_SD_NA/MPEG_TS_SD_KO -->
      <Video targetContainer="mpegts" targetVCodec="mpeg2video" targetACodec="ac3" DAR="16:9" forceInheritance="true">
         <Matches container="mpegts" vCodec="vc1" />
         <Matches container="flv" />
         <!-- example: flv/vp6/mp3 -->
         <Matches container="wtv" />
         <Matches container="ogg" />
         <Matches container="rm" />
         <!--Matches container="3gp" vCodec="mpeg4" /-->
         <!--Matches container="3gp" vCodec="h263" /-->
         <!-- digital camera video formats -->
         <Matches container="avi" vCodec="mjpeg" />
         <Matches container="mp4" vCodec="mjpeg" />
         <Matches container="asf" vCodec="vc1" aCodec="wmapro" />
         <Matches container="avi" vCodec="dvvideo" />
         <Matches container="mp4" vCodec="dvvideo" />
      </Video>
      <Audio targetContainer="lpcm" forceInheritance="true">
         <Matches container="flv" />
         <Matches container="rtp" />
         <Matches container="rtsp" />
         <Matches container="flac" />
         <Matches container="ogg" />
         <Matches container="adts" />
      </Audio>
   </Transcoding>
   <HardSubsTranscoding>
      <Video targetContainer="mpegts" targetVCodec="mpeg2video" targetACodec="ac3" DAR="16:9" />
   </HardSubsTranscoding>
   <Subtitles>
      <HardSubs>
         <RequiredFor container="mpegts" />
         <RequiredFor container="mp4" />
         <RequiredFor container="avi" />
      </HardSubs>
   </Subtitles>
   <LimitImageResolution>false</LimitImageResolution>
</Profile>
Illico
Sony 2010 KDL-46EX501 | BDP-S373 | SMP-N100 | Windows 8-i7 | Network DD HD-CE1.5TLU2 | Livebox2-UHD86 | ServiiDroid | ServiiGo | BubbleUPnP
Serviio beta tester - Moderator
<<

herouth

Serviio newbie

Posts: 9

Joined: Tue Oct 01, 2013 10:39 pm

Post Thu Oct 03, 2013 3:50 pm

Re: AAC track in local mkv - no sound

Thank you, Illico. With this addition, it now works as expected. If I add a transcoding entry for aac->ac3, I can now see all my aac-based files in the listing, and a file whose first track is aac is delivered transcoded. I suggest updating the profile at the top of the forum to include the these media profile formats as otherwise the TV does not recognize mpegts as delivered by serviio.

DenyAll, ah, yes, I'm sorry, it didn't occur to me to mention why I was interested in the second sound track over the first. Yes, it's Japanese, of course.

Anyway, I have to agree with you, after testing with Illico's revised profile + transcoding entry: Using transcoding for this is not the way to go in my particular case, because I lose the flexibility of changing soundtracks and subtitles on the fly. So I recoded one episode. Since I'm on Linux I did that with ffmpeg (extract the track, downmixing to stereo) and mkvmerge GUI (combine extracted track with original mkv sans 5.1 track). This works well and I can change tracks and subtitles. But doing this for all 45 episodes... Gnh, it's too much like work. :D

I downloaded the BigBuckBunny file and tried it. This one actually plays very well on the Sony. There must be some difference between the sound tracks. But I don't think my files are corrupted or anything, because it's not just one file, it's the entire series that plays the sound of silence. Plus, the "bad" track plays just fine on VLC.

So there is something in that sound track that the Sony TV doesn't like, but which is still acceptable to VLC, and which isn't in the BigBuckBunny file. I can't see any difference in mediainfo or ffmpeg -i, though.

Return to Sony

Who is online

Users browsing this forum: No registered users and 42 guests

Powered by phpBB © 2000, 2002, 2005, 2007 phpBB Group.
Designed by ST Software for PTF.