Skip to content

About

Google TV screen and HDMI capture for Mac and Windows, with local video and audio. Experimental Sharp/MediaTek backend; contributions welcome.

Resources

Contributing

Stars

0 stars

Watchers

0 watching

Forks

Repository files navigation

SharpCapture

Capture your Google TV over the network. View the entire TV screen or an HDMI input on your Mac or Windows PC, with video and audio in a simple local interface.

Experimental. The current capture backend was built for a Sharp Google TV with a MediaTek MT5896 / MT9676 chipset running Android 14. It has not been tested on other TVs. Support for more Google TV models is welcome.

Features

  • Whole TV capture — includes the active input, TV menus and overlays.
  • HDMI selection — capture HDMI 1–4 directly, with optional TV input switching.
  • Game audio — listen on your computer while the TV’s existing audio output keeps playing, including eARC/HomePods on the tested setup.
  • Buffered playback — smooths uneven frame delivery, with volume and audio sync controls.
  • Built-in setup — pair a computer with the TV and save its connection details from the interface.
  • Local operation — no account, cloud relay, capture card, root or TV app required.

Downloads

Download the v0.1.0-alpha.4 Windows prerelease. This is an early test build; stable v0.1.0 is reserved for a verified release. Mac downloads remain available in alpha.1; the Windows lifecycle fixes below were tested on Windows.

Use the app ZIP under Assets, not GitHub’s source-code archives. Extract it once and open the app.

Platform File
macOS · Apple Silicon SharpCapture-mac-arm64.zip
macOS · Intel SharpCapture-mac-intel.zip
Windows · 64-bit SharpCapture-windows-x64.zip

Extract the ZIP, then open SharpCapture.app on Mac or SharpCapture.exe on Windows. Keep the extracted Windows folder together. The app opens its interface in your browser at http://127.0.0.1:8766.

On Windows, the same EXE also opens a small SharpCapture is running window. Use Open web interface to reopen the browser controls. Its normal Windows close button and its Exit button both stop the app and its ADB process. There is no separate stop executable.

Python, ADB and FFmpeg are included in packaged downloads. Preview builds are unsigned and macOS builds are not notarized. Windows has also been tested live with the TV, including repeated Start/Stop and process cleanup.

Connect your TV

First-time setup

  1. Connect the TV and computer to the same network.
  2. Enable Developer options on the TV: open its system information page and select Android TV OS build seven times. Then enable Wireless debugging in Developer options.
  3. Open SharpCapture and click TV connection to follow the setup steps.
  4. On the TV, select Pair device with pairing code. Enter that dialog’s address and six-digit code when prompted in SharpCapture.
  5. Close the TV’s pairing dialog. Enter the address from the main Wireless debugging page to connect. If this computer is already paired, use the setup shortcut to enter only the connection address.

The pairing port and connection port are different. Use the pairing dialog’s port only for pairing. The TV may change these ports after a restart.

Start capturing

Choose Whole TV screen, 720p and 30 fps, then click Start capture. Click Enable game audio to listen. Adjust the sync delay if needed.

For another input, select an HDMI port and click Apply changes. Show selected HDMI on TV also switches the TV’s displayed input. Whole TV mode follows whichever screen is currently visible on the TV.

Each computer must pair once. After that, open SharpCapture on that computer and start capture. Nothing needs to be launched manually on the TV; it only needs to be on, reachable and available over Wireless debugging. Press Stop to end capture. Quit closes the host and its capture processes. Closing the last interface tab also closes the host after an eight-second grace period; reloading or keeping another tab open preserves it. If a browser crashes without sending its close notification, cleanup takes up to 90 seconds. The developer option --no-browser keeps the host running until explicitly stopped.

Compatibility

Component Tested configuration
TV Sharp 4K Google TV, MT5896 / MT9676, Android 14
Vendor libraries 32-bit ARM MediaTek capture interface
Video source Xbox on HDMI 3; TV menus and overlays
TV audio output eARC → Apple TV → HomePods
Capture host Windows 11 x64; Apple Silicon Mac

Google TV does not expose a standard HDMI capture API. SharpCapture currently uses a MediaTek-specific backend, so installing it on another Google TV does not guarantee capture will work. Other models may need different capture, audio and input mappings.

Performance

720p at approximately 28–29 fps is the verified starting point. Whole TV can slow down while TV menus are active. Recent whole-TV 1080p tests reached approximately 24–29 fps, but 1080p remains experimental.

1080p60 has not been achieved. The normal interface keeps 60 fps disabled until there is a verified capture path. A 60 Hz input signal does not guarantee 60 captured frames per second.

The preview uses a short playback buffer, so it has additional latency. Play on the TV and use SharpCapture for viewing or sharing. Protected content may be black; content protection is not bypassed.

Troubleshooting

Cannot connect: check the TV’s current Wireless debugging address and connection port. If necessary, open a fresh pairing-code dialog and pair again.

Picture stops: the app attempts up to three restarts while capture is active. Pressing Stop cancels recovery. Try 720p30 and check that another capture program is not running.

No audio: test content that actually plays sound. The current audio mapping is specific to the tested TV. Android may show its input privacy indicator during digital loopback capture.

Wrong HDMI input: the tested TV maps HDMI 1–4 to Android hardware IDs HW2–HW5. Other models may differ. Turn off automatic input switching if the mapping is wrong.

Logs and saved connection settings are stored in:

  • macOS: ~/Library/Application Support/SharpCapture/
  • Windows: %LOCALAPPDATA%/SharpCapture/

Development

Source execution needs Python 3.9+, Android platform-tools and FFmpeg on PATH. No Python packages are needed at runtime.

python tools/restore_assets.py
python app.py

Use python3 on Mac or py on Windows if that is how Python is installed.

Contributing

Pull requests are welcome. Additional TV backends, compatibility reports, Windows capture testing, lower latency and frame-rate improvements are especially useful. Include the TV model, Android version, chipset and what you tested when reporting compatibility.

Privacy and license

Capture stays on the local network. The interface listens on localhost, and the TV connection uses paired ADB. There is no telemetry or cloud streaming service. Pairing codes are not saved.

The TV’s original capture executable is used temporarily and is not modified or redistributed. No root, SELinux changes or HDCP/DRM bypass is used.

SharpCapture source is released under the MIT license. Bundled dependencies retain their own licenses and notices.

About

Google TV screen and HDMI capture for Mac and Windows, with local video and audio. Experimental Sharp/MediaTek backend; contributions welcome.

Resources

Contributing

Stars

0 stars

Watchers

0 watching

Forks

Releases

Packages

Contributors

Languages