pkgs

package
v0.0.0-...-72d1395 Latest Latest
Warning

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

Go to latest
Published: Aug 14, 2019 License: GPL-2.0 Imports: 13 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Check

func Check() error

Check 检查是否安装ffmpeg

func DownloadVideo

func DownloadVideo(cli *http.Client, wg *sync.WaitGroup, ech chan error, vedioURL string, aid int, path string) error

DownloadVideo 下载视频

func MergeAV

func MergeAV(f1, f2 string)

MergeAV 合并音视频

func Resolve

func Resolve(cli *http.Client, videoPageURL string) (string, map[MimeType]avURL, error)

Resolve 解析网页

Types

type MimeType

type MimeType string

MimeType 媒体类型

const (
	MimeTypeAudio MimeType = "audio/mp4"
	MimeTypeVideo          = "video/mp4"
)

音视频

Jump to

Keyboard shortcuts

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