Jump to content


Photo

Streaming problem from HDHomeRun to Roku


  • Please log in to reply
4 replies to this topic

#1 mershon

mershon

    Newbie

  • Members
  • Pip
  • 2 posts

Posted 30 August 2012 - 05:24 PM

I'm running Plex Server on a Mac talking to HDHomeRun Prime for cable channels and a Roku 2 box for streaming to a TV. I can run Plex (client) on my mac or a different mac and it works perfectly, but Roku says "Video Unavailable".

Version Information:
- Mac: OS X 10.7.4
- HDHomeRun Prime: Model HDHR3-CC, Firmware 20120405
- Roku: Model 3100X, Firmware 4.8 - build 1184
- Plex Media Server: Version 0.9.6.7.204-266f05d
- Plex (client): Version 0.9.5.4-973998f

The Plex HDHomeRun Plugin was installed using Plex on the same machine that is running Plex Media Server.

Log information is shown below. The first two are portions of "Plex Media Server.log" - one while running a test on a test on a separate Mac machine (call it, Machine B) and the other while running on Roku. The third log file is from the Roku itself.

These tests had the same objective - to view a single channel: channel=auto:165000000&program=1. Again, on Machine B, it works perfectly, but on Roku I always get "Video Unavailable".

In case they are needed, the full log files are attached.

I'm hoping there is something in these logs that might suggest what I'm missing.

Thanks,
mershon

=== PMS log during successful test from Machine B ===
...
Aug 30, 2012 10:15:13 [0xb0fbd000] DEBUG - [com.plexapp.plugins.hdhomerun] Sent command: GET /video/hdhomerun
User-Agent: Plex Firefox/2.0.0.11
Host: 192.168.1.182:32400
Accept: */*
Referer:
X-Plex-Client-Capabilities: protocols=shoutcast,webkit,http-video;videoDecoders=h264{profile:high&resolution:1080&level:51};audioDecoders=mp3,aac
X-Plex-Client-Identifier: 2298bbd1-3dad-43ec-aba8-71ebbfee137a
X-Plex-Client-Platform: MacOSX
X-Plex-Language: en
X-Plex-Version: 0.9.5.4-f067f15
Aug 30, 2012 10:15:13 [0xb0fbd000] DEBUG - Reading 3122 bytes in the body, code is 200
...
Aug 30, 2012 10:15:36 [0xb0fbd000] DEBUG - Request: GET /video/hdhomerun [192.168.1.151:49668] (1 live)
Aug 30, 2012 10:15:36 [0xb0fbd000] DEBUG - Plug-in com.plexapp.plugins.hdhomerun has been used 119 times.
Aug 30, 2012 10:15:36 [0xb0fbd000] DEBUG - [com.plexapp.plugins.hdhomerun] Sent command: GET /video/hdhomerun
User-Agent: Plex Firefox/2.0.0.11
Host: 192.168.1.182:32400
Accept: */*
Referer:
X-Plex-Client-Capabilities: protocols=shoutcast,webkit,http-video;videoDecoders=h264{profile:high&resolution:1080&level:51};audioDecoders=mp3,aac
X-Plex-Client-Identifier: 2298bbd1-3dad-43ec-aba8-71ebbfee137a
X-Plex-Client-Platform: MacOSX
X-Plex-Language: en
X-Plex-Version: 0.9.5.4-f067f15
Aug 30, 2012 10:15:36 [0xb0fbd000] DEBUG - Reading 3122 bytes in the body, code is 200
Aug 30, 2012 10:15:36 [0xb0fbd000] DEBUG - [com.plexapp.plugins.hdhomerun] Completed command /video/hdhomerun in 0.000129 seconds.
...


=== PMS log during failed test from Roku ===
...
Aug 30, 2012 08:19:31 [0xb0f3b000] DEBUG - [com.plexapp.plugins.hdhomerun] Sent command: GET /video/hdhomerun
User-Agent: Roku/DVP-4.8 (024.08E01184A)
Host: 192.168.1.182:32400
Accept: */*
Accept-Encoding: deflate, gzip
Content-Type: application/x-www-form-urlencoded
X-Plex-Client-Platform: Roku
X-Plex-Version: 2.4.1
X-Plex-Client-Capabilities: protocols=http-live-streaming,http-mp4-streaming,http-mp4-video,http-mp4-video-720p,http-streaming-video,http-streaming-video-720p;videoDecoders=mpeg4,h264{profile:high&resolution:1080&level:40};audioDecoders=aac
Aug 30, 2012 08:19:31 [0xb0f3b000] DEBUG - Reading 3122 bytes in the body, code is 200
...
Aug 30, 2012 08:19:41 [0xb1143000] DEBUG - Request: GET /video/hdhomerun/hdhomerun://192.168.1.145-0/tuner0?channel=auto:165000000&program=1 [127.0.0.1:51833] (2 live)
Aug 30, 2012 08:19:41 [0xb1143000] DEBUG - * channel => auto:165000000
Aug 30, 2012 08:19:41 [0xb1143000] DEBUG - * program => 1
Aug 30, 2012 08:19:41 [0xb1143000] DEBUG - Plug-in com.plexapp.plugins.hdhomerun has been used 117 times.
Aug 30, 2012 08:19:41 [0xb1143000] DEBUG - [com.plexapp.plugins.hdhomerun] Sent command: GET /video/hdhomerun/hdhomerun://192.168.1.145-0/tuner0?channel=auto:165000000&program=1
User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.1; fr; rv:1.9.2b4) Gecko/20091124 Firefox/3.6b4 (.NET CLR 3.5.30729)
Host: 127.0.0.1:32400
Accept: */*
Aug 30, 2012 08:19:41 [0xb1143000] DEBUG - Reading 0 bytes in the body, code is 404
Aug 30, 2012 08:19:41 [0xb1143000] DEBUG - [com.plexapp.plugins.hdhomerun] Completed command /video/hdhomerun/hdhomerun://192.168.1.145-0/tuner0?channel=auto:165000000&program=1 in 0.000138 seconds.
Aug 30, 2012 08:19:41 [0xb1143000] ERROR - [Transcoder] Exiting after failure.
...


