Winterhill TS stream
Winterhill TS stream
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
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
Re: Winterhill TS stream
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.
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.
Re: Winterhill TS stream
Thanks, will give that a try.
Brian
Brian
Re: Winterhill TS stream
I'm going to see if I can modify my multihub to do the same, right now.
Re: Winterhill TS stream
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.
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.
Re: Winterhill TS stream
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.
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.
Re: Winterhill TS stream
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
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
Re: Winterhill TS stream
Yes please. Sounds useful.
Brian
Brian
Re: Winterhill TS stream
Here are the files I am now using.
# 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.
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.
Re: Winterhill TS stream
Thanks Jason. I'll give it a try.
Brian
Brian