Page 1 of 1

No Audio Playback on some files from Roku Media Player

PostPosted: Sun Jun 14, 2015 7:27 pm
by ackwdw123
Hi, Has anyone came up with a list of supported codecs for files with various playback devices? I find it annoying when throwing a new device on your network, in my case a Roku 3, and I don't get any audio on some of the files.

Re: No Audio Playback on some files from Roku Media Player

PostPosted: Mon Jun 15, 2015 12:28 pm
by atc98092
Roku players don't support a very wide range of audio and video codecs. Could you post the media info on a file that doesn't play audio?

It's also possible Serviio did not set the correct profile when it was detected. Make sure the Serviio console shows the Roku profile is selected. If it isn't (it's likely showing Generic), select Roku from the list and then click the Save button on the bottom of the panel.

Here's a link to exactly what will play without transcoding: http://support.roku.com/entries/423946- ... l-support-

If your files don't match these exactly, then transcoding is required. The Roku profile should accomplish it.

Re: No Audio Playback on some files from Roku Media Player

PostPosted: Sat Jun 20, 2015 2:07 pm
by ackwdw123
Thanks for this link, it came in very handy. I ended up trying a manual conversion of a file that did not have a Roku supported audio format. I transcoded the file with the following parameters:
Extract Audio file: "C:\Program Files\Serviio\lib\ffmpeg.exe" -i "E:\Video\video1.mkv" -vn -ab 256k "E:\Video\video1.mp3"
Import audio with aac format: "C:\Program Files\Serviio\lib\ffmpeg.exe" -i "E:\Video\video1.mkv" -i "E:\Video\video1.mp3" -c:v copy -c:a aac -strict experimental "E:\Video\video2.mkv"

The result is that the playback hangs on "retrieving", there is an stf file that is slowly growing, and the ffmpeg process runs the CPU up to 95% usage.

Some questions I have:
1. I don't see this behavior with any of he other devices on my network, and I see the Roku profile in the profiles.xml file. Is there something else I should be doing so that the files will playback?

2. Is it possible the mkv container doesn't recognize the aac format? (I'll go poke around for this answer myself and post if I find something).

Re: No Audio Playback on some files from Roku Media Player

PostPosted: Sun Jun 21, 2015 12:35 pm
by ackwdw123
I did some reading and testing. What ended up working the best with the Roku 3 was transcoding the audio with handbrake using the following values:

Transcoded with
Audio:
Source : 1 Unknown(AC3)(5.1ch)
Codec : AAC (avcodec)
Bitrate : 160
Mixdown : Dolby Pro Logic II