Page 1 of 1

mkv audio

PostPosted: Sat Dec 21, 2013 11:18 pm
by andybh
Hi

Probably have explained this a million times in this forum but I am trying to get my head around why some .mkv files will have audio and some not have audio when streaming. I open them locally with VLC and work fine. Is there a codec update needed here?

Here is my profile:

<Profile id="1" name="Generic DLNA profile">
<ContentDirectoryMessageBuilder>org.serviio.upnp.service.contentdirectory.GenericDLNAMessageBuilder</ContentDirectoryMessageBuilder>
<ProtocolInfo>DLNA</ProtocolInfo>
<DeviceDescription>
<FriendlyName>Serviio ({computerName})</FriendlyName>
<ModelName>Serviio Media Server</ModelName>
<Manufacturer>Petr Nejedly</Manufacturer>
</DeviceDescription>
<MediaFormatProfiles>
<MediaFormatProfile mime-type="audio/mpeg">MP3</MediaFormatProfile>
<MediaFormatProfile mime-type="audio/mpeg">MP2_MPS</MediaFormatProfile>
<MediaFormatProfile mime-type="audio/L16;rate=44100;channels=1" name="LPCM">LPCM16_44_MONO</MediaFormatProfile>
<MediaFormatProfile mime-type="audio/L16;rate=44100;channels=2" name="LPCM">LPCM16_44_STEREO</MediaFormatProfile>
<MediaFormatProfile mime-type="audio/L16;rate=48000;channels=1" name="LPCM">LPCM16_48_MONO</MediaFormatProfile>
<MediaFormatProfile mime-type="audio/L16;rate=48000;channels=2" name="LPCM">LPCM16_48_STEREO</MediaFormatProfile>
<MediaFormatProfile mime-type="audio/x-ms-wma">WMA_BASE</MediaFormatProfile>
<MediaFormatProfile mime-type="audio/x-ms-wma">WMA_FULL</MediaFormatProfile>
<MediaFormatProfile mime-type="audio/mp4">AAC_ISO</MediaFormatProfile>
<MediaFormatProfile mime-type="audio/mp4">AAC_ISO_320</MediaFormatProfile>
<MediaFormatProfile mime-type="audio/vnd.dlna.adts">AAC_ADTS</MediaFormatProfile>
<MediaFormatProfile mime-type="audio/vnd.dlna.adts">AAC_ADTS_320</MediaFormatProfile>
<MediaFormatProfile mime-type="audio/flac">FLAC</MediaFormatProfile>
<MediaFormatProfile mime-type="audio/ogg">OGG</MediaFormatProfile>
<MediaFormatProfile mime-type="image/jpeg">JPEG_SM</MediaFormatProfile>
<MediaFormatProfile mime-type="image/jpeg">JPEG_MED</MediaFormatProfile>
<MediaFormatProfile mime-type="image/jpeg">JPEG_LRG</MediaFormatProfile>
<MediaFormatProfile mime-type="image/jpeg">JPEG_TN</MediaFormatProfile>
<MediaFormatProfile mime-type="image/png">PNG_LRG</MediaFormatProfile>
<MediaFormatProfile mime-type="image/png">PNG_TN</MediaFormatProfile>
<MediaFormatProfile mime-type="image/gif">GIF_LRG</MediaFormatProfile>
<MediaFormatProfile mime-type="video/mpeg">MPEG1</MediaFormatProfile>
<MediaFormatProfile mime-type="video/mpeg">MPEG_PS_PAL</MediaFormatProfile>
<MediaFormatProfile mime-type="video/mpeg">MPEG_PS_NTSC</MediaFormatProfile>
<MediaFormatProfile mime-type="video/vnd.dlna.mpeg-tts">MPEG_TS_SD_EU</MediaFormatProfile>
<MediaFormatProfile mime-type="video/vnd.dlna.mpeg-tts">MPEG_TS_SD_EU_T</MediaFormatProfile>
<MediaFormatProfile mime-type="video/mpeg">MPEG_TS_SD_EU_ISO</MediaFormatProfile>
<MediaFormatProfile mime-type="video/vnd.dlna.mpeg-tts">MPEG_TS_SD_NA</MediaFormatProfile>
<MediaFormatProfile mime-type="video/vnd.dlna.mpeg-tts">MPEG_TS_SD_NA_T</MediaFormatProfile>
<MediaFormatProfile mime-type="video/mpeg">MPEG_TS_SD_NA_ISO</MediaFormatProfile>
<MediaFormatProfile mime-type="video/vnd.dlna.mpeg-tts">MPEG_TS_SD_KO</MediaFormatProfile>
<MediaFormatProfile mime-type="video/vnd.dlna.mpeg-tts">MPEG_TS_SD_KO_T</MediaFormatProfile>
<MediaFormatProfile mime-type="video/mpeg">MPEG_TS_SD_KO_ISO</MediaFormatProfile>
<MediaFormatProfile mime-type="video/vnd.dlna.mpeg-tts">MPEG_TS_JP_T</MediaFormatProfile>
<MediaFormatProfile mime-type="video/x-msvideo">AVI</MediaFormatProfile>
<MediaFormatProfile mime-type="video/x-matroska">MATROSKA</MediaFormatProfile>
<MediaFormatProfile mime-type="video/x-flv">FLV</MediaFormatProfile>
<MediaFormatProfile mime-type="video/x-ms-dvr">DVR_MS</MediaFormatProfile>
<MediaFormatProfile mime-type="video/wtv">WTV</MediaFormatProfile>
<MediaFormatProfile mime-type="video/ogg">OGV</MediaFormatProfile>
<MediaFormatProfile mime-type="application/vnd.apple.mpegurl">HLS</MediaFormatProfile>
<MediaFormatProfile mime-type="video/vnd.rn-realvideo">REAL_VIDEO</MediaFormatProfile>
<MediaFormatProfile mime-type="video/mp4">AVC_MP4_MP_SD_AAC_MULT5</MediaFormatProfile>
<MediaFormatProfile mime-type="video/mp4">AVC_MP4_MP_SD_MPEG1_L3</MediaFormatProfile>
<MediaFormatProfile mime-type="video/mp4">AVC_MP4_MP_SD_AC3</MediaFormatProfile>
<MediaFormatProfile mime-type="video/mp4">AVC_MP4_MP_HD_720p_AAC</MediaFormatProfile>
<MediaFormatProfile mime-type="video/mp4">AVC_MP4_MP_HD_1080i_AAC</MediaFormatProfile>
<MediaFormatProfile mime-type="video/mp4">AVC_MP4_HP_HD_AAC</MediaFormatProfile>
<MediaFormatProfile mime-type="video/mp4">AVC_MP4_LPCM</MediaFormatProfile>
<MediaFormatProfile mime-type="video/mp4">MPEG4_P2_MP4_ASP_AAC</MediaFormatProfile>
<MediaFormatProfile mime-type="video/mp4">MPEG4_P2_MP4_SP_L6_AAC</MediaFormatProfile>
<MediaFormatProfile mime-type="video/mp4">MPEG4_P2_MP4_NDSD</MediaFormatProfile>
<MediaFormatProfile mime-type="video/vnd.dlna.mpeg-tts">MPEG4_P2_TS_ASP_AAC</MediaFormatProfile>
<MediaFormatProfile mime-type="video/vnd.dlna.mpeg-tts">MPEG4_P2_TS_ASP_AAC_T</MediaFormatProfile>
<MediaFormatProfile mime-type="video/mpeg">MPEG4_P2_TS_ASP_AAC_ISO</MediaFormatProfile>
<MediaFormatProfile mime-type="video/vnd.dlna.mpeg-tts">MPEG4_P2_TS_ASP_AC3</MediaFormatProfile>
<MediaFormatProfile mime-type="video/vnd.dlna.mpeg-tts">MPEG4_P2_TS_ASP_AC3_T</MediaFormatProfile>
<MediaFormatProfile mime-type="video/mpeg">MPEG4_P2_TS_ASP_AC3_ISO</MediaFormatProfile>
<MediaFormatProfile mime-type="video/vnd.dlna.mpeg-tts">MPEG4_P2_TS_ASP_MPEG1_L3</MediaFormatProfile>
<MediaFormatProfile mime-type="video/vnd.dlna.mpeg-tts">MPEG4_P2_TS_ASP_MPEG1_L3_T</MediaFormatProfile>
<MediaFormatProfile mime-type="video/mpeg">MPEG4_P2_TS_ASP_MPEG2_L2_ISO</MediaFormatProfile>
<MediaFormatProfile mime-type="video/vnd.dlna.mpeg-tts">MPEG4_P2_TS_ASP_MPEG2_L2</MediaFormatProfile>
<MediaFormatProfile mime-type="video/vnd.dlna.mpeg-tts">MPEG4_P2_TS_ASP_MPEG2_L2_T</MediaFormatProfile>
<MediaFormatProfile mime-type="video/mpeg">MPEG4_P2_TS_ASP_MPEG1_L3_ISO</MediaFormatProfile>
<MediaFormatProfile mime-type="video/vnd.dlna.mpeg-tts">AVC_TS_MP_SD_AAC_MULT5</MediaFormatProfile>
<MediaFormatProfile mime-type="video/vnd.dlna.mpeg-tts">AVC_TS_MP_SD_AAC_MULT5_T</MediaFormatProfile>
<MediaFormatProfile mime-type="video/mpeg">AVC_TS_MP_SD_AAC_MULT5_ISO</MediaFormatProfile>
<MediaFormatProfile mime-type="video/vnd.dlna.mpeg-tts">AVC_TS_MP_SD_MPEG1_L3</MediaFormatProfile>
<MediaFormatProfile mime-type="video/vnd.dlna.mpeg-tts">AVC_TS_MP_SD_MPEG1_L3_T</MediaFormatProfile>
<MediaFormatProfile mime-type="video/mpeg">AVC_TS_MP_SD_MPEG1_L3_ISO</MediaFormatProfile>
<MediaFormatProfile mime-type="video/vnd.dlna.mpeg-tts">AVC_TS_MP_SD_AC3</MediaFormatProfile>
<MediaFormatProfile mime-type="video/vnd.dlna.mpeg-tts">AVC_TS_MP_SD_AC3_T</MediaFormatProfile>
<MediaFormatProfile mime-type="video/mpeg">AVC_TS_MP_SD_AC3_ISO</MediaFormatProfile>
<MediaFormatProfile mime-type="video/vnd.dlna.mpeg-tts">AVC_TS_MP_HD_AAC_MULT5</MediaFormatProfile>
<MediaFormatProfile mime-type="video/vnd.dlna.mpeg-tts">AVC_TS_MP_HD_AAC_MULT5_T</MediaFormatProfile>
<MediaFormatProfile mime-type="video/mpeg">AVC_TS_MP_HD_AAC_MULT5_ISO</MediaFormatProfile>
<MediaFormatProfile mime-type="video/vnd.dlna.mpeg-tts">AVC_TS_MP_HD_MPEG1_L3</MediaFormatProfile>
<MediaFormatProfile mime-type="video/vnd.dlna.mpeg-tts">AVC_TS_MP_HD_MPEG1_L3_T</MediaFormatProfile>
<MediaFormatProfile mime-type="video/mpeg">AVC_TS_MP_HD_MPEG1_L3_ISO</MediaFormatProfile>
<MediaFormatProfile mime-type="video/vnd.dlna.mpeg-tts">AVC_TS_MP_HD_AC3</MediaFormatProfile>
<MediaFormatProfile mime-type="video/vnd.dlna.mpeg-tts">AVC_TS_MP_HD_AC3_T</MediaFormatProfile>
<MediaFormatProfile mime-type="video/mpeg">AVC_TS_MP_HD_AC3_ISO</MediaFormatProfile>
<MediaFormatProfile mime-type="video/vnd.dlna.mpeg-tts">AVC_TS_HD_DTS_T</MediaFormatProfile>
<MediaFormatProfile mime-type="video/mpeg">AVC_TS_HD_DTS_ISO</MediaFormatProfile>
<MediaFormatProfile mime-type="video/vnd.dlna.mpeg-tts">AVC_TS_HD_50_LPCM_T</MediaFormatProfile>
<MediaFormatProfile mime-type="video/mpeg">AVC_TS_HP_SD_MPEG1_L2_ISO</MediaFormatProfile>
<MediaFormatProfile mime-type="video/vnd.dlna.mpeg-tts">AVC_TS_HP_SD_MPEG1_L2_T</MediaFormatProfile>
<MediaFormatProfile mime-type="video/mpeg">AVC_TS_HP_HD_MPEG1_L2_ISO</MediaFormatProfile>
<MediaFormatProfile mime-type="video/vnd.dlna.mpeg-tts">AVC_TS_HP_HD_MPEG1_L2_T</MediaFormatProfile>
<MediaFormatProfile mime-type="video/x-ms-wmv">WMVMED_BASE</MediaFormatProfile>
<MediaFormatProfile mime-type="video/x-ms-wmv">WMVMED_FULL</MediaFormatProfile>
<MediaFormatProfile mime-type="video/x-ms-wmv">WMVHIGH_FULL</MediaFormatProfile>
<MediaFormatProfile mime-type="video/x-ms-wmv">WMVMED_PRO</MediaFormatProfile>
<MediaFormatProfile mime-type="video/x-ms-wmv">WMVHIGH_PRO</MediaFormatProfile>
<MediaFormatProfile mime-type="video/x-ms-asf">VC1_ASF_AP_L1_WMA</MediaFormatProfile>
<MediaFormatProfile mime-type="video/x-ms-asf">VC1_ASF_AP_L2_WMA</MediaFormatProfile>
<MediaFormatProfile mime-type="video/x-ms-asf">VC1_ASF_AP_L3_WMA</MediaFormatProfile>
<MediaFormatProfile mime-type="video/mpeg">VC1_TS_AP_L1_AC3_ISO</MediaFormatProfile>
<MediaFormatProfile mime-type="video/mpeg">VC1_TS_AP_L2_AC3_ISO</MediaFormatProfile>
<MediaFormatProfile mime-type="video/mpeg">VC1_TS_HD_DTS_ISO</MediaFormatProfile>
<MediaFormatProfile mime-type="video/vnd.dlna.mpeg-tts">VC1_TS_HD_DTS_T</MediaFormatProfile>
<MediaFormatProfile mime-type="video/3gpp">MPEG4_P2_3GPP_SP_L0B_AAC</MediaFormatProfile>
<MediaFormatProfile mime-type="video/3gpp">MPEG4_P2_3GPP_SP_L0B_AMR</MediaFormatProfile>
<MediaFormatProfile mime-type="video/3gpp">AVC_3GPP_BL_QCIF15_AAC</MediaFormatProfile>
<MediaFormatProfile mime-type="video/3gpp">MPEG4_H263_3GPP_P0_L10_AMR</MediaFormatProfile>
<MediaFormatProfile mime-type="video/3gpp">MPEG4_H263_MP4_P0_L10_AAC</MediaFormatProfile>
</MediaFormatProfiles>
<H264LevelCheck>ANY</H264LevelCheck>
<Transcoding>
<Image forceInheritance="true">
<Matches container="raw"/>
</Image>
</Transcoding>
<OnlineTranscoding>
<Video targetContainer="mpegts" targetACodec="ac3" aBitrate="384">
<Matches container="mp4"/>
<Matches container="flv" vCodec="h264"/>
<Matches container="applehttp" vCodec="h264"/>
</Video>
<Video targetContainer="mpeg" targetVCodec="mpeg2video" targetACodec="ac3" aBitrate="384" forceInheritance="true">
<Matches container="rtp"/>
<Matches container="rtsp"/>
<Matches container="applehttp"/>
</Video>
<Video targetContainer="mpeg" targetVCodec="mpeg2video" targetACodec="ac3" aBitrate="384">
<Matches container="asf"/> <!-- to support mms:// streams -->
<Matches container="flv"/>
</Video>
<Audio targetContainer="mp3" aBitrate="384" forceInheritance="true">
<Matches container="flv"/>
<Matches container="asf"/>
<Matches container="rtp"/>
<Matches container="rtsp"/>
<Matches container="mp3"/>
<Matches container="mp4"/>
</Audio>
</OnlineTranscoding>
<HardSubsTranscoding>
<Video targetContainer="mpeg" targetVCodec="mpeg2video" targetACodec="ac3" aBitrate="384" />
</HardSubsTranscoding>
<AutomaticImageRotation>false</AutomaticImageRotation>
<AllowedImageResolutions large="4096x4096" medium="1024x768" small="640x480" />
<LimitImageResolution>true</LimitImageResolution>
<Subtitles>
<SoftSubs mime-type="text/srt" />
<HardSubs>
<RequiredFor container="*" />
</HardSubs>
</Subtitles>
<ThumbnailsResolution>DLNA</ThumbnailsResolution>
</Profile>

Re: mkv audio

PostPosted: Mon Dec 23, 2013 4:59 am
by DenyAll
The Generic Profile you are using streams all video files to your TV/device in its native format. Your TV then must be able to decode the video and audio types for that media.

Is there a codec update needed here?

The fact that your TV doesn't play the audio is likely because your TV doesn't have the required decoder for the audio type within that MKV file - unfortunately you can only upgrade decoders (codecs) on your TV via a firmware upgrade and these are rare for most devices, and rarely include decoder updates. This is where transcoding comes in - if you select a different profile you will tell Serviio to transcode the audio (and if necessary the video) that your TV doesn't natively understand into something it does.

So to fix your problem, try selecting a different profile for your device on the Serviio Console, Status tab. Which profile you select (or whether you need a custom one) - depends on your device (which you haven't told us).