Page 1 of 1

Roku 3800R - No sound in MKV

PostPosted: Mon May 06, 2019 11:28 pm
by Matt2112
I too am having audio problems with my Roku 3800R -- I saw that someone else posted about this same model Roku, but with a different sound issue. I tried using the test profile that was posted there, but Serviio won't start with that profile. With that test profile, Serviio seems to be chocking on aCodec="*". If I switch this to aac, ac3, or something like that, the profile will load, but it still won't play audio.

The problem I have is that most of the MKV I have will not play audio. Below is a sample MKVs... I am assuming the sound problem is because most of my MKVs have 6 channel audio which needs to be transcoded down to stereo. My Roku will play most of my MKVs if I just enable transcoding for everything on the server, but I really don't want to do that since I use the same server for more than one TV, and it also occasionally causes lag when I'm transcoding 1080p MKVs.

Can anyone recommend a device profile edit that will just transcode the audio down to stereo?

I tried adding this into the transcoding section of the Roku Media Player profile, but it didn't help.

  Code:
         </Video>
            <Video targetContainer="mpegts" targetVCodec="h264" targetACodec="aac" aBitrate="128" forceStereo="true">
            <Matches container="*" vCodec="h264"/>
         </Video>


  Code:
General
Unique ID                                : 189420257659343599529198960473585670899 (0x8E8103BECA202BBC6A414F461D6EDAF3)
Complete name                            : VIDEO.mkv
Format                                   : Matroska
Format version                           : Version 4
File size                                : 1.59 GiB
Duration                                 : 1 h 2 min
Overall bit rate                         : 3 666 kb/s
Encoded date                             : UTC 2019-04-15 01:31:56
Writing application                      : mkvmerge v31.0.0 ('Dolores In A Shoestand') 64-bit
Writing library                          : libebml v1.3.6 + libmatroska v1.4.9

Video
ID                                       : 1
Format                                   : AVC
Format/Info                              : Advanced Video Codec
Format profile                           : High@L3.1
Format settings                          : CABAC / 4 Ref Frames
Format settings, CABAC                   : Yes
Format settings, RefFrames               : 4 frames
Codec ID                                 : V_MPEG4/ISO/AVC
Duration                                 : 1 h 2 min
Bit rate mode                            : Constant
Bit rate                                 : 3 024 kb/s
Nominal bit rate                         : 6 000 kb/s
Width                                    : 1 280 pixels
Height                                   : 720 pixels
Display aspect ratio                     : 16:9
Frame rate mode                          : Constant
Frame rate                               : 23.976 (24000/1001) FPS
Color space                              : YUV
Chroma subsampling                       : 4:2:0
Bit depth                                : 8 bits
Scan type                                : Progressive
Bits/(Pixel*Frame)                       : 0.137
Stream size                              : 1.31 GiB (82%)
Language                                 : English
Default                                  : Yes
Forced                                   : No
Color range                              : Limited
Color primaries                          : BT.709
Transfer characteristics                 : BT.709
Matrix coefficients                      : BT.709

Audio
ID                                       : 2
Format                                   : E-AC-3
Format/Info                              : Enhanced AC-3
Commercial name                          : Dolby Digital Plus
Codec ID                                 : A_EAC3
Duration                                 : 1 h 2 min
Bit rate mode                            : Constant
Bit rate                                 : 640 kb/s
Channel(s)                               : 6 channels
Channel layout                           : L R C LFE Ls Rs
Sampling rate                            : 48.0 kHz
Frame rate                               : 31.250 FPS (1536 SPF)
Compression mode                         : Lossy
Delay relative to video                  : 4 ms
Stream size                              : 285 MiB (17%)
Language                                 : English
Service kind                             : Complete Main
Default                                  : Yes
Forced                                   : No

Text
ID                                       : 3
Format                                   : UTF-8
Codec ID                                 : S_TEXT/UTF8
Codec ID/Info                            : UTF-8 Plain Text
Duration                                 : 1 h 2 min
Bit rate                                 : 53 b/s
Count of elements                        : 821
Stream size                              : 24.4 KiB (0%)
Language                                 : English
Default                                  : No
Forced                                   : No

Re: Roku 3800R - No sound in MKV

PostPosted: Tue May 07, 2019 12:55 pm
by atc98092
Yes, your problem is your audio is Dolby Digital Plus, which no Roku player other than the 4640 Ultra can convert to standard DD. I'm assuming you are not connected to an AVR that supports DD+.

You shouldn't have to convert all the way to stereo, as most devices support Dolby Digital 5.1 without issue. Since your video is H.264, transcoding the audio puts very little load on your server, so multiple feeds should be fine.

That transcoding line should work, but depending on where you put it in the profile it might not be triggered. Serviio uses the first line encountered in a profile that provides a match, so if there's something higher in the profile it might catch the file first.

I'm surprised the user profile file I provided on that other thread isn't working either. It works fine on my system, and my Premiere 3920 is only connected to a 720p TV. My Stick is the 3600, so can't say if it works the same as your 3800. That profile is transcoding the audio to ac3 (Dolby Digital) for all containers with H.264 video. The aCodec="*" match should be fine. Are you certain you selected the correct profile after you added it to the Serviio/config folder and restarted Serviio?