transcode

package
v0.0.0-...-68ec40e Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Sep 15, 2024 License: BSD-3-Clause Imports: 9 Imported by: 0

Documentation

Overview

Package transcode implements routines for transcoding to various kinds of receiver.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func ChromecastTranscode

func ChromecastTranscode(path string, start, length time.Duration, stderr io.Writer) (r io.ReadCloser, err error)

Returns a stream of Chromecast supported matroska.

func Exec

func Exec(cmds string, start, length time.Duration, stderr io.Writer) (r io.ReadCloser, err error)

Exec runs the cmd to generate the video to stream. It does not support seeking. Used by the dynamic stream feature.

func Transcode

func Transcode(path string, start, length time.Duration, stderr io.Writer) (r io.ReadCloser, err error)

Streams the desired file in the MPEG_PS_PAL DLNA profile.

func VP8Transcode

func VP8Transcode(path string, start, length time.Duration, stderr io.Writer) (r io.ReadCloser, err error)

Returns a stream of Chromecast supported VP8.

func WebTranscode

func WebTranscode(path string, start, length time.Duration, stderr io.Writer) (r io.ReadCloser, err error)

Returns a stream of h264 video and mp3 audio

Types

This section is empty.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL