Documentation
¶
Overview ¶
Package video registers the handlers of videos, and of their subtitles, and the lookup of videos on TMDB, so importing it anonymously registers them all. The handlers of videos use ffmpeg, so are only registered when built with cgo, and, without it, or when ffmpeg can't read it, the kind of video is of its content type.
Directories
¶
| Path | Synopsis |
|---|---|
|
Package ffmpeg registers handlers of videos, such as MP4, QuickTime and AVI videos, which return the tags of their container, their duration, the codec and size of their video, and the codec of their audio, and their cover art as artwork, which use ffmpeg, so need cgo
|
Package ffmpeg registers handlers of videos, such as MP4, QuickTime and AVI videos, which return the tags of their container, their duration, the codec and size of their video, and the codec of their audio, and their cover art as artwork, which use ffmpeg, so need cgo |
|
Package subtitle registers a handler of SubRip subtitles, .srt files, which returns their language, from their name, and their cues as Markdown
|
Package subtitle registers a handler of SubRip subtitles, .srt files, which returns their language, from their name, and their cues as Markdown |
|
Package tmdb registers a handler of videos which looks up the movie or TV episode which a video is on TMDB, when a TMDB client is set (see metadata.WithTMDB): by its identifier, when it's set, and otherwise by searching with the video's title, and its year, season and episode when they're known, from its tags, such as the show of an episode from iTunes, and otherwise from its name (see tmdb.ExtractQuery).
|
Package tmdb registers a handler of videos which looks up the movie or TV episode which a video is on TMDB, when a TMDB client is set (see metadata.WithTMDB): by its identifier, when it's set, and otherwise by searching with the video's title, and its year, season and episode when they're known, from its tags, such as the show of an episode from iTunes, and otherwise from its name (see tmdb.ExtractQuery). |