ADBTuner: A "channel tuning" application for networked Google TV / Android TV devices

Yeah, it's super weird. It was stuttering and buffering until I really raised the GOP to max and set my bitrate really high to 14mbps per second CBR. It really defies conventional wisdom. I have a feeling my encoder for some reason was putting out weird and inconsistent timing and throwing the shield off. I was reading that with TS streams, the frame timing is very important. The last couple of days I've been experimenting with dropping the compression, but then last night I had the light bulb to reduce the compression and spit out a higher bitrate and higher GOP.

The very first encoder I ever bought was the non-4K version from URayCoder. I have to say, I never liked that unit, and had numerous issues with it (including audio sync problems). I got the latest firmware for it from URayCoder, and that fixed a few things -- but not everything. The 4K URayCoders, and especially the LinkPi have been much better for me.

I might just buy a couple of the LinkPi encoders. Do you have a model that you recommend that's not super expensive? I have a feeling that my encoders are just garbage.

This one will give one port standard, and a second port when an HDMI capture card is attached to one of the USB ports:

https://www.amazon.com/WayPonDEV-ENC1-V3-NDI-HDMI-Encoder/dp/B0CDLHX36Z

This one will give you five ports standard, and a sixth port with a capture card like above:

https://www.amazon.com/WayPonDEV-ENC5-V2-NDI-HDMI-Encoder/dp/B0CGM1Y56H

Capture card:

https://www.amazon.com/dp/B0C2MDTY8P

1 Like

Thanks, I just ordered the first one and the HDMI capture card since I only have two tuners!
Hopefully that solves everything for me. I probably just bought junk encoders!

Out of curiosity, what are you using to playback the video over the Tailscale VPN? The Channels app? When running over Tailscale, does Channels work as it would on a local network? I don’t know how Channels handles this, but I’d be concerned that you were trying to use a transport stream over the Internet.

I was actually just playing locally on my Nvidia shield in my house. My Unraid server is on my tailnet and so is channels which probably caused that routing.

Ok. Just something that should be considered. I wouldn’t want you to get hung up on optimizing encoder settings if you might have something more significant going on.

Have you tried streaming directly from your encoder to your Nvidia Shield? You can use VLC for this. And if that is ok, do the same thing, but stream directly from ADBTuner using VLC?

Actually, I just realized I had a substream enabled on each of my encoders!
The CPU usage on both of just dropped quite a bit. I think actually let that go for a little bit with the substreams off to see if perhaps that was my issue the entire time.

I will say the LinkPi encoders traditionally have some sort of Black Friday sale on Amazon. That's coming up in a little over a week.

I'm looking to setup one of th eprojects here and need an encoder. thanks for the tip.

I'm glad I didn't buy another encoder.
I bought an Apple TV instead and of course it's working perfectly now with my current encoders. I did some research and it seems like Exoplayer struggles with 1080p60 content, dropping frames etc. It was actually fine in VLC and fine when I dropped to 30 FPS. I personally despise Apple, so I really had to suck it up for this one, but it actually is a really great device for this. It also makes sense why VLC worked because I think it's using a different rendering pipeline.

And here I thought the "Mac" in your username was an Apple reference :slight_smile:

No, it was an Apple reference when I was a kid. I'm 32 now. It just kind of stuck for years.
I'm actually side by side testing the Google TV streamer again and so far no output frames dropped. I'm thinking the Shield is just really old. I just can't reconcile Apple TV, so if I can get the Google TV streamer working, that's going to be my endgame here. The point is, it's not the encoder!!

Edit: GTV Streamer is good too. I guess there is a bug with the Shield since it's two of them.

LOL...I am 56 and bought my first Apple Product because of CDVR and trying to make Spectrum tuning work.
Still not a fan of the locked down nature of Apple but I will say they work great for my Spectrum tuning w/ deeplink support on ATV.
I do have to run a special build of ah4c with pytv added...Then train ah4c one time to give it a "code" for each ATV tuner. I can then run simple commands to each ATV and never have to worry about adb-debug not working.

Here is the actual launch command for watching a channel.

/usr/local/bin/atvremote --storage-filename /root/.android/.pyatv.conf -s $streamerIP launch_app=spectrumTV://watch.spectrum.net/livetv/$channelID
2 Likes

In my case, the Google TV Streamer is doing everything I want with no buffering., so I went and returned the Apple TV. There's no need for it. It just works better in my environment. With Projectivity Launcher on it, it looks basically the same as my Shield anyway. Hopefully down the line Nvidia releases a new model but my hope is fleeting for that.

For what it's worth, my Shield TV Pro, model 2897 (2019) is working fine for CDVR recording playback, original quality, direct delivery mode. I should note that I did a system reset several months ago.

Recordings work in direct mode, but not in stream. Then live TV buffers in direct but not stream.

Anyone been able to track down the GraceNote ID for the newly launched NBC Sports Network? I believe it's only on Youtube TV currently so my normal use of the zap2it website won't work.

Hi there,
Gracenote ID: 194412

thankws