Project

General

Profile

Trying to get HDHomeRun working - streams profile issue

Added by Ron Von about 7 years ago

I think I pretty much got it all done, but I just can't get video to play. I am suspicious I need to build a stream profile, or tweak an existing one? Anyone know? Or, perhaps I should ask if anyone have a working integration with HDHomeRun Extend - Canadian version.

My mapped services look good, and I get green SNR & SS when trying to play video, but it just doesn't work, using the built in "watch tv" app.

Thoughts?

...and thanks in advance.


Replies (23)

RE: Trying to get HDHomeRun working - streams profile issue - Added by Ron Von about 7 years ago

So it seems all looks well, but TVheadend thinks the client hung up. I'm guessing the client is indeed hanging up because it don't reconize the stream format. I this sort of log, regardless of media player used, and regardless of OS (windows, or *nix) used.

2017-10-29 07:34:18.087 [ INFO]:http: 192.168.168.224: using ticket 80F043CD4A201A9EB49DEA72256787556A108E88 for /stream/service/bdec34d0937e7b8c005c259eb7cbcb1f
2017-10-29 07:34:18.087 [ DEBUG]:service: 2: HDHomeRun/623MHz/HALIFAX CBHT-DT si 0x80f022380 HDHomeRun ATSC-T Tuner #0 (192.168.168.227) weight 0 prio 10 error 0
2017-10-29 07:34:18.087 [ INFO]:mpegts: 623MHz in HDHomeRun - tuning on HDHomeRun ATSC-T Tuner #0 (192.168.168.227)
2017-10-29 07:34:18.087 [ DEBUG]:tvhdhomerun: HDHomeRun ATSC-T Tuner #0 (192.168.168.227) - starting 623MHz in HDHomeRun
2017-10-29 07:34:18.087 [ INFO]:tvhdhomerun: tuning to auto:623000000
2017-10-29 07:34:18.192 [ DEBUG]:mpegts: 623MHz in HDHomeRun - started
2017-10-29 07:34:18.193 [ DEBUG]:mpegts: 623MHz in HDHomeRun - open PID 1FFB (8187) [20/0x80f059000]
2017-10-29 07:34:18.193 [ DEBUG]:tbl-eit: mgt: installed table handlers
2017-10-29 07:34:18.193 [ DEBUG]:psip: psip: grab started
2017-10-29 07:34:18.193 [ DEBUG]:mpegts: 623MHz in HDHomeRun - open PID 0012 (18) [20/0x80f065000]
2017-10-29 07:34:18.193 [ DEBUG]:tbl-eit: eit: installed table handlers
2017-10-29 07:34:18.193 [ DEBUG]:tbl-eit: eit: grab started
2017-10-29 07:34:18.193 [ DEBUG]:mpegts: 623MHz in HDHomeRun - open PID 0030 (48) [8/0x80cc0a400]
2017-10-29 07:34:18.193 [ DEBUG]:mpegts: 623MHz in HDHomeRun - open PID 0031 (49) [8/0x80cc0a400]
2017-10-29 07:34:18.193 [ DEBUG]:mpegts: 623MHz in HDHomeRun - open PID 0034 (52) [8/0x80cc0a400]
2017-10-29 07:34:18.193 [ DEBUG]:mpegts: 623MHz in HDHomeRun - open PID 0035 (53) [8/0x80cc0a400]
2017-10-29 07:34:18.193 [ DEBUG]:mpegts: 623MHz in HDHomeRun - open PID 0030 (48) [16/0x80f07b000]
2017-10-29 07:34:18.193 [ INFO]:subscription: 00D0: "HTTP" subscribing to service "HDHomeRun/623MHz/HALIFAX CBHT-DT", weight: 100, adapter: "HDHomeRun ATSC-T Tuner #0 (192.168.168.227)", network: "HDHomeRun", mux: "623MHz", profile="pass", hostname="192.168.168.224", client="VLC/2.2.4 LibVLC/2.2.4"
2017-10-29 07:34:18.196 [ DEBUG]:tvhdhomerun: current pfilter: 0x0000
2017-10-29 07:34:18.196 [ DEBUG]:tvhdhomerun: setting pfilter to: 0x0000 0x0012
2017-10-29 07:34:18.212 [ DEBUG]:tvhdhomerun: current pfilter: 0x0000 0x0012
2017-10-29 07:34:18.212 [ DEBUG]:tvhdhomerun: setting pfilter to: 0x0000 0x0012 0x1ffb
2017-10-29 07:34:18.232 [ DEBUG]:tvhdhomerun: current pfilter: 0x0000 0x0012 0x1ffb
2017-10-29 07:34:18.232 [ DEBUG]:tvhdhomerun: setting pfilter to: 0x0000 0x0012 0x1ffb 0x0030
2017-10-29 07:34:18.242 [ DEBUG]:tvhdhomerun: current pfilter: 0x0000 0x0012 0x0030 0x1ffb
2017-10-29 07:34:18.242 [ DEBUG]:tvhdhomerun: setting pfilter to: 0x0000 0x0012 0x0030 0x1ffb 0x0031
2017-10-29 07:34:18.257 [ DEBUG]:tvhdhomerun: current pfilter: 0x0000 0x0012 0x0030-0x0031 0x1ffb
2017-10-29 07:34:18.257 [ DEBUG]:tvhdhomerun: setting pfilter to: 0x0000 0x0012 0x0030-0x0031 0x1ffb 0x0035
2017-10-29 07:34:18.272 [ DEBUG]:tvhdhomerun: current pfilter: 0x0000 0x0012 0x0030-0x0031 0x0035 0x1ffb
2017-10-29 07:34:18.272 [ DEBUG]:tvhdhomerun: setting pfilter to: 0x0000 0x0012 0x0030-0x0031 0x0035 0x1ffb 0x0034
2017-10-29 07:34:18.283 [ DEBUG]:tvhdhomerun: locked
2017-10-29 07:34:18.283 [ DEBUG]:tvhdhomerun: starting input thread
2017-10-29 07:34:18.283 [ DEBUG]:tvhdhomerun: opening client socket
2017-10-29 07:34:18.283 [ DEBUG]:mpegts: 623MHz in HDHomeRun - open PID 0000 (0) [20/0x80f07d000]
2017-10-29 07:34:18.283 [ DEBUG]:mpegts: 623MHz in HDHomeRun - open PID 0001 (1) [16/0x80f06f000]
2017-10-29 07:34:18.283 [ DEBUG]:tvhdhomerun: setting target to: udp://192.168.168.203:61908
2017-10-29 07:34:18.283 [ DEBUG]:mpegts: 623MHz in HDHomeRun - open PID 1FFB (8187) [20/0x80f071000]
2017-10-29 07:34:18.283 [ DEBUG]:mpegts: 623MHz in HDHomeRun - open PID 1FFB (8187) [20/0x80f073000]
2017-10-29 07:34:18.300 [ DEBUG]:tvhdhomerun: current pfilter: 0x0000 0x0012 0x0030-0x0031 0x0034-0x0035 0x1ffb
2017-10-29 07:34:18.302 [ DEBUG]:tvhdhomerun: current pfilter: 0x0000 0x0012 0x0030-0x0031 0x0034-0x0035 0x1ffb
2017-10-29 07:34:18.302 [ DEBUG]:tvhdhomerun: setting pfilter to: 0x0000 0x0012 0x0030-0x0031 0x0034-0x0035 0x1ffb 0x0001
2017-10-29 07:34:18.320 [ DEBUG]:tvhdhomerun: current pfilter: 0x0000-0x0001 0x0012 0x0030-0x0031 0x0034-0x0035 0x1ffb
2017-10-29 07:34:18.320 [ DEBUG]:tvhdhomerun: setting pfilter to: 0x0000-0x0001 0x0012 0x0030-0x0031 0x0034-0x0035 0x1ffb 0x0012
2017-10-29 07:34:18.332 [ DEBUG]:tvhdhomerun: current pfilter: 0x0000-0x0001 0x0012 0x0030-0x0031 0x0034-0x0035 0x1ffb
2017-10-29 07:34:18.332 [ DEBUG]:tvhdhomerun: setting pfilter to: 0x0000-0x0001 0x0012 0x0030-0x0031 0x0034-0x0035 0x1ffb 0x1ffb
2017-10-29 07:34:18.342 [ DEBUG]:tvhdhomerun: current pfilter: 0x0000-0x0001 0x0012 0x0030-0x0031 0x0034-0x0035 0x1ffb
2017-10-29 07:34:18.342 [ DEBUG]:tvhdhomerun: setting pfilter to: 0x0000-0x0001 0x0012 0x0030-0x0031 0x0034-0x0035 0x1ffb 0x0030
2017-10-29 07:34:18.360 [ DEBUG]:tvhdhomerun: current pfilter: 0x0000-0x0001 0x0012 0x0030-0x0031 0x0034-0x0035 0x1ffb
2017-10-29 07:34:18.360 [ DEBUG]:tvhdhomerun: setting pfilter to: 0x0000-0x0001 0x0012 0x0030-0x0031 0x0034-0x0035 0x1ffb 0x0031
2017-10-29 07:34:18.372 [ DEBUG]:tvhdhomerun: current pfilter: 0x0000-0x0001 0x0012 0x0030-0x0031 0x0034-0x0035 0x1ffb
2017-10-29 07:34:18.372 [ DEBUG]:tvhdhomerun: setting pfilter to: 0x0000-0x0001 0x0012 0x0030-0x0031 0x0034-0x0035 0x1ffb 0x0035
2017-10-29 07:34:18.382 [ DEBUG]:tvhdhomerun: current pfilter: 0x0000-0x0001 0x0012 0x0030-0x0031 0x0034-0x0035 0x1ffb
2017-10-29 07:34:18.382 [ DEBUG]:tvhdhomerun: setting pfilter to: 0x0000-0x0001 0x0012 0x0030-0x0031 0x0034-0x0035 0x1ffb 0x0034
2017-10-29 07:34:18.401 [ DEBUG]:tvhdhomerun: current pfilter: 0x0000-0x0001 0x0012 0x0030-0x0031 0x0034-0x0035 0x1ffb
2017-10-29 07:34:18.401 [ DEBUG]:tvhdhomerun: setting pfilter to: 0x0000-0x0001 0x0012 0x0030-0x0031 0x0034-0x0035 0x1ffb 0x1ffb
2017-10-29 07:34:18.402 [ DEBUG]:service: HDHomeRun/623MHz/HALIFAX CBHT-DT: Status changed to [Hardware input]
2017-10-29 07:34:18.402 [ DEBUG]:service: HDHomeRun/623MHz/HALIFAX CBHT-DT: Status changed to [Hardware input] [Input on service]
2017-10-29 07:34:18.402 [ DEBUG]:service: HDHomeRun/623MHz/HALIFAX CBHT-DT: Status changed to [Hardware input] [Input on service] [Demuxed packets]
2017-10-29 07:34:18.402 [ DEBUG]:service: HDHomeRun/623MHz/HALIFAX CBHT-DT: Status changed to [Hardware input] [Input on service] [Demuxed packets] [Reassembled packets]
2017-10-29 07:34:18.402 [ DEBUG]:webui: Start streaming /stream/service/bdec34d0937e7b8c005c259eb7cbcb1f?ticket=80F043CD4A201A9EB49DEA72256787556A108E88
2017-10-29 07:34:18.403 [ DEBUG]:webui: Stop streaming /stream/service/bdec34d0937e7b8c005c259eb7cbcb1f?ticket=80F043CD4A201A9EB49DEA72256787556A108E88, client hung up
2017-10-29 07:34:18.403 [ INFO]:subscription: 00D0: "HTTP" unsubscribing, hostname="192.168.168.224", client="VLC/2.2.4 LibVLC/2.2.4"
2017-10-29 07:34:18.403 [ DEBUG]:mpegts: 623MHz in HDHomeRun - close PID 0030 (48) [16/0x80f07b000]
2017-10-29 07:34:18.403 [ DEBUG]:mpegts: 623MHz in HDHomeRun - close PID 0030 (48) [8/0x80cc0a400]
2017-10-29 07:34:18.403 [ DEBUG]:mpegts: 623MHz in HDHomeRun - close PID 0031 (49) [8/0x80cc0a400]
2017-10-29 07:34:18.403 [ DEBUG]:mpegts: 623MHz in HDHomeRun - close PID 0034 (52) [8/0x80cc0a400]
2017-10-29 07:34:18.403 [ DEBUG]:mpegts: 623MHz in HDHomeRun - close PID 0035 (53) [8/0x80cc0a400]
2017-10-29 07:34:18.403 [ DEBUG]:mpegts: 623MHz in HDHomeRun - stopping mux
2017-10-29 07:34:18.403 [ DEBUG]:tvhdhomerun: HDHomeRun ATSC-T Tuner #0 (192.168.168.227) - stopping 623MHz in HDHomeRun
2017-10-29 07:34:18.403 [ DEBUG]:tvhdhomerun: setting target to none
2017-10-29 07:34:18.418 [ DEBUG]:mpegts: 623MHz in HDHomeRun - close PID 0000 (0) [20/0x80f07d000]
2017-10-29 07:34:18.418 [ DEBUG]:mpegts: 623MHz in HDHomeRun - close PID 0001 (1) [16/0x80f06f000]
2017-10-29 07:34:18.418 [ DEBUG]:mpegts: 623MHz in HDHomeRun - close PID 0012 (18) [20/0x80f065000]
2017-10-29 07:34:18.418 [ DEBUG]:mpegts: 623MHz in HDHomeRun - close PID 1FFB (8187) [20/0x80f059000]
2017-10-29 07:34:18.418 [ DEBUG]:mpegts: 623MHz in HDHomeRun - close PID 1FFB (8187) [20/0x80f071000]
2017-10-29 07:34:18.418 [ DEBUG]:mpegts: 623MHz in HDHomeRun - close PID 1FFB (8187) [20/0x80f073000]
2017-10-29 07:34:18.418 [ DEBUG]:epggrab: grab done for 623MHz in HDHomeRun (stolen)

