Jump to content

How do I configure audio pass through?


A8HTPC

Recommended Posts

Hey I gave it a shot but got error "Install Failure: Compilation Failed." While in the Development Application Installer

 

I first removed the old installation

 

That was cause man.. I suck or something.. But I think it messed up because I tried to upload it from my tablet to my site.

 

This time, I used a real pc to do the legwork and tested it on my roku. This changes the audio setup a bit, adds a little bit more debug info about the filetype being played as well. So please @@A8HTPC forgive my previous mistake. I didn't purposely feed you garbage.. haw..

 

Here is the test zip:

http://ereader.kiczek.com/roku-mb.zip

 

This is the exact same version I am using on my roku presently. testing testing 1 2 3.

...and yeah, the icon I changed just to tell it apart from the others in mychannels.

Edited by speechles
Link to comment
Share on other sites

A8HTPC

Here ya go

 

Server log

Transcode Log

------ Running ------
--1.62
Anamorphic support: true
Server.info: listening on 0.0.0.0:8324
Creating server data cache
Found string in the registry: {"33479bb0b97a4785bc6fa13d5bb48e79":{"AccessToken"
:"b548b187989344c7b69d6cbd792aad00","Name":"HTPC","Id":"33479bb0b97a4785bc6fa13d
5bb48e79","Address":"http://192.168.0.14:8096"}}
Parsed as: roAssociativeArray
Connecting To Server
Pushing screen 1 onto view controller stack - Home
Loading beginning of row 0, Movies
Loading beginning of row 1, BluRay
Total initial grid load took: 143ms
Count loaded is now 23 out of 23
Loaded 23 elements in row 0, now have 23
Count loaded is now 23 out of 23
Loaded 23 elements in row 1, now have 23
Count loaded is now 23 out of 23
Loaded 23 elements in row 2, now have 23
Count loaded is now 4 out of 4
Loaded 4 elements in row 3, now have 4
Count loaded is now 8 out of 34
Loaded 8 elements in row 4, now have 34
Count loaded is now 2 out of 2
Loaded 2 elements in row 5, now have 2
Received paginated response for index 8 of list with length 34
Count loaded is now 34 out of 34
Loaded 26 elements in row 4, now have 34
Count loaded is now 3 out of 3
Loaded 3 elements in row 6, now have 3
Entered CreateScreenForItem
Pushing screen 2 onto view controller stack - Folder d4624e164cda1e0220f726aedd4
c7cd0
Loading beginning of row 0, The Hunger Games Collection
Total initial grid load took: 56ms
Count loaded is now 2 out of 2
Loaded 2 elements in row 0, now have 2
Entered CreateScreenForItem
Calling createVideoSpringboardScreen
Primary image aspect ratio  0.6666667
Pushing screen 3 onto view controller stack - VideoSpringboardScreencda98fe4cbe7
644eef5ac3b4e8b76579
Getting metadata for Id cda98fe4cbe7644eef5ac3b4e8b76579
Media item container: mkv
Media item video codec: h264
Media item audio codec: ac3
Media item subtitles: invalid
Media item stereo codec: invalid
Media item surround codec: ac3
Secondary audio stream selected: false
RefFrames: invalid, MaxRefFrames: 8, Level: 41, Profile: High
Audiochannels: 6
videoCanDirectPlay: ac not aac/ac3/mp3
Setting video springboard screen content
Showing video springboard screen
Button command: play
Not sure what to do with breadcrumbs on screen type: Invalid
Pushing screen 4 onto view controller stack - Video Player
MediaPlayer::playVideo: Displaying video: The Hunger Games: Catching Fire
Getting metadata for Id cda98fe4cbe7644eef5ac3b4e8b76579
Media item container: mkv
Media item video codec: h264
Media item audio codec: ac3
Media item subtitles: invalid
Media item stereo codec: invalid
Media item surround codec: ac3
Secondary audio stream selected: false
RefFrames: invalid, MaxRefFrames: 8, Level: 41, Profile: High
Audiochannels: 6
videoCanDirectPlay: ac not aac/ac3/mp3
Setting PlayStart to 0
Starting to play transcoded video
MediaPlayer::playVideo::VideoScreenEvent::isStreamStarted: position -> 0
Message data -> roAssociativeArray
Downloaded segment 0 in 64?s (4774636 bytes, buffer is now 4774636/67108864
Downloaded segment 1 in 13?s (12757868 bytes, buffer is now 12757868/67108864
Downloaded segment 2 in 3?s (8970044 bytes, buffer is now 8970044/67108864
Downloaded segment 3 in 11?s (3976012 bytes, buffer is now 5053064/67108864
Downloaded segment 4 in 5?s (3955332 bytes, buffer is now 9008396/67108864
Downloaded segment 5 in 10?s (1596684 bytes, buffer is now 10605080/67108864
Downloaded segment 6 in 3?s (7349296 bytes, buffer is now 17954376/67108864
Downloaded segment 7 in 5?s (11057220 bytes, buffer is now 29011596/67108864
HLS Segment info: 27 msg: HLS segment info
MediaPlayer::playVideo::VideoScreenEvent::isPlaybackPosition: set progress -> 0
MediaPlayer::playVideo::VideoScreenEvent::isPlaybackPosition: set progress -> 1
MediaPlayer::playVideo::VideoScreenEvent::isPlaybackPosition: set progress -> 2
MediaPlayer::playVideo::VideoScreenEvent::isPlaybackPosition: set progress -> 3
MediaPlayer::playVideo::VideoScreenEvent::isPlaybackPosition: set progress -> 4
MediaPlayer::playVideo::VideoScreenEvent::isPlaybackPosition: set progress -> 5
MediaPlayer::playVideo::VideoScreenEvent::isPlaybackPosition: set progress -> 6
Connection[87031810].info: accepted connection @192.168.0.14:58863
Request[2].info: POST '/mediabrowser/message/Ping'
Reply[30].info: Sent 162 [0-161/162]
Reply[30].info: source buf is empty
Reply[30].info: Sent-1 [0--2/0]
Connection[87031810].info: send reply peer closed @192.168.0.14:58863
HLS Segment info: 27 msg: HLS segment info
Downloaded segment 8 in 2?s (9705312 bytes, buffer is now 34367152/67108864
MediaPlayer::playVideo::VideoScreenEvent::isPlaybackPosition: set progress -> 7
MediaPlayer::playVideo::VideoScreenEvent::isPlaybackPosition: set progress -> 8
MediaPlayer::playVideo::VideoScreenEvent::isPlaybackPosition: set progress -> 9
MediaPlayer::playVideo::VideoScreenEvent::isPlaybackPosition: set progress -> 10
MediaPlayer::playVideo::VideoScreenEvent::isPlaybackPosition: set progress -> 11
MediaPlayer::playVideo::VideoScreenEvent::isPlaybackPosition: set progress -> 12
HLS Segment info: 27 msg: HLS segment info
MediaPlayer::playVideo::VideoScreenEvent::isPlaybackPosition: set progress -> 13
MediaPlayer::playVideo::VideoScreenEvent::isPlaybackPosition: set progress -> 14
MediaPlayer::playVideo::VideoScreenEvent::isPlaybackPosition: set progress -> 15
MediaPlayer::playVideo::VideoScreenEvent::isPlaybackPosition: set progress -> 16
MediaPlayer::playVideo::VideoScreenEvent::isPlaybackPosition: set progress -> 17
MediaPlayer::playVideo::VideoScreenEvent::isPlaybackPosition: set progress -> 18
HLS Segment info: 27 msg: HLS segment info
MediaPlayer::playVideo::VideoScreenEvent::isPlaybackPosition: set progress -> 19
MediaPlayer::playVideo::VideoScreenEvent::isPlaybackPosition: set progress -> 20
MediaPlayer::playVideo::VideoScreenEvent::isPlaybackPosition: set progress -> 21
MediaPlayer::playVideo::VideoScreenEvent::isPlaybackPosition: set progress -> 22
MediaPlayer::playVideo::VideoScreenEvent::isPlaybackPosition: set progress -> 23
Downloaded segment 9 in 3?s (12784564 bytes, buffer is now 38971272/67108864
MediaPlayer::playVideo::VideoScreenEvent::isPlaybackPosition: set progress -> 24
HLS Segment info: 27 msg: HLS segment info
MediaPlayer::playVideo::VideoScreenEvent::isPlaybackPosition: set progress -> 25
MediaPlayer::playVideo::VideoScreenEvent::isPlaybackPosition: set progress -> 26
MediaPlayer::playVideo::VideoScreenEvent::isPlaybackPosition: set progress -> 27
Downloaded segment 10 in 8?s (11168892 bytes, buffer is now 43272148/67108864
MediaPlayer::playVideo::VideoScreenEvent::isPlaybackPosition: set progress -> 28
MediaPlayer::playVideo::VideoScreenEvent::isPlaybackPosition: set progress -> 29
MediaPlayer::playVideo::VideoScreenEvent::isPlaybackPosition: set progress -> 30
HLS Segment info: 27 msg: HLS segment info
MediaPlayer::playVideo::VideoScreenEvent::isPlaybackPosition: set progress -> 31
MediaPlayer::playVideo::VideoScreenEvent::isPlaybackPosition: set progress -> 32
MediaPlayer::playVideo::VideoScreenEvent::isPlaybackPosition: set progress -> 33
MediaPlayer::playVideo::VideoScreenEvent::isPlaybackPosition: set progress -> 34
MediaPlayer::playVideo::VideoScreenEvent::isPlaybackPosition: set progress -> 35
MediaPlayer::playVideo::VideoScreenEvent::isPlaybackPosition: set progress -> 36
HLS Segment info: 27 msg: HLS segment info
MediaPlayer::playVideo::VideoScreenEvent::isPlaybackPosition: set progress -> 37
MediaPlayer::playVideo::VideoScreenEvent::isPlaybackPosition: set progress -> 38
MediaPlayer::playVideo::VideoScreenEvent::isPlaybackPosition: set progress -> 39
MediaPlayer::playVideo::VideoScreenEvent::isPlaybackPosition: set progress -> 40
MediaPlayer::playVideo::VideoScreenEvent::isPlaybackPosition: set progress -> 41
Downloaded segment 11 in 14?s (11478716 bytes, buffer is now 30330604/67108864
MediaPlayer::playVideo::VideoScreenEvent::isPlaybackPosition: set progress -> 42
HLS Segment info: 27 msg: HLS segment info
MediaPlayer::playVideo::VideoScreenEvent::isPlaybackPosition: set progress -> 43
MediaPlayer::playVideo::VideoScreenEvent::isPlaybackPosition: set progress -> 44
MediaPlayer::playVideo::VideoScreenEvent::isPlaybackPosition: set progress -> 45
MediaPlayer::playVideo::VideoScreenEvent::isPlaybackPosition: set progress -> 46
MediaPlayer::playVideo::VideoScreenEvent::isPlaybackPosition: set progress -> 47
MediaPlayer::playVideo::VideoScreenEvent::isPlaybackPosition: set progress -> 48
Downloaded segment 12 in 6?s (13726068 bytes, buffer is now 28288172/67108864
HLS Segment info: 27 msg: HLS segment info
MediaPlayer::playVideo::VideoScreenEvent::isPlaybackPosition: set progress -> 49
MediaPlayer::playVideo::VideoScreenEvent::isPlaybackPosition: set progress -> 50
MediaPlayer::playVideo::VideoScreenEvent::isPartialResult: position -> 50
Sending message to server to stop transcoding
MediaPlayer::playVideo::VideoScreenEvent::isScreenClosed: position -> 50
Sending message to server to stop transcoding
Popping screen 4 and cleaning up 0 breadcrumbs
Top of stack is once again: VideoSpringboardScreencda98fe4cbe7644eef5ac3b4e8b765
79
Getting metadata for Id cda98fe4cbe7644eef5ac3b4e8b76579
Media item container: mkv
Media item video codec: h264
Media item audio codec: ac3
Media item subtitles: invalid
Media item stereo codec: invalid
Media item surround codec: ac3
Secondary audio stream selected: false
RefFrames: invalid, MaxRefFrames: 8, Level: 41, Profile: High
Audiochannels: 6
videoCanDirectPlay: ac not aac/ac3/mp3
Setting video springboard screen content
Showing video springboard screen
Connection[87031811].info: accepted connection @192.168.0.14:58969
Request[3].info: POST '/mediabrowser/message/Ping'
Reply[31].info: Sent 162 [0-161/162]
Reply[31].info: source buf is empty
Reply[31].info: Sent-1 [0--2/0]
Connection[87031811].info: send reply peer closed @192.168.0.14:58969
Edited by A8HTPC
Link to comment
Share on other sites

Are you forcing direct play with Plex?

 

The problem is you've set your roku to stereo. With MB for roku, this will not pass through ac3 into stereo. There is no stereo codec for audio in your stream, it gets set invalid. The surround codec is set ac3. It sees your roku audio is set to stereo, and assumes it must be transcoded to play any audio, as the invalid stereo codec tells it so. If you change your system to surround it can possibly work. For a test, can you change your roku to 5.1 surround, then launch MB for roku. Now see if that video plays direct. When it plays does it have audio?

 

I fear forcing ac3 surround to pass-through when your roku is set to stereo output could break things possibly. Which is why I would rather have you test by change roku settings than me forcing it in the code. If the video plays with audio then your tv (even though, stereo speakers) can decode surround over HDMI.

 

The weird part.. RefFrames: invalid ...this should be 4 according to your paste earlier.

 

Sent from my Nexus 7 using Tapatalk

Edited by speechles
Link to comment
Share on other sites

I'll give it a shot tomorrow.

Yes on plex im forcing Direct Play. Well....in the transcoding menu option I select direct play. But now how can this work if I have my roku set to stereo and the audio is AC3 Surround? This was my initial confusion cause I thought MB was playing correct but then I saw plex not transcoding even with the roku set to stereo. What is REALLY weird is that, plex use to play all my movies without transcoding, then some updates for either roku or plex came around and everything was transcoded other than a select few. So I started to re-encode all my movies with 2 channel audio strictly for the roku, now plex is direct playing the movies which are not encoded yet...and direct playing them just fine....I have no idea why. 

 

I will take a look at everything and bounce all the information I find to both of you. I'll help anyway I can.

Link to comment
Share on other sites

the flip side to the force direct play setting is it will inevitably create issues where some files don't play.

 

but i can see why Plex did it - some people just can't figure it out and the option gives them something visible they can just click. Others don't believe us when we say we're playing in the most efficient way possible, and having the direct stream setting is the only way to quiet the voice in their head.

 

the answer is just configure the roku correctly and it should work just fine.

Link to comment
Share on other sites

Deihmos

My old cheap Dynex TV can decode AC3 so I assume your TV can also. That is why the video audio played without transcoding. Most modern TVs can do AC3 and DTS.

Edited by Deihmos
Link to comment
Share on other sites

Side loaded. New zip Luke supplied still transcodes when roku is set to stereo and noticed it too stopped after 69 second when roku was set to surround and no audio

Link to comment
Share on other sites

I set my Roku to surround and When I telnet into MB it says "Starting to direct play video". My Plasma does not decode AC3 surround. I just don't get any sound.  This is odd considering Plex has Audio, plex must be outputting Ac3 Surround since its not transcoding, yet my TV plays the video and audio.

 

Then after 69 seconds according to MB telnet, the movie stops automatically. Might have something to do with the TV not accepting audio?

I have not side loaded the latest zip you mentioned yet but I will in a few

 

Sever Log

on: set progress -> 41
MediaPlayer::playVideo::VideoScreenEvent::isPlaybackPosition: set progress -> 42
MediaPlayer::playVideo::VideoScreenEvent::isPlaybackPosition: set progress -> 43
MediaPlayer::playVideo::VideoScreenEvent::isPlaybackPosition: set progress -> 44
MediaPlayer::playVideo::VideoScreenEvent::isPlaybackPosition: set progress -> 45
MediaPlayer::playVideo::VideoScreenEvent::isPlaybackPosition: set progress -> 46
MediaPlayer::playVideo::VideoScreenEvent::isPlaybackPosition: set progress -> 47
MediaPlayer::playVideo::VideoScreenEvent::isPlaybackPosition: set progress -> 48
MediaPlayer::playVideo::VideoScreenEvent::isPlaybackPosition: set progress -> 49
MediaPlayer::playVideo::VideoScreenEvent::isPlaybackPosition: set progress -> 50
MediaPlayer::playVideo::VideoScreenEvent::isPlaybackPosition: set progress -> 51
MediaPlayer::playVideo::VideoScreenEvent::isPlaybackPosition: set progress -> 52
MediaPlayer::playVideo::VideoScreenEvent::isPlaybackPosition: set progress -> 53
MediaPlayer::playVideo::VideoScreenEvent::isPlaybackPosition: set progress -> 54
MediaPlayer::playVideo::VideoScreenEvent::isPlaybackPosition: set progress -> 55
MediaPlayer::playVideo::VideoScreenEvent::isPlaybackPosition: set progress -> 56
MediaPlayer::playVideo::VideoScreenEvent::isPlaybackPosition: set progress -> 57
MediaPlayer::playVideo::VideoScreenEvent::isPlaybackPosition: set progress -> 58
MediaPlayer::playVideo::VideoScreenEvent::isPlaybackPosition: set progress -> 59
MediaPlayer::playVideo::VideoScreenEvent::isPlaybackPosition: set progress -> 60
MediaPlayer::playVideo::VideoScreenEvent::isPlaybackPosition: set progress -> 61
MediaPlayer::playVideo::VideoScreenEvent::isPlaybackPosition: set progress -> 62
MediaPlayer::playVideo::VideoScreenEvent::isPlaybackPosition: set progress -> 63
MediaPlayer::playVideo::VideoScreenEvent::isPlaybackPosition: set progress -> 64
MediaPlayer::playVideo::VideoScreenEvent::isPlaybackPosition: set progress -> 65
MediaPlayer::playVideo::VideoScreenEvent::isPlaybackPosition: set progress -> 66
MediaPlayer::playVideo::VideoScreenEvent::isPlaybackPosition: set progress -> 67
MediaPlayer::playVideo::VideoScreenEvent::isPlaybackPosition: set progress -> 68
MediaPlayer::playVideo::VideoScreenEvent::isPlaybackPosition: set progress -> 69
Video status:  0  0
MediaPlayer::playVideo::VideoScreenEvent::isRequestFailed - message =
MediaPlayer::playVideo::VideoScreenEvent::isRequestFailed - data = 1
MediaPlayer::playVideo::VideoScreenEvent::isRequestFailed - index = -5
MediaPlayer::playVideo::VideoScreenEvent::isScreenClosed: position -> 69
Popping screen 5 and cleaning up 0 breadcrumbs
Top of stack is once again: VideoSpringboardScreencda98fe4cbe7644eef5ac3b4e8b765
79
Getting metadata for Id cda98fe4cbe7644eef5ac3b4e8b76579
Media item container: mkv
Media item video codec: h264
Media item audio codec: ac3
Media item subtitles: invalid
Media item stereo codec: invalid
Media item surround codec: ac3
Secondary audio stream selected: false
RefFrames: invalid, MaxRefFrames: 8, Level: 41, Profile: High
Audiochannels: 6
Setting video springboard screen content
Showing video springboard screen
Connection[87032452].info: accepted connection @192.168.0.14:49930
Request[4].info: POST '/mediabrowser/message/Ping'
Reply[32].info: Sent 164 [0-163/164]
Reply[32].info: source buf is empty
Reply[32].info: Sent-1 [0--2/0]
Connection[87032452].info: send reply peer closed @192.168.0.14:49930
Connection[87032453].info: accepted connection @192.168.0.14:50033
Request[5].info: POST '/mediabrowser/message/Ping'
Reply[33].info: Sent 164 [0-163/164]
Reply[33].info: source buf is empty
Reply[33].info: Sent-1 [0--2/0]
Connection[87032453].info: send reply peer closed @192.168.0.14:50033
Connection[87032454].info: accepted connection @192.168.0.14:50108
Request[6].info: POST '/mediabrowser/message/Ping'
Reply[34].info: Sent 164 [0-163/164]
Reply[34].info: source buf is empty
Reply[34].info: Sent-1 [0--2/0]
Connection[87032454].info: send reply peer closed @192.168.0.14:50108
Button command: play
Not sure what to do with breadcrumbs on screen type: Invalid
Pushing screen 6 onto view controller stack - Video Player
MediaPlayer::playVideo: Displaying video: The Hunger Games: Catching Fire
Getting metadata for Id cda98fe4cbe7644eef5ac3b4e8b76579
Media item container: mkv
Media item video codec: h264
Media item audio codec: ac3
Media item subtitles: invalid
Media item stereo codec: invalid
Media item surround codec: ac3
Secondary audio stream selected: false
RefFrames: invalid, MaxRefFrames: 8, Level: 41, Profile: High
Audiochannels: 6
Setting PlayStart to 0
Starting to direct play video
Connection[87032455].info: accepted connection @192.168.0.14:50249
Request[7].info: POST '/mediabrowser/message/Ping'
Reply[35].info: Sent 164 [0-163/164]
Reply[35].info: source buf is empty
Reply[35].info: Sent-1 [0--2/0]
Connection[87032455].info: send reply peer closed @192.168.0.14:50249
MediaPlayer::playVideo::VideoScreenEvent::isStreamStarted: position -> 0
Message data -> roAssociativeArray
MediaPlayer::playVideo::VideoScreenEvent::isPlaybackPosition: set progress -> 0
MediaPlayer::playVideo::VideoScreenEvent::isPlaybackPosition: set progress -> 1
MediaPlayer::playVideo::VideoScreenEvent::isPlaybackPosition: set progress -> 2
MediaPlayer::playVideo::VideoScreenEvent::isPlaybackPosition: set progress -> 3
MediaPlayer::playVideo::VideoScreenEvent::isPlaybackPosition: set progress -> 4
MediaPlayer::playVideo::VideoScreenEvent::isPlaybackPosition: set progress -> 5
MediaPlayer::playVideo::VideoScreenEvent::isPlaybackPosition: set progress -> 6
MediaPlayer::playVideo::VideoScreenEvent::isPlaybackPosition: set progress -> 7
MediaPlayer::playVideo::VideoScreenEvent::isPlaybackPosition: set progress -> 8
MediaPlayer::playVideo::VideoScreenEvent::isPlaybackPosition: set progress -> 9
MediaPlayer::playVideo::VideoScreenEvent::isPlaybackPosition: set progress -> 10
MediaPlayer::playVideo::VideoScreenEvent::isPlaybackPosition: set progress -> 11
MediaPlayer::playVideo::VideoScreenEvent::isPlaybackPosition: set progress -> 12
MediaPlayer::playVideo::VideoScreenEvent::isPlaybackPosition: set progress -> 13
Connection[87032456].info: accepted connection @192.168.0.14:50352
Request[8].info: POST '/mediabrowser/message/Ping'
Reply[36].info: Sent 164 [0-163/164]
Reply[36].info: source buf is empty
Reply[36].info: Sent-1 [0--2/0]
Connection[87032456].info: send reply peer closed @192.168.0.14:50352
MediaPlayer::playVideo::VideoScreenEvent::isPlaybackPosition: set progress -> 14
MediaPlayer::playVideo::VideoScreenEvent::isPlaybackPosition: set progress -> 15
MediaPlayer::playVideo::VideoScreenEvent::isPlaybackPosition: set progress -> 16
MediaPlayer::playVideo::VideoScreenEvent::isPlaybackPosition: set progress -> 17
MediaPlayer::playVideo::VideoScreenEvent::isPlaybackPosition: set progress -> 18
MediaPlayer::playVideo::VideoScreenEvent::isPlaybackPosition: set progress -> 19
MediaPlayer::playVideo::VideoScreenEvent::isPlaybackPosition: set progress -> 20
MediaPlayer::playVideo::VideoScreenEvent::isPlaybackPosition: set progress -> 21
MediaPlayer::playVideo::VideoScreenEvent::isPlaybackPosition: set progress -> 22
MediaPlayer::playVideo::VideoScreenEvent::isPlaybackPosition: set progress -> 23
MediaPlayer::playVideo::VideoScreenEvent::isPlaybackPosition: set progress -> 24
MediaPlayer::playVideo::VideoScreenEvent::isPlaybackPosition: set progress -> 25
MediaPlayer::playVideo::VideoScreenEvent::isPlaybackPosition: set progress -> 26
MediaPlayer::playVideo::VideoScreenEvent::isPlaybackPosition: set progress -> 27
MediaPlayer::playVideo::VideoScreenEvent::isPlaybackPosition: set progress -> 28
MediaPlayer::playVideo::VideoScreenEvent::isPlaybackPosition: set progress -> 29
MediaPlayer::playVideo::VideoScreenEvent::isPlaybackPosition: set progress -> 30
MediaPlayer::playVideo::VideoScreenEvent::isPlaybackPosition: set progress -> 31
MediaPlayer::playVideo::VideoScreenEvent::isPlaybackPosition: set progress -> 32
MediaPlayer::playVideo::VideoScreenEvent::isPlaybackPosition: set progress -> 33
MediaPlayer::playVideo::VideoScreenEvent::isPlaybackPosition: set progress -> 34
MediaPlayer::playVideo::VideoScreenEvent::isPlaybackPosition: set progress -> 35
MediaPlayer::playVideo::VideoScreenEvent::isPlaybackPosition: set progress -> 36
MediaPlayer::playVideo::VideoScreenEvent::isPlaybackPosition: set progress -> 37
MediaPlayer::playVideo::VideoScreenEvent::isPlaybackPosition: set progress -> 38
MediaPlayer::playVideo::VideoScreenEvent::isPlaybackPosition: set progress -> 39
MediaPlayer::playVideo::VideoScreenEvent::isPlaybackPosition: set progress -> 40
MediaPlayer::playVideo::VideoScreenEvent::isPlaybackPosition: set progress -> 41
MediaPlayer::playVideo::VideoScreenEvent::isPlaybackPosition: set progress -> 42
MediaPlayer::playVideo::VideoScreenEvent::isPlaybackPosition: set progress -> 43
MediaPlayer::playVideo::VideoScreenEvent::isPlaybackPosition: set progress -> 44
MediaPlayer::playVideo::VideoScreenEvent::isPlaybackPosition: set progress -> 45
MediaPlayer::playVideo::VideoScreenEvent::isPlaybackPosition: set progress -> 46
MediaPlayer::playVideo::VideoScreenEvent::isPlaybackPosition: set progress -> 47
MediaPlayer::playVideo::VideoScreenEvent::isPlaybackPosition: set progress -> 48
MediaPlayer::playVideo::VideoScreenEvent::isPlaybackPosition: set progress -> 49
MediaPlayer::playVideo::VideoScreenEvent::isPlaybackPosition: set progress -> 50
MediaPlayer::playVideo::VideoScreenEvent::isPlaybackPosition: set progress -> 51
MediaPlayer::playVideo::VideoScreenEvent::isPlaybackPosition: set progress -> 52
MediaPlayer::playVideo::VideoScreenEvent::isPlaybackPosition: set progress -> 53
MediaPlayer::playVideo::VideoScreenEvent::isPlaybackPosition: set progress -> 54
MediaPlayer::playVideo::VideoScreenEvent::isPlaybackPosition: set progress -> 55
MediaPlayer::playVideo::VideoScreenEvent::isPlaybackPosition: set progress -> 56
MediaPlayer::playVideo::VideoScreenEvent::isPlaybackPosition: set progress -> 57
MediaPlayer::playVideo::VideoScreenEvent::isPlaybackPosition: set progress -> 58
MediaPlayer::playVideo::VideoScreenEvent::isPlaybackPosition: set progress -> 59
MediaPlayer::playVideo::VideoScreenEvent::isPlaybackPosition: set progress -> 60
MediaPlayer::playVideo::VideoScreenEvent::isPlaybackPosition: set progress -> 61
MediaPlayer::playVideo::VideoScreenEvent::isPlaybackPosition: set progress -> 62
MediaPlayer::playVideo::VideoScreenEvent::isPlaybackPosition: set progress -> 63
MediaPlayer::playVideo::VideoScreenEvent::isPlaybackPosition: set progress -> 64
MediaPlayer::playVideo::VideoScreenEvent::isPlaybackPosition: set progress -> 65
MediaPlayer::playVideo::VideoScreenEvent::isPlaybackPosition: set progress -> 66
MediaPlayer::playVideo::VideoScreenEvent::isPlaybackPosition: set progress -> 67
MediaPlayer::playVideo::VideoScreenEvent::isPlaybackPosition: set progress -> 68
MediaPlayer::playVideo::VideoScreenEvent::isPlaybackPosition: set progress -> 69
Video status:  0  0
MediaPlayer::playVideo::VideoScreenEvent::isRequestFailed - message =
MediaPlayer::playVideo::VideoScreenEvent::isRequestFailed - data = 1
MediaPlayer::playVideo::VideoScreenEvent::isRequestFailed - index = -5
MediaPlayer::playVideo::VideoScreenEvent::isScreenClosed: position -> 69
Popping screen 6 and cleaning up 0 breadcrumbs
Top of stack is once again: VideoSpringboardScreencda98fe4cbe7644eef5ac3b4e8b765
79
Getting metadata for Id cda98fe4cbe7644eef5ac3b4e8b76579
Media item container: mkv
Media item video codec: h264
Media item audio codec: ac3
Media item subtitles: invalid
Media item stereo codec: invalid
Media item surround codec: ac3
Secondary audio stream selected: false
RefFrames: invalid, MaxRefFrames: 8, Level: 41, Profile: High
Audiochannels: 6
Setting video springboard screen content
Showing video springboard screen
Connection[87032457].info: accepted connection @192.168.0.14:50434
Request[9].info: POST '/mediabrowser/message/Ping'
Reply[37].info: Sent 164 [0-163/164]
Reply[37].info: source buf is empty
Reply[37].info: Sent-1 [0--2/0]
Connection[87032457].info: send reply peer closed @192.168.0.14:50434
Connection[87032458].info: accepted connection @192.168.0.14:50563
Request[10].info: POST '/mediabrowser/message/Ping'
Reply[38].info: Sent 164 [0-163/164]
Reply[38].info: source buf is empty
Reply[38].info: Sent-1 [0--2/0]
Connection[87032458].info: send reply peer closed @192.168.0.14:50563
Connection[87032459].info: accepted connection @192.168.0.14:50628
Request[11].info: POST '/mediabrowser/message/Ping'
Reply[39].info: Sent 164 [0-163/164]
Reply[39].info: source buf is empty
Reply[39].info: Sent-1 [0--2/0]
Connection[87032459].info: send reply peer closed @192.168.0.14:50628
Edited by A8HTPC
Link to comment
Share on other sites

i expected the zip to transcode if roku is set to stereo. truthfully i don't really see any reason why it should be necessary. you're asking for a direct stream of ac3 when your roku is set to stereo? it makes no sense to me.  I don't really think there's a problem with our app here.

 

i think i know what the answer is. i think it's just an issue of terminology. In plex does it say direct play or direct stream? If it says direct stream then it is repackaging the video, and possibly transcoding the audio. Only if it says Direct Play will it streaming the file as-is.  In our terminology, we say transcoding if either the video or audio is transcoding. they only say transcoding when video is transcoding.

 

i think this is probably the answer. you don't need a direct play option. just configure the roku correctly based on your equipment and go watch your movies.

Link to comment
Share on other sites

Well I was more curious as to why plex was able to direct stream ac3 surround to my TV which seems to not except it but ..it works....and my MB doesn't. I have no idea how this stuff works in the background but figured maybe if plex could do it, MB could do it too. I don't think there is a problem either, but I wasn't sure. Cause to me, I was very surprised when I found out plex didn't transcode the movie with the roku on stereo.

 

I still don't know how plex can direct play Ac3 and have my TV produce the sound while direct play with MB doesn't produce sound. Assuming my TV doesn't decode ac3 surround.

Oh and Plex says Direct Play. I may have said direct stream before but its Direct Play.

Link to comment
Share on other sites

Deihmos

If your TV can't play ac3 then plex is converting the audio. There is no way around it. Open task manager and see if the plex app to transcode is launched when you play a video with ac3.

Link to comment
Share on other sites

Thats the thing so either MB is not producing sound through roku on surround, or my TV doesn't support it, on  the other side of tree... Plex does not transcode at all. No transcoding. CPU is idle, usually 1-10% and plex is far down the list, .which would mean my TV does support it...soooooo what app is working correctly and which is not? This is why I brought this up, cause it looks like MB could be better.

 

Instead of looking into this, they decided to change the title of the thread from "MB is transcoding, Plex is not", to something they think is the whole problem........I know how to configure the ROKU for audio pass through I have done more than enough research.  So the title of this thread is meaningless.

Edited by A8HTPC
Link to comment
Share on other sites

If i had to guess i would say the plex app is transcoding the audio without you realizing it, and is direct copying the video. basically, you've forced it to direct stream but the audio is ac3 and your roku isn't configured for that. so their app is smart enough to realize that and handle it.

Link to comment
Share on other sites

Member on Plex Forum -

 

If you are forcing DirectPlay by not leaving the setting to Automatic then yes can get sound if your HDTV supports AC3 over HDMI. All HDTV's call decode AC3 as this is an audio format for OTA signals however not all support it over HDMI, guess yours does.

Edited by A8HTPC
Link to comment
Share on other sites

Deihmos

Pretty much what everyone has been saying all along. Your TV can playback AC3 over HDMI. If you don't want MB3 to transcode then change the audio option from stereo. Problem is if you have any videos with DTS then you wouldn't get any sound plus transcoding audio isn't going to stress the CPU.

Link to comment
Share on other sites

I Have to Apologize! I Screwed Up Honestly!

 

I had re-encoded the video a long time ago for ease of viewing over the internet, though I thought I deleted it a while ago, problem with using "hard Links" is its never really deleted till you delete all hard links to the file. Plex still picked up on it. That particular file has 2ch AAC audio and I didn't notice till I looked at the specs of the file through Plex. I just assumed it was picking up on the original movie file.

 

Both MB and Plex when direct playing the confirmed same movie file, both have no audio, so my TV doesn't support decoding surround, no surprise there. Both transcode.

Link to comment
Share on other sites

  • 2 weeks later...

I have never been able to get my Roku 3 to pass-thru HD audio signals from MB Server.   It passes Dolby 5.1 and DTS 5.1 but not DTS HD MA nor Dobly True HD.  It always downmixes to 2 channel.

 

 

Server version: Version 3.0.5395.0

 

I have copied an example of the transcoding log.  Server log was too big and upload skipped.  If it hinders the diagnosis let me know and I will try to restart and make a smaller server log.

 

If anyone can take a look and tell me what I am doing wrong I would like to know so that I can get my library in order for successful Roku3 playback with full HD audio.

 

Doug

transcode-6cbb5f8b-690d-4f4c-b181-8ec747b41f7a.txt

Link to comment
Share on other sites

well you have to configure the roku for surround sound, and then you have to make sure the video bitrate falls within the app's bitrate setting. best thing to post is the media info from the web client.

Link to comment
Share on other sites

Deihmos

I have never been able to get my Roku 3 to pass-thru HD audio signals from MB Server.   It passes Dolby 5.1 and DTS 5.1 but not DTS HD MA nor Dobly True HD.  It always downmixes to 2 channel.

 

 

Server version: Version 3.0.5395.0

 

I have copied an example of the transcoding log.  Server log was too big and upload skipped.  If it hinders the diagnosis let me know and I will try to restart and make a smaller server log.

 

If anyone can take a look and tell me what I am doing wrong I would like to know so that I can get my library in order for successful Roku3 playback with full HD audio.

 

Doug

The roku cannot pass HD audio. DTS and Dolby Digital only. Look at the specification.

Link to comment
Share on other sites

well you have to configure the roku for surround sound, and then you have to make sure the video bitrate falls within the app's bitrate setting. best thing to post is the media info from the web client.

 

Yes Roku set for Surround.  Bit rate set at highest 20Mbit.   I notice from the media info that the bit rate (for video) exceeds  this, so is the MB Server transcodiing the audio down to 2ch because of that?   I reckon the answer may be in the transcoding log that I posted earlier, but I am not skilled at reading those yet.   If it did transcode, why not down to a lower bit rate 5.1ch audio format instead of all the way down to 2ch OR just compress the video and leave the HD audio alone?   

 

Media Info
Video
CodecH264

ProfileHigh

Level41

Resolution1920x1080

Aspect ratio16:9

AnamorphicNo

InterlacedNo

Framerate23.97602

Bitrate29764 kbps

Bit depth8 bit

Pixel formatyuv420p

Ref frames2

Audio
Languageeng

CodecDCA

ProfileDTS-HD MA

Layout5.1

Bitrate1500 kbps

Sample rate48000 khz

DefaultYes

Audio
Languageeng

CodecDCA

ProfileDTS

Layout5.1

Bitrate1500 kbps

Sample rate48000 khz

DefaultNo

Containermkv
PathH:\Movies\HD Movies\Godzilla\Godzilla_t01.mkv
Size26840 MB
Link to comment
Share on other sites

The roku cannot pass HD audio. DTS and Dolby Digital only. Look at the specification.

Yes aware of the spec, however the spec says nothing about passing Dolby Digital Plus, which it does, and this is an HD Audio format.   The little blue light on the Denon AVR lights up when DD+ material is played from Netflix.   There seems to be some debate on whether pass thru is pass thru.   I think Deihmos, may be onto something with the total bit rate requirement, but I really need a transcoding expert to tell me what's happening and how to store my movies for best possible playback.  If that means only DTS or DD, then so be it, but then I'd be really dissappointed in the Roku3.

Link to comment
Share on other sites

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 account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...