ffmpeg

package
v1.0.0 Latest Latest
Warning

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

Go to latest
Published: Mar 30, 2023 License: MIT Imports: 4 Imported by: 0

Documentation

Index

Constants

View Source
const GetFrameCmd = `ffmpeg -i %s -vf "select=eq(pict_type\,%s)" -fps_mode vfr -qscale:v 2 -f image2 %s/%%03d.jpg`
View Source
const TransferCodecCmd = `ffmpeg  -hwaccel_output_format qsv -c:v h264_qsv -i %s -c:v hevc_qsv -preset veryslow -g 60 -gpu_copy 1 -c:a copy %s`
View Source
const TransferFormatCmd = `ffmpeg -hwaccel qsv -i %s -c copy -y %s`

Variables

This section is empty.

Functions

func GetFrame

func GetFrame(src string, f Frame) error

func H264ToH265

func H264ToH265(filePath, dst string) error

func TransferFormat

func TransferFormat(filePath, dst string) error

Types

type Frame

type Frame int
const (
	I Frame = iota
	P
	B
)

func (Frame) String

func (f Frame) String() string

Jump to

Keyboard shortcuts

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