RE: Trying to get HDHomeRun working - streams profile issue - Added by Ron Von about 7 years ago

Hi again,

Would anyone be able to suggest what my issue might be? The log info above repeats continously when I have pressed the play button, say on VLC player for example. Is there some kind of other debug I could do and upload here that would better help you folks help me?

Thanks again.

RE: Trying to get HDHomeRun working - streams profile issue - Added by Ron Von about 7 years ago

I noticed when trying to play a video stream I see lots of "transport errors" and "continuity errors" on the status page. I am researching that now, but if someone knows the "ah ha" answer to this issue using HDHomeRun I would much appreciate if you can respond.

I have no reason to suspect HDHomeRun is the issue, and here is why:

HDHomeRun streaming to VLC Player = works perfectly fine.
HDHomeRun - intgrated with Plex Media Server (which took like 5 minutes to get working) = works perfectly fine.

Edit, and its not server load. :-)

last pid: 1047; load averages: 0.14, 0.13, 0.09 up 0+01:26:40 18:56:49
26 processes: 1 running, 25 sleeping
CPU 0: 0.0% user, 0.0% nice, 0.0% system, 0.0% interrupt, 100% idle
CPU 1: 0.0% user, 0.0% nice, 0.0% system, 0.0% interrupt, 100% idle
CPU 2: 0.0% user, 0.0% nice, 0.2% system, 0.0% interrupt, 99.8% idle
CPU 3: 0.0% user, 0.0% nice, 0.2% system, 0.0% interrupt, 99.8% idle
CPU 4: 0.0% user, 0.0% nice, 0.0% system, 0.0% interrupt, 100% idle
CPU 5: 0.0% user, 0.0% nice, 0.0% system, 0.0% interrupt, 100% idle
CPU 6: 0.0% user, 0.0% nice, 0.0% system, 0.0% interrupt, 100% idle
CPU 7: 0.0% user, 0.0% nice, 0.0% system, 0.0% interrupt, 100% idle
Mem: 16M Active, 50M Inact, 162M Wired, 756K Cache, 110M Buf, 7705M Free
Swap: 4096M Total, 4096M Free

