Documentation
¶
Overview ¶
Demo CLI for go-media. Library import: github.com/gtsteffaniak/go-media/pkg/media
Directories
¶
| Path | Synopsis |
|---|---|
|
bench
|
|
|
manifest
Package manifest describes the benchmark fixture corpus.
|
Package manifest describes the benchmark fixture corpus. |
|
cmd
|
|
|
gomedia-bench
command
Command gomedia-bench is the developer tool for the go-media benchmark framework (see bench/README.md).
|
Command gomedia-bench is the developer tool for the go-media benchmark framework (see bench/README.md). |
|
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
|
|
|
asf
Package asf reads Advanced Systems Format (ASF/WMV/WMA) containers for probe, duration, and WMV3 video payload extraction.
|
Package asf reads Advanced Systems Format (ASF/WMV/WMA) containers for probe, duration, and WMV3 video payload extraction. |
|
av1decode
Package av1decode decodes AV1 thumbnails with github.com/gen2brain/gav1d, a pure-Go, bit-exact port of dav1d.
|
Package av1decode decodes AV1 thumbnails with github.com/gen2brain/gav1d, a pure-Go, bit-exact port of dav1d. |
|
avi
Package avi reads RIFF AVI containers (including OpenDML indexes) for probe, duration, and thumbnail keyframe lookup.
|
Package avi reads RIFF AVI containers (including OpenDML indexes) for probe, duration, and thumbnail keyframe lookup. |
|
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. |
|
heifthumb
Package heifthumb reads embedded JPEG thumbnails from HEIF/HEIC/AVIF ISOBMFF files.
|
Package heifthumb reads embedded JPEG thumbnails from HEIF/HEIC/AVIF ISOBMFF files. |
|
hevcdecode
Package hevcdecode decodes HEVC (H.265) IRAP/IDR keyframes for thumbnails.
|
Package hevcdecode decodes HEVC (H.265) IRAP/IDR keyframes for thumbnails. |
|
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. |
|
jxldecode
Package jxldecode decodes JPEG XL still images with github.com/gen2brain/jxl.
|
Package jxldecode decodes JPEG XL still images with github.com/gen2brain/jxl. |
|
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. |
|
mpeg2video
Package mpeg2video decodes MPEG-2 Video (ISO/IEC 13818-2) I-pictures for thumbnails.
|
Package mpeg2video decodes MPEG-2 Video (ISO/IEC 13818-2) I-pictures for thumbnails. |
|
mpeg2video/bitreader
Package bitreader provides basic interfaces to read and traverse an io.Reader as a stream of bits, rather than a stream of bytes.
|
Package bitreader provides basic interfaces to read and traverse an io.Reader as a stream of bits, rather than a stream of bytes. |
|
mpeg2video/huffman
Package huffman implements a naïve Huffman decoder.
|
Package huffman implements a naïve Huffman decoder. |
|
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. |
|
mpegpes
Package pes implements an MPEG-2 packetized elementary stream parser as defined in ISO/IEC 13818-1.
|
Package pes implements an MPEG-2 packetized elementary stream parser as defined in ISO/IEC 13818-1. |
|
mpegts
Package ts implements an MPEG-2 transport stream parser as defined in ISO/IEC 13818-1.
|
Package ts implements an MPEG-2 transport stream parser as defined in ISO/IEC 13818-1. |
|
rawpreview
Package rawpreview extracts embedded JPEG previews from camera RAW files.
|
Package rawpreview extracts embedded JPEG previews from camera RAW files. |
|
thumb
Package thumb renders scaled keyframe thumbnails (JPEG, PNG, WebP).
|
Package thumb renders scaled keyframe thumbnails (JPEG, PNG, WebP). |
|
vc1
Code generated from SMPTE 421 / ffmpeg vc1_vlc_data.h factual tables.
|
Code generated from SMPTE 421 / ffmpeg vc1_vlc_data.h factual tables. |
|
vp8decode
Package vp8decode decodes VP8 video frames (key and inter) for thumbnails.
|
Package vp8decode decodes VP8 video frames (key and inter) for thumbnails. |
|
vp9decode
Package vp9decode decodes VP9 profile 0 key and inter frames for thumbnails.
|
Package vp9decode decodes VP9 profile 0 key and inter frames 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.