Welcome to our forums! Please take a few moments to read through our Community Guidelines (also conveniently linked in the header at the top of each page). There, you'll find guidelines on conduct, tips on getting the help you may be searching for, and more!

Streaming problem from HDHomeRun to Roku

Roku says Video Unavailable; other clients work.
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:32400/video/hdhomerun/hdhomerun://192.168.1.145-0/tuner0?channel=auto:165000000&program=1
Original key:
Full key:
Final URL: http://192.168.1.182:32400/video/:/transcode/segmented/start.m3u8?offset=0&identifier=com.plexapp.plugins.hdhomerun&ratingKey=&quality=7&secondsPerSegment=10&url=http://127.0.0.1:32400/video/hdhomerun/hdhomerun://192.168.1.145-0/tuner0?channel=auto:165000000&program=1&3g=0&subtitleSize=125&X-Plex-Access-Key=KQMIY6GATPC63AIMC4R2&X-Plex-Access-Time=1346340361&X-Plex-Access-Code=VBK2+NY2BaqFXgsFXiv2LFPZNCowwuPCoLqL9RuWup4=&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
Creating URL transfer object for http://192.168.1.182:32400/log?source=roku&level=3&message=Starting to play transcoded 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:32400/log?source=roku&level=3&message=Error occurred while playing video
Error occurred while playing video
...

Comments

  • scyberscyber Posts: 303Members, Plex Pass Plex Pass
    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.
  • mershonmershon Posts: 2Members
    scyber,

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

    mershon
  • cal1cal1 Posts: 15Members
    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
  • eduoeduo Posts: 281Members, Plex Pass Plex Pass
    cal1 wrote:

    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.plexapp.com/index.php/topic/47322-hdhomerun-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.
Sign In or Register to comment.