kram321 0 Posted May 6, 2017 Share Posted May 6, 2017 Hello, I'm try to stream media to the devices listed above (roku on LAN, appleTV on WAN internet). My goal is to encode my videos to be as least intrusive on the Asustor CPU as possible during playback. I've tried encoding media to mp4 containers with 264 and aac audio. The AppleTV uses very little resources (2% cpu) while streaming about 6mbit/sec. It is set to use 15mbit. While streaming on the LAN to Roku 2, I notice about 25-30% cpu use. It is set to 30mbit. One thing I also notice from the logs is I do not achieve 'direct play' only 'direct stream' which I am not sure if they are interchangeable. I have removed any tracks containing subtitles from the mp4 and disabled subtitles on the Roku. Why is Roku using so much more cpu than AppleTV? What encoding settings can I use to reduce the cpu use during playback? Thanks! I've attached the logs of playback from 2 different files. ffmpeg-remux.log ffmpeg-remux2.log Link to comment Share on other sites More sharing options...
Jdiesel 1112 Posted May 6, 2017 Share Posted May 6, 2017 (edited) In both logs the audio (AAC 5.1) is being transcoded to 2-channel mp3. My experience is only with the Roku and it does not support multichannel AAC audio (possible exception being the Roku 4 and Ultra). The video stream is being copied as is, only the audio is being transcoded which is much less intensive that video transcoding. Your only option to direct play is to encode your files with AAC stereo audio, mp3 stereo, or ac3 2 channel if you have a 2 channel audio setup. You can use ac3 or DTS multichannel if you have a audio setup that support DD or DTS. Refer to this document for media supported by the Roku. https://github.com/rokudev/docs/blob/master/develop/specifications/audio-video-support.md Edited May 6, 2017 by Jdiesel Link to comment Share on other sites More sharing options...
Luke 36816 Posted May 6, 2017 Share Posted May 6, 2017 Is this the new Roku beta or the current store release? Link to comment Share on other sites More sharing options...
kram321 0 Posted May 6, 2017 Author Share Posted May 6, 2017 In both logs the audio (AAC 5.1) is being transcoded to 2-channel mp3. My experience is only with the Roku and it does not support multichannel AAC audio (possible exception being the Roku 4 and Ultra). The video stream is being copied as is, only the audio is being transcoded which is much less intensive that video transcoding. Your only option to direct play is to encode your files with AAC stereo audio, mp3 stereo, or ac3 2 channel if you have a 2 channel audio setup. You can use ac3 or DTS multichannel if you have a audio setup that support DD or DTS. Refer to this document for media supported by the Roku. https://github.com/rokudev/docs/blob/master/develop/specifications/audio-video-support.md You were absolutely right, I re-encoded to 2 channel aac and it is playing like a champ. 2% cpu use. Thank you! Link to comment Share on other sites More sharing options...
Luke 36816 Posted September 2, 2017 Share Posted September 2, 2017 https://emby.media/community/index.php?/topic/50539-emby-asustor-package/ Link to comment Share on other sites More sharing options...
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now