Jump to content


Photo

How do I configure audio pass through?


  • Please log in to reply
53 replies to this topic

#21 Luke OFFLINE  

Luke

    System Architect

  • Administrators
  • 129329 posts
  • Local time: 04:25 AM

Posted 05 October 2014 - 07:01 PM

there's too many changes there for my comfort level. i would get him a zip file for him to test. then if it works try to improve the fix to reduce it to just a couple lines of code changing



#22 speechles OFFLINE  

speechles

    Advanced Member

  • App Developer
  • 4467 posts
  • Local time: 01:25 AM

Posted 05 October 2014 - 07:30 PM

Fair enough, but that was more to.. Cough cough.. Mirror what Plex was doing..heh

As a test, @A8HTPC try to run this:
Http://ereader.kiczek.com/roku.zip

Side load it the same, telnet debug, and does this play your video?

Sent from my Nexus 7 using Tapatalk

#23 A8HTPC OFFLINE  

A8HTPC

    Advanced Member

  • Members
  • 313 posts
  • Local time: 04:25 AM
  • LocationUS

Posted 05 October 2014 - 09:29 PM

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


Edited by A8HTPC, 05 October 2014 - 09:29 PM.


#24 Deihmos OFFLINE  

Deihmos

    Advanced Member

  • Alpha Testers
  • 1091 posts
  • Local time: 03:25 AM
  • LocationNYC

Posted 05 October 2014 - 09:40 PM

Plax will convert the audio is you set the roku to stereo and the audio is 5.1.



#25 A8HTPC OFFLINE  

A8HTPC

    Advanced Member

  • Members
  • 313 posts
  • Local time: 04:25 AM
  • LocationUS

Posted 05 October 2014 - 09:59 PM

Plex server and MB Server will both convert the audio. But it seems the roku can play a movie without transcoding using plex which means a little rescripting with MB app it should do the same



#26 speechles OFFLINE  

speechles

    Advanced Member

  • App Developer
  • 4467 posts
  • Local time: 01:25 AM

Posted 05 October 2014 - 11:20 PM

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, 06 October 2014 - 12:04 AM.


#27 A8HTPC OFFLINE  

A8HTPC

    Advanced Member

  • Members
  • 313 posts
  • Local time: 04:25 AM
  • LocationUS

Posted 06 October 2014 - 07:09 AM

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, 06 October 2014 - 07:54 AM.


#28 A8HTPC OFFLINE  

A8HTPC

    Advanced Member

  • Members
  • 313 posts
  • Local time: 04:25 AM
  • LocationUS

Posted 09 October 2014 - 06:20 PM

Never mentioned if it worked or not....That updated zip did not stop MB from transcoding.



#29 speechles OFFLINE  

speechles

    Advanced Member

  • App Developer
  • 4467 posts
  • Local time: 01:25 AM

Posted 09 October 2014 - 07:20 PM

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, 09 October 2014 - 06:08 PM.


#30 Luke OFFLINE  

Luke

    System Architect

  • Administrators
  • 129329 posts
  • Local time: 04:25 AM

Posted 09 October 2014 - 08:08 PM

try this zip

 

https://www.dropbox....r.Roku.zip?dl=0

 

but read what speeches said first or it wont make a difference



#31 A8HTPC OFFLINE  

A8HTPC

    Advanced Member

  • Members
  • 313 posts
  • Local time: 04:25 AM
  • LocationUS

Posted 09 October 2014 - 10:28 PM

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.



#32 Luke OFFLINE  

Luke

    System Architect

  • Administrators
  • 129329 posts
  • Local time: 04:25 AM

Posted 09 October 2014 - 10:36 PM

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.



#33 Deihmos OFFLINE  

Deihmos

    Advanced Member

  • Alpha Testers
  • 1091 posts
  • Local time: 03:25 AM
  • LocationNYC

Posted 10 October 2014 - 12:40 AM

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, 10 October 2014 - 12:43 AM.


#34 A8HTPC OFFLINE  

A8HTPC

    Advanced Member

  • Members
  • 313 posts
  • Local time: 04:25 AM
  • LocationUS

Posted 10 October 2014 - 08:57 PM

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, 10 October 2014 - 07:06 PM.


#35 A8HTPC OFFLINE  

A8HTPC

    Advanced Member

  • Members
  • 313 posts
  • Local time: 04:25 AM
  • LocationUS

Posted 10 October 2014 - 07:16 PM

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



#36 Luke OFFLINE  

Luke

    System Architect

  • Administrators
  • 129329 posts
  • Local time: 04:25 AM

Posted 10 October 2014 - 09:04 PM

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.



#37 A8HTPC OFFLINE  

A8HTPC

    Advanced Member

  • Members
  • 313 posts
  • Local time: 04:25 AM
  • LocationUS

Posted 10 October 2014 - 10:45 PM

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.



#38 Deihmos OFFLINE  

Deihmos

    Advanced Member

  • Alpha Testers
  • 1091 posts
  • Local time: 03:25 AM
  • LocationNYC

Posted 11 October 2014 - 01:15 AM

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.

#39 A8HTPC OFFLINE  

A8HTPC

    Advanced Member

  • Members
  • 313 posts
  • Local time: 04:25 AM
  • LocationUS

Posted 11 October 2014 - 01:40 PM

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, 11 October 2014 - 01:47 PM.


#40 Luke OFFLINE  

Luke

    System Architect

  • Administrators
  • 129329 posts
  • Local time: 04:25 AM

Posted 11 October 2014 - 01:45 PM

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.






0 user(s) are reading this topic

0 members, 0 guests, 0 anonymous users