Documentation
¶
Overview ¶
Demo CLI for go-media. Library import: github.com/gtsteffaniak/go-media/pkg/media
Directories
¶
| Path | Synopsis |
|---|---|
|
cmd
|
|
|
gomedia-compare
command
Command gomedia-compare fetches seed media, generates ffmpeg fixtures, runs go-media vs ffprobe/ffmpeg checks, and writes a static HTML report.
|
Command gomedia-compare fetches seed media, generates ffmpeg fixtures, runs go-media vs ffprobe/ffmpeg checks, and writes a static HTML report. |
|
gomedia-thumbmode
command
Command thumbmode benchmarks media.Thumbnail for one asset/preset (stdout: median write ms).
|
Command thumbmode benchmarks media.Thumbnail for one asset/preset (stdout: median write ms). |
|
internal
|
|
|
ffmpegtest
Package ffmpegtest holds helpers shared by the subtitle golden tests in internal/subtitle, internal/matroska and internal/isobmff.
|
Package ffmpegtest holds helpers shared by the subtitle golden tests in internal/subtitle, internal/matroska and internal/isobmff. |
|
h264
Package h264 implements intra-only H.264/AVC keyframe decode for thumbnails.
|
Package h264 implements intra-only H.264/AVC keyframe decode for thumbnails. |
|
h264/cleanroom
Package cleanroom implements decode-only H.264 intra for thumbnails.
|
Package cleanroom implements decode-only H.264 intra for thumbnails. |
|
h264/cleanroom/bitstream
Package bitstream — reads H.264 fields from RBSP (bytes already without emulation-prevention).
|
Package bitstream — reads H.264 fields from RBSP (bytes already without emulation-prevention). |
|
h264/cleanroom/decode
Package h264 parses H.264 syntax on top of bitstream/nal.
|
Package h264 parses H.264 syntax on top of bitstream/nal. |
|
h264/cleanroom/nal
Package nal — parses the H.264 NAL (Network Abstraction Layer): splitting an Annex-B bytestream into NAL units, removing emulation-prevention (EBSP→RBSP) and parsing the NAL header.
|
Package nal — parses the H.264 NAL (Network Abstraction Layer): splitting an Annex-B bytestream into NAL units, removing emulation-prevention (EBSP→RBSP) and parsing the NAL header. |
|
h264/frame
Package frame implements the frame buffer for H.264/AVC decoded pictures.
|
Package frame implements the frame buffer for H.264/AVC decoded pictures. |
|
isobmff
Package isobmff supports go-media parsers.
|
Package isobmff supports go-media parsers. |
|
jpegfast
Package jpeg implements a JPEG image decoder and encoder.
|
Package jpeg implements a JPEG image decoder and encoder. |
|
kernels
Package kernels provides hot numeric paths for thumbnail decode/scale/color.
|
Package kernels provides hot numeric paths for thumbnail decode/scale/color. |
|
kernels/h264
Package h264 provides SIMD-oriented H.264 decode kernels: 4×4 IDCT residual, 4×4 prediction+residual write, and future intra/8×8 helpers.
|
Package h264 provides SIMD-oriented H.264 decode kernels: 4×4 IDCT residual, 4×4 prediction+residual write, and future intra/8×8 helpers. |
|
mpeg4
Package mpeg4 decodes MPEG-4 Part 2 (ISO/IEC 14496-2) Simple and Advanced Simple Profile I-VOPs for thumbnails.
|
Package mpeg4 decodes MPEG-4 Part 2 (ISO/IEC 14496-2) Simple and Advanced Simple Profile I-VOPs for thumbnails. |
|
thumb
Package thumb renders scaled keyframe thumbnails (JPEG, PNG, WebP).
|
Package thumb renders scaled keyframe thumbnails (JPEG, PNG, WebP). |
|
vp8decode
Package vp8decode decodes VP8 video frames (key and inter) for thumbnails.
|
Package vp8decode decodes VP8 video frames (key and inter) for thumbnails. |
|
pkg
|
|
|
media
Package media provides pure-Go fast paths for probing, metadata, subtitles, and thumbnails used by file browsing applications.
|
Package media provides pure-Go fast paths for probing, metadata, subtitles, and thumbnails used by file browsing applications. |
Click to show internal directories.
Click to hide internal directories.