ffmpeg_integration

package
v0.1.4 Latest Latest
Warning

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

Go to latest
Published: Nov 13, 2023 License: MIT Imports: 8 Imported by: 0

Documentation

Index

Constants

View Source
const (
	MetadataHeader               = ";FFMETADATA1"
	MetadataChapterSection       = "[CHAPTER]"
	MetadataTitlePrefix          = "title="
	MetadataArtistPrefix         = "artist="
	MetadataAlbumPrefix          = "album="
	MetadataDescriptionPrefix    = "description="
	MetadataGenrePrefix          = "genre="
	MetadataYearPrefix           = "year="
	MetadataCopyrightPrefix      = "copyright="
	MetadataPerformerPrefix      = "performer="
	MetadataTimebaseDefaultValue = "TIMEBASE=1/1000"
	MetadataStartPrefix          = "START="
	MetadataEndPrefix            = "END="
	MetadataFilePrefix           = "file="
	MetadataFilename             = "_ffmpegmetadata.txt"
)

Variables

This section is empty.

Functions

func CreateMetadata

func CreateMetadata(
	filename string,
	metadata map[string]string,
	chapterFilenameTitle map[string]string,
	chaptersFileDuration map[string]int64) error

func ExtractChapterDuration

func ExtractChapterDuration(filename string) (int64, error)

func ExtractFiles

func ExtractFiles(filename string) ([]string, error)

Types

This section is empty.

Jump to

Keyboard shortcuts

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