Skip to content

Instantly share code, notes, and snippets.

View terminalcommand's full-sized avatar

terminalcommand

View GitHub Profile
package main
import (
"fmt"
"html"
"log"
"net/http"
"os/exec"
"strings"
)

What are these?

Here are some scripts I've written to make chromecast streaming easier on linux.

I plan to update these over time. I have a couple more scripts but I intend to test them before I release :)

Prerequisites

  • For streaming I use the wonderful catt package.
  • For converting I use ffmpeg, it would be beneficial if you could activate hardware encoding/decoding, if not you can change the ffmpeg command in the script easily.
  • It could be better if you mounted /tmp on ram (second comment if you use systemd)

convertandstream.sh