I also stumbled on this over at VideoLan Forum.
http://forum.videolan.org/viewtopic.php?f=4&t=70404#p251103
This was about HDHomerun and using VLC to transcode.
“Yes, absolutely possible if you’ve enough CPU power.
Something like this should do it - depending on CPU power available tweak vb, scale, fps, ab, channels, samplerate and possible other settings.
IP_ADDR = IP address of the machine that should convert the stream
PORT = TCP port remote clients must connect to”
The code:
#set channel and program
hdhomerun_config FFFFFFFF set /tuner1/channel auto:FREQUENCY
hdhomerun_config FFFFFFFF set /tuner1/program NUMBER
#setup stream and transcode it
cvlc udp://@:5000 :sout="#transcode{vcodec=h264,vb=600,scale=0.5,deinterlace,fps=20,acodec=mp4a,ab=64,channels=1,samplerate=11250,venc=x264{keyint=20,bframes=0}}:standard{access=http,mux=ts,dst=IP_ADDR:PORT}" -v
#ask hdhomerun to begin streaming
sleep 2
hdhomerun_config FFFFFFFF set /tuner1/target IP_ADDR:5000
“To view the converted stream on a remote client, simply start VLC -> Open Network Stream… -> Protocol: HTTP, Address: IP_ADDR:PORT -> Play”
I will be looking at hard coding this logic as a proof of concept.
Cal
Can someone post a guide on how to setup this channel? :blink:
@pngbanner
Can only help for windows (although I suspect the path is OS X is ~\library\Plex . . . or something like that)
download the bundle from this post or github. Extract the folder and place it in
c:\Users\Administrator\AppData\Local\Plex Media Server\Plug-ins
You should end up with a folder called HDHomeRun.bundle with a contents folder in the Plug-ins folder.
restart PMS and you should see HDHomeRunV2 in your channels menu.
OK so have the new plugin installed and it now gets further than the old version 1 bundle.
I can enter the preference details and download the channel data. Huge step forward.
Now when I try to verify or view any channel it does not know the file type and fails.
This is with the original twin tuner HDHomeRun unit with OTA digital channels.
Any pointers how to get to the next step, this is so much more promising and would love to get HDHomeRun working again on plex.
PMS is running on Windows 2008 R2 and the client is a Mac Mini with Snow Leopard and the latest client.
Thanks
Running OpenSuSE 12.2 on a First Gen P4 32 bit machine with 1.5GB of RAM. NVidia 6200
plexmediaserver-0.9.6.9.240-2-SUSE.i386
HDHomerun plugin V1 an V2
Roku2 XD with Plex client installed.
I am curious how people were able to get V2 to do anything? In install the V2 plugin an dont see anything in my client. If I remove the V2 plugin an install the V1-Master, I am able to configure it all the way too Verifying the channel, where I always get an error…
“Video Unavailable”
“We are unable to play this video, make sure the server is running an has access to the video.”
I see a similiar error trying to access the Pandora plugin. I can make it all the way to logging in, an when I try to play a channel, it fails.
What else is needed to get the Linux Plexmediaserver working?
John
Output of /var/log/message after trying to view…
Nov 18 17:06:45 plex plexmediaserver[7662]: Starting transcoder v306 (t=10s, q=4)
Nov 18 17:06:45 plex plexmediaserver[7662]: Registered components, about to parse arguments.
Nov 18 17:06:45 plex plexmediaserver[7662]: Opening http://127.0.0.1:32400/video/hdhomerun/:/function/ExploreOptionsCallback/hdhomerun://1020c829-0/tuner0?channel=8vsb:213000000&program=3, Video caps: ca=1, cv=1, ac=libvo_aacenc, mp3=-1, aac=0,1, ac3=-1, dts=-1, pcm=-1, vp=64, vr=1080, vl=40, mss=3355443, anam=1
Nov 18 17:06:45 plex plexmediaserver[7662]: About to apply initial settings.
Nov 18 17:06:45 plex plexmediaserver[7662]: Opening the input file.
Nov 18 17:06:45 plex plexmediaserver[7662]: 17:06:45.263908: com.plexapp.plugins.hdhomerun : (Framework) Handling request : /video/hdhomerun/:/function/ExploreOptionsCallback/hdhomerun://1020c829-0/tuner0
Nov 18 17:06:45 plex plexmediaserver[7662]: 17:06:45.266182: com.plexapp.plugins.hdhomerun : ExploreOptionsCallback
Nov 18 17:06:45 plex plexmediaserver[7662]: 17:06:45.266314: com.plexapp.plugins.hdhomerun : (Framework) Calling named function ‘ExploreOptionsCallback’
Nov 18 17:06:45 plex plexmediaserver[7662]: 17:06:45.266520: com.plexapp.plugins.hdhomerun : (Framework) An exception happened:
Nov 18 17:06:45 plex plexmediaserver[7662]: Traceback (most recent call last):
Nov 18 17:06:45 plex plexmediaserver[7662]: File “/var/lib/plexmediaserver/Library/Application Support/Plex Media Server/Plug-ins/Framework.bundle/Contents/Resources/Versions/1/Python/PMS/Plugin.py”, line 712, in __call
Nov 18 17:06:45 plex plexmediaserver[7662]: return function(*args, **kwargs)
Nov 18 17:06:45 plex plexmediaserver[7662]: TypeError: ExploreOptionsCallback() got an unexpected keyword argument ‘program’
Nov 18 17:06:45 plex plexmediaserver[7662]: 17:06:45.266652: com.plexapp.plugins.hdhomerun : (Framework) Request not handled by plug-in
Nov 18 17:06:45 plex plexmediaserver[7662]: 17:06:45.266703: com.plexapp.plugins.hdhomerun : (Framework) Response OK
Nov 18 17:06:45 plex plexmediaserver[7662]: Unable to open file at path
Nov 18 17:06:45 plex plexmediaserver[7662]: http://127.0.0.1:32400/video/hdhomerun/:/function/ExploreOptionsCallback/hdhomerun://1020c829-0/tuner0?channel=8vsb:213000000&program=3
Nov 18 17:06:45 plex plexmediaserver[7662]: Unable to configure input files.
Nov 18 17:06:45 plex plexmediaserver[7662]: Exiting after failure.
Cal,
I believe when you "ask the hdhomerun to begin streaming", you need to begin the "IP_ADDR: 5000" with "udp://", or "rtp://" (eg., "udp://192.168.1.1:5000"). I wonder whether rtp might present a more stable picture?
-Kakker
P.S. See "Streaming to a target machine" on page 8 of the [HDHomerun Development Guide](http://www.silicondust.com/hdhomerun/hdhomerun_development.pdf).
Thanks for the link.
That is the area that I am starting at.
Right now, I am attempting to force a stream using windows bat files.
I attempted http streaming, using some examples I found, however; only a vlc client was able to see the transcoded stream.
Roku and PMC did not recognize the URL for the VLC transcoded stream. However; I might had the media object set up wrong.
When I get a chance, I will re-visit media object in Plex, and see if I can find a more appropriate one.
Hey Cal,
Any chance you were able to get any good results with Roku and PMC recognizing the streams? Would love to know since I am in the same boat.
Thanks,
Al.
I just checked the site listed below and it seemed like there hasn’t been much more development here. I’ve got the same problem and wondering if there’s still support to get this working?
webb9798
This project is not dead.
I am at a place where I am not sure the best way to proceed.
So, I am forced into experimentation.
What I have to figure out is the best way to pass a URL to ROKU or PMC to watch a stream. (What type of media object, and any unique settings.)
The second is figuring out the best transport stream to use.
acruz
Due to other things in my life having higher priorities, I have not expended any real time on this right now.
So, your answer at this moment is no.
I would say, with Christmas around the corner, I do not expect I will have a lot of time to expend on this.
I have not checked PMS documentation lately, however; when I started rewriting this plug-in, the documentation was not real detailed.
There was really no examples, explaining all these media objects.
I am having to look at other plug-in code to figure everything out, and a good portion of them are based on V1 architecture.
Also, I am having to learn Python at the same time.
Unless, I find a mentor to point me in the right direction from time to time, progress will be slow.
Cal
Just wanted you to know I VERY much appreciate you working on this and look forward to testing it when it gets to that stage. Hopefully people understand that this is being done in free time and there certainly shouldn’t be any time pressure. Hope you can get some help from some of the guys that have worked on this stuff before.
Look forward to news as it happens.
Good luck!!
Hi there
I recently discovered plex and have it set up and really love it!! Now I would like to have live tv on my plex clients. So I discovered “HD Homerun” And “EyeTV”. I am going to buy a Tuner (either HD Homerun or EyeTV) and would love to get some assistance in the decision process. Therefore I will describe my setup and my requirements for live tv on plex. Hopefully anyone in this forum can help me.
I have a late 2012 MacMini i5 running Win8 and the Plex Server which accesses files mainly from my NAS (configured network drives). As a second “Box” I have a DVB-C Receiver which lets me view the broadcasts from my cableprovider here in Switzerland (unencrypted). Unfortunately this box provided from my cableprovider hasn’t the ability to pause or record programs.
I would like to have a DVB-C Tuner for my Mac (Using Win8 since I wasn’t able to setup SickBeard on Mac OS) and a integration into Plex. It should be able:
- Access HDTV Programs (720p and 1080i)within Plex
- Change channel within Plex
- View EPG within Plex
- Possibility to Pause within Plex
- Possibility to record at least one program while watching another one (TwinTuner) (preferably within Plex, subsidiary from dedicated Win8 Software (probably Win8 Media Center which is already there?)
Is there anyone who can help me or point me into the best direction?
I am willing to spend up to 200 CHF (roughly 215 USD) for buying the Tuner…
mcboss86,
Welcome to the Plex community.
However; I am attempting to keep this thread focused on the development, problems, solutions of the HDHomeRun V2 Plugin.
While HDHomerun may work for you, your situation has a multitude of more options.
I think you would get better responses if you started your own thread about this.
Cal
Cal, You are right. Christmas is right around the corner with the new year tagging along. Here is a wish to you and yours for a Merry Christmas and a prosperous New Year. Best regards.
OK, I installed the plugin. I have my HD Homerun on the LAN connected to an antenna. and I can watch channels on my MacBookPro using the HDHomeRunGUI.app program. I can tune, for example, channel 9.1 and 9.2.
When I go to the HD plugin in Plex and I try to view channel 9.1, I get an error opening the file, though I can view channel 9.2. This makes no sense to me, as they are the same broadcast channel.
I can immediately open the 9.1 stream on my Mac and watch it in VLC, but nothing I do in Plex seems to work to get 9.1. 9.1 also works on the TVs, but not in Plex.
Other oddities is that Plex is trying to tune the wrong channels pretty frequently;. When I tell it to view 2-1, it tunes to 41 instead of 34. When I tell it to view 20.1 it tunes to 41 again instead of 19 (I can see what it is trying to tune by watching the HDHomerun_config_GUI.app)
I don’t see anyway to tell the plugin it is trying to tune the wrong channel and fix it.
The channels I am trying to add are all channels that the HD says have 100% “Symbol Quality” which as I understand it is the important metric.
Oh, one other thing, there are still a bunch of channels from when I tried to setup the HD when I had cable. I don’t see anyway to clear them all out.
lbutlr,
What version of plex and HDhomerun plugin are you using?
This discussion is about the V2 plugin with new PMS/PMC architecture.
The V2 plugin should not be working at all.
Calvin
jaalcorn,
Thanks for the best wishes.
Merry Christmas and a prosperous New Year to everyone out there.
Cal
I though it was V2, as I downloaded it and installed it yesterday. The timestamps in the actually bundle are from May 2010.
<br />
% more .../HDHomeRun.bundle/Contents/VERSION <br />
34153fb (Sat Feb 18 01:02:57 UTC 2012)<br />
<br />
http://wiki.plexapp.com/index.php/HDHomeRun says version 0.2
Well, it is tuning most the channels. I cannot find how to remove all the cable channels that were left from the previous install.
lbutlr
You are running what I am calling the V1 plugin, since it was based on the first version of the API.
The last version it should have worked with was Mac OS Plex/Nine.
Since the new Plex Media Server (PMS) / Plex Media Center (PMC) design, that plugin stopped working.
That is why I was also interested in which version of Plex you were running.
That version of the plugin retrieved the channel line-up from a website.
The current HDHomerun Prime can return directly the subscribed channel list.
When I get to that hurdle, I will be looking at retrieving the channels from the tuner instead of a remote site.
Now, Plex keeps the plugin data is a specific place. You will have to search to find where that is for a Mac. I do not know.
You should be able to edit the files, or delete them and start fresh.
Also, Plex maintains logs for the plugins. That might give you a clue where to look.
Good Luck,
Cal