Thanks again,

RE: Trying to get HDHomeRun working - streams profile issue - Added by Ron Von about 7 years ago

Well I am still trying to get this to work, but no joy. I'm about ready to give up. For reasons not relateed to this I tried another media streaming server system know as Emby. After booting it up, I added and had live tv streaming, in just 2 minutes, with my HDHomeRun Extend (Canadian version).

Is it possible there is a bug or something that causes TVHeadEnd to not like TS streams from HDHomeRun?

RE: Trying to get HDHomeRun working - streams profile issue - Added by Mark Clarkstone about 7 years ago

Firstly, what version of Tvh are you using?

RE: Trying to get HDHomeRun working - streams profile issue - Added by Ron Von about 7 years ago

Sorry, gee I really thought I had posted that. Build: 4.2.3 (2017-10-28T21:42:32+0000)

RE: Trying to get HDHomeRun working - streams profile issue - Added by Mark Clarkstone about 7 years ago

Ron Von wrote:

Sorry, gee I really thought I had posted that. Build: 4.2.3 (2017-10-28T21:42:32+0000)

I think there's a problem with HDHRs that do transcoding - You could try the work around posted here - https://tvheadend.org/boards/4/topics/21697?r=21728#message-21728

RE: Trying to get HDHomeRun working - streams profile issue - Added by Jerry Fath about 7 years ago

