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

Yeah this has been fun to explain to people haha. We also get surveys that we can't interact with. I haven't found any way to turn this off.

ADBTuner doesn't support HLS. MPEG-TS should be preferred on a local network anyway as it has lower latency.

As for the settings, It's helpful on all of these devices to disable the stream formats you aren't using. For example, disable HLS, RTMP, RTSP, Multicast, and and any alternate resolution versions. This will lower CPU usage and improve performance.

6,000 mbps h264 @ 60fps seems reasonable.

2 Likes

For sports with the Uray encoder 6mb is way too low, I found 10-12 to be about right. At 60fps of course.

Hi there,
Thank for the great input.
I will check those other settings.
I notice if I launch ADB tuner stream in my bedroom, it will load without a problem.
When I launch from my living room, it drops packets and channels is trying to remux things. getting
[HLS] ffmpeg: ch11831-dANY-ip192.168.254.23-remux: [mpegts @ 0x8efd4c0] Packet corrupt (stream = 0, dts = 3160015340), dropping it.
Seems to keep happening.

Has anyone been able to reliably use an Onn TV 4K with a OTG Ethernet adapter for ADBTuner?

Although WiFi has been working really well for me, I tried this yesterday and could not seem to get it to work - I know that you have to change the USB function from "charging" to "ethernet" - I got wired ethernet working but could not get ADBTuner to create the authorization prompt on the Onn for debugging - the Onn also seems to revert to the USB "charging" mode if it gets reset

1 Like

I’ve had zero luck getting the Onn to work with ethernet once I enable developer options. I can get it working with Ethernet after a factory restore, but once I enable developer options, it no longer sees an ethernet cable plugged in. I’ve played with a few of the settings in developer options with no luck. The same Ethernet adapter works with my Fire Stick with ADBTuner.

Thanks for this suggestion. On both my URayCoders, I lowered "Codec Usage" from 103% to 69% under "Status" by disabling everything except "TS URL" on the main stream, and disabling the substreams. Not sure what that means, but it can't hurt. I didn't think to check out CPU usage before/after. I did something similar on my fmuser FBE200, but I don't see anywhere to measure stats on it.

3 Likes

Hi there,
I received my j-tech video encoder and will be putting a second tuner. online as soon as i can find electrical space.
I have resolved my problem. Turns out my living room client was set for whatever reason to make Channels transcode on the fly.
I removed all settings and deleted the client.
I went back in my living room and put my apple tv back as a client and set it to use home streaming.
The encoder is now etup with the proper audio and bit rate and according to channels logs things are working nice.
will probably pick up a secon Onn box to get the second tuner online and if all goes right we will be done.

2 Likes

I seem to have a Problem ... this Command works and tunes the Channel but setting up adb tuner it does not work ..... Everything looks ok. Foor some reason the connection to android is failing ... but issuing the command it works great.

I am running docker on Windows alongside the Server.

adb -s 192.168.50.161 shell am start -n com.xfinity.cloudtvr.tenfoot/com.xfinity.common.view.LaunchActivity https://www.xfinity.com/stream/live/1920/5232923399725817105/HBOHW


1 Like

I think you have blank space in that IP Address field. That's my bad, I should have stripped leading/trailing whitespace. I will do that next time I push an update.

There is no blank space ... I am going to revoke adb access and try to re-auth.

I think I know what my Problem might be I have my devices powered by a USB hub connected to my server and use USB debugging... I will get back to you as soon as I disconnect that Firestick from the hub and connect via powersupply.

Success have it connect by USB Debugging prevented it ..

I haven't seen anyone use the Xfinity app yet. How well does it work?
Have you tried it without compatibility mode?

XFINITY Takes a While to load because of thier XFINITY logo but it works.... Without Compatibility enable it does not close.

They allow 5 Streams so I have 1 setup going to setup the other three.

Working Like A Charm .. Thanks

image

How were you able to find the URL for the Xfinity stream channels? Specifically this part :(/1920/5232923399725817105/HBOHW)

I bought up XFINITY on a webbrowser Click on the channel and It Gives you the link ... the 1920 is just a placeholder where the title would be...

1 Like

@turtletank ,

One of My Firesticks went to sleep do you have a wake command anywhere in your source this is what I use to check if asleep and wake up... I set it to never sleep but sometimes after an update the settings gets back to default.

adb -s %device% shell "dumpsys power | grep =Awake" >NUL
set ret=%errorlevel%
if "%ret%" == "1" adb -s %device% shell input keyevent KEYCODE_WAKEUP

Yep. When tuning ADBTuner checks if the device is awake and if not sends a wake command. If the device was asleep some extra time is also allotted for tuning.

The logs include text indicating the state of the device prior to launching a channel.

This won’t keep the device awake permanently. At the moment I think that’s best left to being configured on the device itself.

1 Like

I have personally set my device not to go to sleep.
The android just waits for ADB Tuner to send commands etc.
I'm planning to hook up a second ONN box and at least have two rouces ready t use.

Maybe someone can help me with this ...

Getting Devices in use? - Playground - Channels Community (getchannels.com)

I just added a J-tech encoder to my setup to go with my ex-vist.
personally, the ex-vist seems to be a better pfoformer over the j-tech but I need to know what settings people are using.
I'm getting a lot of buffering.
I'm planning to use ONN streaming boxes for both tuners.
If anyone is looking to set up the configuration, get the Ex-vist HDMI encoder. it is more user-friendly, especially for a first-time setup.