Documentation ¶
Overview ¶
Package transcode implements routines for transcoding to various kinds of receiver.
Index ¶
- func ChromecastTranscode(path string, start, length time.Duration, stderr io.Writer) (r io.ReadCloser, err error)
- func Exec(cmds string, start, length time.Duration, stderr io.Writer) (r io.ReadCloser, err error)
- func Transcode(path string, start, length time.Duration, stderr io.Writer) (r io.ReadCloser, err error)
- func VP8Transcode(path string, start, length time.Duration, stderr io.Writer) (r io.ReadCloser, err error)
- func WebTranscode(path string, start, length time.Duration, stderr io.Writer) (r io.ReadCloser, err error)
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 ¶
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.
Click to show internal directories.
Click to hide internal directories.