FWIW, I am running Tvheadend 4.2.4-5~g39dac90 on Lubuntu 16.04 using an HDHomeRun Extend. That's a transcoding, two channel, ATSC device. No problems here.

RE: Trying to get HDHomeRun working - streams profile issue - Added by Ron Von about 7 years ago

Thanks I will look at that and report back. I have transcoding turned off in the HDHomeRun, I tried the transcoding options too but that made no difference.

RE: Trying to get HDHomeRun working - streams profile issue - Added by Ron Von about 7 years ago

Jerry Fath wrote:

FWIW, I am running Tvheadend 4.2.4-5~g39dac90 on Lubuntu 16.04 using an HDHomeRun Extend. That's a transcoding, two channel, ATSC device. No problems here.

And you set that up using DVB input or did you use IPTV? I'm reading the other discussion thread and it sounds like those guys were having trouble getting the mux part to pass and show up as a service. I don't have that issue, I got it all done, just get continuity errors. I'm must re-reading the M3U playlist part now to make sure I understand that.

RE: Trying to get HDHomeRun working - streams profile issue - Added by Jerry Fath about 7 years ago

Ron Von wrote:

And you set that up using DVB input or did you use IPTV?

No IPTV involved for my HDHomeRun (US version). Network type is ATSC-T. I'm streaming to Kodi using the PVR add-on, not to the built-in app and I can't test the built-in app at the moment because we have severe weather and my antenna is disconnected. I'll try later today.

RE: Trying to get HDHomeRun working - streams profile issue - Added by Jerry Fath about 7 years ago

With my HDHomeRun Extend US version, video plays in the built-in app, but I do get a continuous stream of 'Detected framedrop in audio' and occasional (every 10 seconds or so) continuity errors:
2017-11-06 13:18:48.386 TS: ATSC-T Network/695.028MHz/MOVIES!: AC3 @ #100 Continuity counter error (total 6320)

RE: Trying to get HDHomeRun working - streams profile issue - Added by Ron Von almost 7 years ago

Jerry Fath wrote:

With my HDHomeRun Extend US version, video plays in the built-in app, but I do get a continuous stream of 'Detected framedrop in audio' and occasional (every 10 seconds or so) continuity errors:
2017-11-06 13:18:48.386 TS: ATSC-T Network/695.028MHz/MOVIES!: AC3 @ #100 Continuity counter error (total 6320)

I'll put the IPTV configuration on hold then. Any chance you could post some screen shots of your configuration pages? I'm really suspicious that the streaming side of the configuration is where the bugger is. I keep seeing this over and over in the logs:

2017-11-07 17:41:09.666 webui: Stop streaming /stream/channel/14e04abb1c05687b82f827479cd0d343?ticket=90027BC5830301A9221D2F6CD001D45505680DFD, client hung up

I am using VLC Player. If I wanted to have the media player send the request to TVHeadEnd what would I put in the "open network stream" field? What should my stream profiles look like? Etc, etc.

RE: Trying to get HDHomeRun working - streams profile issue - Added by Jerry Fath almost 7 years ago

I haven't used vlc as a Tvheadend client, but here's a thread:
[[https://tvheadend.org/boards/5/topics/3997?r=6040]]

I did a few blog posts that have screen shots of my configs. Check part 3 on HDHomeRun [[http://jafath.blogspot.com/]]

RE: Trying to get HDHomeRun working - streams profile issue - Added by Ron Von almost 7 years ago

OKay I will try that. In the meantime can you suggest other Lunix Ubuntu players?

Edit- hmmm my screenshots look like yours, and a really nice blog site btw. More and more I am thinking its the streaming part is what's broken.

RE: Trying to get HDHomeRun working - streams profile issue - Added by Jerry Fath almost 7 years ago

Thanks.

I use Kodi with the Tvheadend PVR add-on

RE: Trying to get HDHomeRun working - streams profile issue - Added by Ron Von almost 7 years ago

Sorry Gerry, I can't find a Tvheadend PVR add-on for Kodi. Did lots of searching but no joy. The Kodi wiki pages lead me to think that the add-on is actually installing TVheadend. So do you have Kodi and TVheadend installed on the same machine or does Kodi pull video from TVheadend over the network? I can't install Kodi on the same machine as TVheadend.

Let me ask this question? If I wanted to pull video from TVheadend using some sort of URL what would that look like? And what format would the stream be? Can TVheadend deliver different stream formats simply by specifying a different URL?

But before I even think about that I guess I have to ask this question? Why does the built-in video player also fail in trying to pull video? My HDhomerun firmware is up to date (currently at Version 20170930), and no other streaming/recording server system (Emby and Plex to name two) have an issue with it? From referencing your blog site, it would look like my set up is all completed and correct. I have muxes that scan okay, mapped services/channels with all sort of info that 'compare' to with what you have, and SNR & signal strength are both green. Should the signal indicators be green all the time? My are only green during scanning and then they go 'empty'. When I try to play a stream they go green again, until I press stop on the video client.

I've spent hours reading and trying and to be honest I really have no idea where I should be investing next. Is there a key critical setting that I could have missed? Could it be the Canadian version of HDHomeRun Extend has a slight but critical difference that TVHeadend does not like?

Stumped to say the least. I'll pick at this for a few more hours over the next week or so, but at so point in time soon it will have to be success or I give up and simply use Emby. The reason I am interested in TVHeadEnd so much is its ability to use multiple different signal sources simultaneously.

RE: Trying to get HDHomeRun working - streams profile issue - Added by Jerry Fath almost 7 years ago

What OS are is your Kodi machine running? In Debian/Ubuntu you actually have to apt install the Tvheadend PVR add-on. In Android, the add-on is pre-installed, available under my-addons. I have Kodi installed on several machines around my network, but not on the same machine as Tvheadend.

Are you saying if you go to the Electronic Program Guide tab and click on the little 'tv' icon on the left of one of your channels, the video does not play? Do you see errors in the Tvheadend log pane at the bottom of the window (open by clicking the two little up arrows)?

Pulling video from Tvheadend with a URL would require setting up Tvheadend as a Sat->IPTV server I think. I've not done that, so you're beyond my knowledge there.

RE: Trying to get HDHomeRun working - streams profile issue - Added by Ron Von almost 7 years ago

Jerry Fath wrote:

Are you saying if you go to the Electronic Program Guide tab and click on the little 'tv' icon on the left of one of your channels, the video does not play? Do you see errors in the Tvheadend log pane at the bottom of the window (open by clicking the two little up arrows)?

Correct. The little built in TV viewer in the EPG page does not work. When I select one of my channels and click the play button I get "Loading" and after say 5 to 10 seconds I get "An unknown error occured".

Log show this, and also see the EDIT at the bottom:

2017-11-08 19:50:14.145 mpegts: 623MHz in HDHomeRun - tuning on HDHomeRun ATSC-T Tuner #0 (192.168.168.227)

2017-11-08 19:50:14.145 tvhdhomerun: tuning to auto:623000000

2017-11-08 19:50:14.241 subscription: 0068: "HTTP" subscribing on channel "HALIFAX CBHT-DT", weight: 100, adapter: "HDHomeRun ATSC-T Tuner #0 (192.168.168.227)", network: "HDHomeRun", mux: "623MHz", service: "HALIFAX CBHT-DT", profile="mpeg-ts", hostname="192.168.168.229", username="tvman", client="Mozilla/5.0 (X11; Ubuntu; Linux x86_64; rv:56.0) Gecko/20100101 Firefox/56.0"

2017-11-08 19:50:14.622 subscription: 0068: "HTTP" unsubscribing from "HALIFAX CBHT-DT", hostname="192.168.168.229", username="tvman", client="Mozilla/5.0 (X11; Ubuntu; Linux x86_64; rv:56.0) Gecko/20100101 Firefox/56.0"

2017-11-08 19:50:15.123 mpegts: 623MHz in HDHomeRun - tuning on HDHomeRun ATSC-T Tuner #0 (192.168.168.227)

2017-11-08 19:50:15.123 tvhdhomerun: tuning to auto:623000000

2017-11-08 19:50:15.223 subscription: 0069: "HTTP" subscribing on channel "HALIFAX CBHT-DT", weight: 100, adapter: "HDHomeRun ATSC-T Tuner #0 (192.168.168.227)", network: "HDHomeRun", mux: "623MHz", service: "HALIFAX CBHT-DT", profile="mpeg-ts", hostname="192.168.168.229", username="tvman", client="Mozilla/5.0 (X11; Ubuntu; Linux x86_64; rv:56.0) Gecko/20100101 Firefox/56.0"

2017-11-08 19:50:15.361 TS: HDHomeRun/623MHz/HALIFAX CBHT-DT Transport error indicator (total 1)

2017-11-08 19:50:15.361 TS: HDHomeRun/623MHz/HALIFAX CBHT-DT: MPEG2VIDEO @ #49: Invalid start code 4d:ad:90

2017-11-08 19:50:15.681 subscription: 0069: "HTTP" unsubscribing from "HALIFAX CBHT-DT", hostname="192.168.168.229", username="tvman", client="Mozilla/5.0 (X11; Ubuntu; Linux x86_64; rv:56.0) Gecko/20100101 Firefox/56.0"

2017-11-08 19:50:16.246 mpegts: 623MHz in HDHomeRun - tuning on HDHomeRun ATSC-T Tuner #0 (192.168.168.227)

2017-11-08 19:50:16.246 tvhdhomerun: tuning to auto:623000000

2017-11-08 19:50:16.351 subscription: 006A: "HTTP" subscribing on channel "HALIFAX CBHT-DT", weight: 100, adapter: "HDHomeRun ATSC-T Tuner #0 (192.168.168.227)", network: "HDHomeRun", mux: "623MHz", service: "HALIFAX CBHT-DT", profile="mpeg-ts", hostname="192.168.168.229", username="tvman", client="Mozilla/5.0 (X11; Ubuntu; Linux x86_64; rv:56.0) Gecko/20100101 Firefox/56.0"

2017-11-08 19:50:16.728 subscription: 006A: "HTTP" unsubscribing from "HALIFAX CBHT-DT", hostname="192.168.168.229", username="tvman", client="Mozilla/5.0 (X11; Ubuntu; Linux x86_64; rv:56.0) Gecko/20100101 Firefox/56.0"

2017-11-08 19:50:16.743 mpegts: 623MHz in HDHomeRun - tuning on HDHomeRun ATSC-T Tuner #0 (192.168.168.227)

2017-11-08 19:50:16.743 tvhdhomerun: tuning to auto:623000000

2017-11-08 19:50:16.851 subscription: 006B: "HTTP" subscribing on channel "HALIFAX CBHT-DT", weight: 100, adapter: "HDHomeRun ATSC-T Tuner #0 (192.168.168.227)", network: "HDHomeRun", mux: "623MHz", service: "HALIFAX CBHT-DT", profile="mpeg-ts", hostname="192.168.168.229", username="tvman", client="Mozilla/5.0 (X11; Ubuntu; Linux x86_64; rv:56.0) Gecko/20100101 Firefox/56.0"

2017-11-08 19:50:17.213 subscription: 006B: "HTTP" unsubscribing from "HALIFAX CBHT-DT", hostname="192.168.168.229", username="tvman", client="Mozilla/5.0 (X11; Ubuntu; Linux x86_64; rv:56.0) Gecko/20100101 Firefox/56.0"

2017-11-08 19:50:17.226 mpegts: 623MHz in HDHomeRun - tuning on HDHomeRun ATSC-T Tuner #0 (192.168.168.227)

2017-11-08 19:50:17.226 tvhdhomerun: tuning to auto:623000000

2017-11-08 19:50:17.331 subscription: 006C: "HTTP" subscribing on channel "HALIFAX CBHT-DT", weight: 100, adapter: "HDHomeRun ATSC-T Tuner #0 (192.168.168.227)", network: "HDHomeRun", mux: "623MHz", service: "HALIFAX CBHT-DT", profile="mpeg-ts", hostname="192.168.168.229", username="tvman", client="Mozilla/5.0 (X11; Ubuntu; Linux x86_64; rv:56.0) Gecko/20100101 Firefox/56.0"

2017-11-08 19:50:17.862 subscription: 006C: "HTTP" unsubscribing from "HALIFAX CBHT-DT", hostname="192.168.168.229", username="tvman", client="Mozilla/5.0 (X11; Ubuntu; Linux x86_64; rv:56.0) Gecko/20100101 Firefox/56.0"

2017-11-08 19:50:17.873 mpegts: 623MHz in HDHomeRun - tuning on HDHomeRun ATSC-T Tuner #0 (192.168.168.227)

2017-11-08 19:50:17.873 tvhdhomerun: tuning to auto:623000000

2017-11-08 19:50:17.981 subscription: 006D: "HTTP" subscribing on channel "HALIFAX CBHT-DT", weight: 100, adapter: "HDHomeRun ATSC-T Tuner #0 (192.168.168.227)", network: "HDHomeRun", mux: "623MHz", service: "HALIFAX CBHT-DT", profile="mpeg-ts", hostname="192.168.168.229", username="tvman", client="Mozilla/5.0 (X11; Ubuntu; Linux x86_64; rv:56.0) Gecko/20100101 Firefox/56.0"

2017-11-08 19:50:18.356 subscription: 006D: "HTTP" unsubscribing from "HALIFAX CBHT-DT", hostname="192.168.168.229", username="tvman", client="Mozilla/5.0 (X11; Ubuntu; Linux x86_64; rv:56.0) Gecko/20100101 Firefox/56.0"

2017-11-08 19:50:18.383 mpegts: 623MHz in HDHomeRun - tuning on HDHomeRun ATSC-T Tuner #0 (192.168.168.227)

2017-11-08 19:50:18.383 tvhdhomerun: tuning to auto:623000000

2017-11-08 19:50:18.481 subscription: 006E: "HTTP" subscribing on channel "HALIFAX CBHT-DT", weight: 100, adapter: "HDHomeRun ATSC-T Tuner #0 (192.168.168.227)", network: "HDHomeRun", mux: "623MHz", service: "HALIFAX CBHT-DT", profile="mpeg-ts", hostname="192.168.168.229", username="tvman", client="Mozilla/5.0 (X11; Ubuntu; Linux x86_64; rv:56.0) Gecko/20100101 Firefox/56.0"

2017-11-08 19:50:19.012 subscription: 006E: "HTTP" unsubscribing from "HALIFAX CBHT-DT", hostname="192.168.168.229", username="tvman", client="Mozilla/5.0 (X11; Ubuntu; Linux x86_64; rv:56.0) Gecko/20100101 Firefox/56.0"

2017-11-08 19:50:19.023 mpegts: 623MHz in HDHomeRun - tuning on HDHomeRun ATSC-T Tuner #0 (192.168.168.227)

2017-11-08 19:50:19.023 tvhdhomerun: tuning to auto:623000000

2017-11-08 19:50:19.131 subscription: 006F: "HTTP" subscribing on channel "HALIFAX CBHT-DT", weight: 100, adapter: "HDHomeRun ATSC-T Tuner #0 (192.168.168.227)", network: "HDHomeRun", mux: "623MHz", service: "HALIFAX CBHT-DT", profile="mpeg-ts", hostname="192.168.168.229", username="tvman", client="Mozilla/5.0 (X11; Ubuntu; Linux x86_64; rv:56.0) Gecko/20100101 Firefox/56.0"

2017-11-08 19:50:19.714 subscription: 006F: "HTTP" unsubscribing from "HALIFAX CBHT-DT", hostname="192.168.168.229", username="tvman", client="Mozilla/5.0 (X11; Ubuntu; Linux x86_64; rv:56.0) Gecko/20100101 Firefox/56.0"

2017-11-08 19:50:19.723 mpegts: 623MHz in HDHomeRun - tuning on HDHomeRun ATSC-T Tuner #0 (192.168.168.227)

2017-11-08 19:50:19.723 tvhdhomerun: tuning to auto:623000000

2017-11-08 19:50:19.831 subscription: 0070: "HTTP" subscribing on channel "HALIFAX CBHT-DT", weight: 100, adapter: "HDHomeRun ATSC-T Tuner #0 (192.168.168.227)", network: "HDHomeRun", mux: "623MHz", service: "HALIFAX CBHT-DT", profile="mpeg-ts", hostname="192.168.168.229", username="tvman", client="Mozilla/5.0 (X11; Ubuntu; Linux x86_64; rv:56.0) Gecko/20100101 Firefox/56.0"

2017-11-08 19:50:20.186 subscription: 0070: "HTTP" unsubscribing from "HALIFAX CBHT-DT", hostname="192.168.168.229", username="tvman", client="Mozilla/5.0 (X11; Ubuntu; Linux x86_64; rv:56.0) Gecko/20100101 Firefox/56.0"

2017-11-08 19:50:20.193 mpegts: 623MHz in HDHomeRun - tuning on HDHomeRun ATSC-T Tuner #0 (192.168.168.227)

2017-11-08 19:50:20.193 tvhdhomerun: tuning to auto:623000000

2017-11-08 19:50:20.291 subscription: 0071: "HTTP" subscribing on channel "HALIFAX CBHT-DT", weight: 100, adapter: "HDHomeRun ATSC-T Tuner #0 (192.168.168.227)", network: "HDHomeRun", mux: "623MHz", service: "HALIFAX CBHT-DT", profile="mpeg-ts", hostname="192.168.168.229", username="tvman", client="Mozilla/5.0 (X11; Ubuntu; Linux x86_64; rv:56.0) Gecko/20100101 Firefox/56.0"

2017-11-08 19:50:20.747 subscription: 0071: "HTTP" unsubscribing from "HALIFAX CBHT-DT", hostname="192.168.168.229", username="tvman", client="Mozilla/5.0 (X11; Ubuntu; Linux x86_64; rv:56.0) Gecko/20100101 Firefox/56.0"

EDIT, if I do a tail -f /var/log/tvheadend/tvhead.log I see the above stuff, plus this line repeating over and over:

2017-11-08 20:38:52.106 [ DEBUG]:webui: Stop streaming /stream/channel/951100aede6b59d16885e95f075309c7?profile=mpeg-ts, client hung up

RE: Trying to get HDHomeRun working - streams profile issue - Added by Anonymous almost 7 years ago

Using HDHomerun Connect device. Everything runs super good. Gave up launching stream on browser, as there can be a lot of settings set wrong (wrong format, port, browser settings). Playing it on OpenElec via Kodi. using TVheadend plugin.

RE: Trying to get HDHomeRun working - streams profile issue - Added by Jerry Fath almost 7 years ago

Just for reference, Here's my log when tuning to a channel, watching a couple of seconds, then stopping using the internal viewer.

2017-11-09 02:22:17.138 xmltv: xmltv: broadcasts tot=68145 new=10723 mod=10772
2017-11-09 06:07:28.142 mpegts: 545.028MHz in ATSC-T Network - tuning on HDHomeRun ATSC-T Tuner #0 (192.168.222.88)
2017-11-09 06:07:28.142 tvhdhomerun: tuning to auto:545028615
2017-11-09 06:07:28.262 subscription: 0008: "HTTP" subscribing on channel "WLKY-HD", weight: 100, adapter: "HDHomeRun ATSC-T Tuner #0 (192.168.222.88)", network: "ATSC-T Network", mux: "545.028MHz", service: "WLKY-HD", profile="webtv-vp8-vorbis-webm", hostname="127.0.0.1", username="jfath", client="Mozilla/5.0 (X11; Ubuntu; Linux x86_64; rv:56.0) Gecko/20100101 Firefox/56.0"
2017-11-09 06:07:28.612 transcode: 0002: 1:H264 1280x540 > VP8 910x384 (libvpx)
2017-11-09 06:07:28.612 transcode: 0002: 2:AC3 > VORBIS (libvorbis)
2017-11-09 06:07:29.279 TS: ATSC-T Network/545.028MHz/WLKY-HD: AC3 #52 Continuity counter error (total 1)
2017-11-09 06:07:29.280 TS: ATSC-T Network/545.028MHz/WLKY-HD: H264
#49 Continuity counter error (total 1)
2017-11-09 06:07:29.331 tsfix: The timediff for AC3 is big (810296), using current dts
2017-11-09 06:07:29.378 libav: v1.6.1
2017-11-09 06:07:29.384 tsfix: transport stream AC3, DTS discontinuity. DTS = 940320, last = 8640
2017-11-09 06:07:29.384 transcode: 0002: Detected framedrop in audio
2017-11-09 06:07:49.676 subscription: 0008: "HTTP" unsubscribing from "WLKY-HD", hostname="127.0.0.1", username="jfath", client="Mozilla/5.0 (X11; Ubuntu; Linux x86_64; rv:56.0) Gecko/20100101 Firefox/56.0"
2017-11-09 06:07:49.683 libav: 41 frames left in the queue on closing

This is with an HDHomeRun Extend US version which is set to mobile transcode profile, so the video comes in as h.264.

It looks like Tvheadend is tuning a reasonable frequency for your channel 39, but then doesn't get the data stream expected. Which pre-defined muxes did you choose when setting up your network? Can you set your Extend for mobile transcode profile just to see if it makes a difference?

RE: Trying to get HDHomeRun working - streams profile issue - Added by Ron Von almost 7 years ago

Jerry Fath wrote:

This is with an HDHomeRun Extend US version which is set to mobile transcode profile, so the video comes in as h.264.

It looks like Tvheadend is tuning a reasonable frequency for your channel 39, but then doesn't get the data stream expected. Which pre-defined muxes did you choose when setting up your network? Can you set your Extend for mobile transcode profile just to see if it makes a difference?

I tried creating my own muxs and using the predefined ones. Both scan up successfully. I also tried changing the HDHomeRun transcoding profile to the various profiles and rescanned the muxs each and every time. Every time the log shows "mpegts", and every time I use the built in "Watch TV" viewer I get the same result "Unknown error occurred", and I often see this in the logs:

017-11-09 19:00:00.271 TS: HDHomeRun_2/623.028MHz/{PMT:48} Transport error indicator (total 1)
2017-11-09 19:00:00.271 TS: HDHomeRun_2/623.028MHz/{PMT:48}: MPEG2VIDEO @ #49: Invalid start code 15:d5:c9

I give up on TVHeadend (for now). This reminds me of trying to add a new device (say modem) into an old Windows operating system like 3.11 or NT and having to scour usenet groups trying to find the answer. There had got to be a bug in the TVHeadend code that somehow I am triggering. I got HDHomeRun working on Emby media server in 2 minutes so I'm good to go. If someone has a "ah haaa" moment feel free to post and I will check in from time to time.

Thanks for all your help everyone, especially you Jerry, you really tried. Hope to chat with you again someday. Maybe when/if I try some sort of SAT>IP system if I can find one for Canada.

RE: Trying to get HDHomeRun working - streams profile issue - Added by Mark Clarkstone almost 7 years ago

Ron Von wrote:

Jerry Fath wrote:

This is with an HDHomeRun Extend US version which is set to mobile transcode profile, so the video comes in as h.264.

It looks like Tvheadend is tuning a reasonable frequency for your channel 39, but then doesn't get the data stream expected. Which pre-defined muxes did you choose when setting up your network? Can you set your Extend for mobile transcode profile just to see if it makes a difference?

I tried creating my own muxs and using the predefined ones. Both scan up successfully. I also tried changing the HDHomeRun transcoding profile to the various profiles and rescanned the muxs each and every time. Every time the log shows "mpegts", and every time I use the built in "Watch TV" viewer I get the same result "Unknown error occurred", and I often see this in the logs:

017-11-09 19:00:00.271 TS: HDHomeRun_2/623.028MHz/{PMT:48} Transport error indicator (total 1)
2017-11-09 19:00:00.271 TS: HDHomeRun_2/623.028MHz/{PMT:48}: MPEG2VIDEO @ #49: Invalid start code 15:d5:c9

I give up on TVHeadend (for now). This reminds me of trying to add a new device (say modem) into an old Windows operating system like 3.11 or NT and having to scour usenet groups trying to find the answer. There had got to be a bug in the TVHeadend code that somehow I am triggering. I got HDHomeRun working on Emby media server in 2 minutes so I'm good to go. If someone has a "ah haaa" moment feel free to post and I will check in from time to time.

Thanks for all your help everyone, especially you Jerry, you really tried. Hope to chat with you again someday. Maybe when/if I try some sort of SAT>IP system if I can find one for Canada.

The only time I've seen "Invalid start code" is from corruption usually due to an encrypted steam.

Could you provide a mux (or a stream) sample?

For a mux go to the muxes tab, copy a play link and do something like.

wget -O tvh.ts http://ip:port/play/stream/765324yuig6879gytyuf76d56

Do that for about 30 seconds and attach it to a new issue on here (link to this thread).

    (1-23/23)