Winterhill TS stream

The place for discussion about the 4-channel WinterHill DATV Receiver
Post Reply
User avatar
g6hfs
Posts: 319
Joined: Thu May 26, 2022 3:13 pm

Winterhill TS stream

Post by g6hfs » Sun Jan 08, 2023 11:36 am

Hi,

Question, after using winterhill and longmynd on laptop or pc and the client software, and you go back to the winterhill after closing the laptop or pc, how do you change TS diverted to another location on winterhill TS or is it a log off and restart winterhill.

Cheers

Briam (G6HFS)

PS. great software

g7ocd
Posts: 29
Joined: Sat Jul 12, 2014 7:36 am

Re: Winterhill TS stream

Post by g7ocd » Sun Jan 08, 2023 3:11 pm

One way of doing this is to use a modified Multihub mode.

By default however, Multihub doesn't start VLCs locally on the Winterhill Pi.

This way the Winterhill local VLCs will continue to display even when displaying on the PC.
When you exit the PC the Winterhill Pi VLCs just carry on.


There is another way. If the WH TS sender got an ICMP destination unreachable when
a remote client stopped listening then it could divert the stream back to a local port.
By default, however, Windows networking has something called "stealth mode" which
stops the ICMP responses being sent and this would need to be disabled.
Last edited by g7ocd on Sun Jan 08, 2023 3:18 pm, edited 1 time in total.

User avatar
g6hfs
Posts: 319
Joined: Thu May 26, 2022 3:13 pm

Re: Winterhill TS stream

Post by g6hfs » Sun Jan 08, 2023 3:18 pm

Thanks, will give that a try.

Brian

g7ocd
Posts: 29
Joined: Sat Jul 12, 2014 7:36 am

Re: Winterhill TS stream

Post by g7ocd » Sun Jan 08, 2023 3:19 pm

I'm going to see if I can modify my multihub to do the same, right now.

g7ocd
Posts: 29
Joined: Sat Jul 12, 2014 7:36 am

Re: Winterhill TS stream

Post by g7ocd » Sun Jan 08, 2023 3:41 pm

OK, I took the Local launcher script and just changed the IP address from 127.0.0.1 to 230.0.0.230.

I changed the 0 in the whpcviewer .bat file to 230.0.0.230 and started that and I am receiving on
both the Winterhill HDMI and the PC at the same time.

However, the software decode of the beacon (VLC 1 on the Pi) is really struggling to keep up and
top reports a really high CPU load. I think the Pi is running out of steam doing local and sending it
to the network.

g7ocd
Posts: 29
Joined: Sat Jul 12, 2014 7:36 am

Re: Winterhill TS stream

Post by g7ocd » Sun Jan 08, 2023 3:46 pm

If I kill of windows 2,3 & 4 then the software decoder runs fine. I think I'm
going to change this to send all 4 streams to the network but only display
stream 1 on the Pi.. and do that fullscreen. TBH, the Pi doesn't really
decode streams 2,3 and 4 reliable using the HW decoder anyway.

g7ocd
Posts: 29
Joined: Sat Jul 12, 2014 7:36 am

Re: Winterhill TS stream

Post by g7ocd » Mon Jan 23, 2023 9:30 pm

After a bit of experimenting with SW decode on the Pi AND multicasting to the network I decided it wasn't great and also I had some embedded stuff on my network which wasn't liking the multicast.

Change of tack.

I took a copy of the Anywhere startup script and modified it to only start one VLC in software mode.
Once a tune is issued by another machine on the network the local VLC obviously stops working.
So I then added a netfilter rule to duplicate traffic leaving the Pi on UDP 9941, rewite the clone
packet to point back to the VLC running on the Pi.

This way I can unicast to any machine on the network which issues a tune but I can always
monitor the first tuner on the Pi itself, regardless of where WH is sending it.

I'm happy with this. If anyone wants the netfilter rule, let me know.

Jason

G4EWJ
Posts: 1456
Joined: Wed Feb 17, 2010 10:11 am

Re: Winterhill TS stream

Post by G4EWJ » Tue Jan 24, 2023 1:41 pm

Yes please. Sounds useful.

Brian

g7ocd
Posts: 29
Joined: Sat Jul 12, 2014 7:36 am

Re: Winterhill TS stream

Post by g7ocd » Sun Feb 12, 2023 3:44 pm

Here are the files I am now using.
WH anylocal.zip
(2.02 KiB) Downloaded 276 times
You need to install the nftable tools if not already installed:
# apt install nftables
Edit the .nft file to use YOUR Pi's own Ethernet IP address (not 192.168.100.38)
then use the table (as root):
# nft -f winterhill.nft
Then you can start up WH with the anylocal script.

This will start one window on the Pi. When a remote such as quicktune/whpcviewer
requests video, this Pi will still display a local copy so you'll see it remotely and on
the Pi.

For a permanent installation you'll want to put the nftables rules
in /etc/nftables.conf and change the WH startup file to use anylocal.

G4EWJ
Posts: 1456
Joined: Wed Feb 17, 2010 10:11 am

Re: Winterhill TS stream

Post by G4EWJ » Sun Feb 12, 2023 5:53 pm

Thanks Jason. I'll give it a try.

Brian

Post Reply

Return to “The WinterHill DATV Receiver”