tvpipe tvpipeOperations Manual
Section 08Playing to a browser
08
Command
preview
Receiver
--to browser

Playing to a browser

A browser tab on your computer can be a receiver, next to a TV or on its own.

Shorthand

preview is play --to browser.

08.1Previewing

$ tvpipe preview --open movie.mp4

# a tab next to a TV
$ tvpipe play --to "Living Room" --to browser movie.mp4

--open opens the player page. Without it, tvpipe prints the address. Any number of tabs can watch, and a tab opened later shows the same picture as the others. --wait-for-viewer starts the stream once a tab is open.

Keys

F or double-click: fullscreen

S: statistics

Sound

Browsers only play sound after a click. Click the page once.

08.2The player page

The player page showing a picture
Fig. 08.1The player page.

The player works in Chrome, Edge, Safari 16.4+ and Firefox 130+.

Address

Port 8765, or --port. If the port is taken, tvpipe uses another one for that run.

08.3OBS

Add the player address as a browser source and append &ui=0 to hide the controls. Turn on “Control audio via OBS” to get the sound into OBS.

The address stays the same between runs, so the source keeps working the next time tvpipe plays. --new-token makes a new address, and the old one stops working.

08.4With other commands

The player options --open, --port, --wait-for-viewer and --new-token work with play, preview, share and test-pattern, whenever one of the receivers is --to browser. share --open without a URL opens the share page instead.

08.5Video calls

Open the player page and present that tab in Meet, Zoom or Teams, with its audio.