transcode

package
v1.6.0 Latest Latest
Warning

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

Go to latest
Published: May 10, 2023 License: BSD-3-Clause Imports: 9 Imported by: 5

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 added in v1.6.0

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 added in v1.2.0

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