=== Roku log during failed test from Roku ===
...
Button command: play
Playing video with Direct Play options set to: Direct Stream/Transcode
MediaPlayer::playVideo: Displaying video: Watch TNTHD auto:165000000&1
Setting stream quality: HD
---- AA ----
fullhd: false
streamqualities: (list of 1)...
List(0)= HD
title: Watch TNTHD auto:165000000&1
playstart: 0
istranscoded: true
------------
Constructing transcoding video URL for hdhomerun://192.168.1.145-0/tuner0?channel=auto:165000000&program=1
Location: http://127.0.0.1:324...00000&program=1
Original key:
Full key:
Final URL: http://192.168.1.182...dioDecoders=aac
Creating URL transfer object for http://192.168.1.182...ranscoded video
Starting to play transcoded video
MediaPlayer::playVideo: Reacting to video screen event message -> roVideoScreenEvent
MediaPlayer::playVideo::VideoScreenEvent::isRequestFailed - message = An unexpected problem (but not server timeout or HTTP error) has been detected.
MediaPlayer::playVideo::VideoScreenEvent::isRequestFailed - data = 0
MediaPlayer::playVideo::VideoScreenEvent::isRequestFailed - index = -3
MediaPlayer::playVideo: Reacting to video screen event message -> roVideoScreenEvent
MediaPlayer::playVideo::VideoScreenEvent::isScreenClosed: position -> 0
Creating URL transfer object for http://192.168.1.182...e playing video
Error occurred while playing video
...

Attached Files



#2 scyber

scyber

    Dedicated Member

  • Members
  • PipPipPip
  • 284 posts

Posted 30 August 2012 - 07:58 PM

I'm pretty sure the issue is the transcoder on the server end. The transcoder fails and its likely this channel won't work with any clients that require a transcoder (iOS & Android) so its not limited to the roku.

#3 mershon

mershon

    Newbie

  • Members
  • Pip
  • 2 posts

Posted 30 August 2012 - 08:57 PM

scyber,

Thanks for the idea. I'll run additional tests and study the transcoder to see what I can learn about it.

mershon

#4 cal1

cal1

    Member

  • Members
  • PipPip
  • 15 posts

Posted 15 September 2012 - 04:11 PM

mershon,
Where exactly did you get the HDhomerun Plug-in you are using?
And when you said installed with Plex, did you mean Plex Media Client?

The reason I am asking, is that I am attempting to get this running on a Windows Machine running Plex, and I am having major issues with the original v.2 plug-in.

Once I get where I can watch HDHomerun prime in PMC, I will be attempting streaming to the Roku.

The biggest problem you might be having is that the Roku does not have the codec to handle the stream directly from HDHomerun.
It will need Plex to transcode it.

Cal1

#5 eduo

eduo

    Dedicated Member

  • Members
  • PipPipPip
  • 184 posts
  • Location: Madrid, Spain

Posted 10 January 2013 - 11:40 PM

mershon,
Where exactly did you get the HDhomerun Plug-in you are using?
And when you said installed with Plex, did you mean Plex Media Client?

The reason I am asking, is that I am attempting to get this running on a Windows Machine running Plex, and I am having major issues with the original v.2 plug-in.

Once I get where I can watch HDHomerun prime in PMC, I will be attempting streaming to the Roku.

The biggest problem you might be having is that the Roku does not have the codec to handle the stream directly from HDHomerun.
It will need Plex to transcode it.

Cal1


He's probably using http://forums.plexap...run-v2-plug-in/
The problem about transcoding is that PMS is not transcoding this at this stage (Laika sees the stream alright, but PMS can't read/convert it, for some reason).

Laika can see the video stream, the audio channels and even the subtitles, although I haven't made these work ye.




0 user(s) are reading this topic

0 members, 0 guests, 0 anonymous users