Directories
¶
| Path | Synopsis |
|---|---|
|
cmd
|
|
|
bdtools
command
Command bdtools converts a frame-packed Blu-ray 3D source (MVC) into a side-by-side MKV that an ordinary decoder can play.
|
Command bdtools converts a frame-packed Blu-ray 3D source (MVC) into a side-by-side MKV that an ordinary decoder can play. |
|
hevcenc
command
Command hevcenc codes raw 4:2:0 video with the HEVC encoder in this module, for its development: planar 8-bit or 10-bit little endian samples in, an Annex B stream out.
|
Command hevcenc codes raw 4:2:0 video with the HEVC encoder in this module, for its development: planar 8-bit or 10-bit little endian samples in, an Annex B stream out. |
|
mvcdec
command
Command mvcdec decodes H.264/MVC stereo video into raw YUV or Y4M.
|
Command mvcdec decodes H.264/MVC stereo video into raw YUV or Y4M. |
|
mvcenc
command
Command mvcenc adds a dependent view to an H.264 base view stream, writing an H.264 MVC (Stereo High) stream.
|
Command mvcenc adds a dependent view to an H.264 base view stream, writing an H.264 MVC (Stereo High) stream. |
|
internal
|
|
|
aac
Package aac encodes AAC-LC (ISO/IEC 14496-3): PCM in, ADTS frames out, mono to 5.1 at 44.1 or 48 kHz.
|
Package aac encodes AAC-LC (ISO/IEC 14496-3): PCM in, ADTS frames out, mono to 5.1 at 44.1 or 48 kHz. |
|
ac3
Package ac3 encodes AC-3 (Dolby Digital, ATSC A/52): PCM in, frames any AC-3 decoder plays out.
|
Package ac3 encodes AC-3 (Dolby Digital, ATSC A/52): PCM in, frames any AC-3 decoder plays out. |
|
av1
Package av1 is an AV1 encoder: 4:2:0 pictures of 8 or 10 bits coded as an AV1 stream (OBUs, the low overhead format), each picture's reconstruction exactly a decoder's.
|
Package av1 is an AV1 encoder: 4:2:0 pictures of 8 or 10 bits coded as an AV1 stream (OBUs, the low overhead format), each picture's reconstruction exactly a decoder's. |
|
bdmv
Package bdmv reads the structure of a Blu-ray disc: the playlists that make up its titles, and the stream files they refer to, from a BDMV directory or directly out of a UDF disc image.
|
Package bdmv reads the structure of a Blu-ray disc: the playlists that make up its titles, and the stream files they refer to, from a BDMV directory or directly out of a UDF disc image. |
|
convert
Package convert drives the conversion of a frame-packed Blu-ray 3D source (MVC) into a side-by-side MKV that an ordinary decoder can play.
|
Package convert drives the conversion of a frame-packed Blu-ray 3D source (MVC) into a side-by-side MKV that an ordinary decoder can play. |
|
cuda
Package cuda runs compute kernels on an NVIDIA GPU through the CUDA driver API, loaded at run time (no cgo, no CUDA toolkit: the driver compiles the kernels' PTX for the GPU it has).
|
Package cuda runs compute kernels on an NVIDIA GPU through the CUDA driver API, loaded at run time (no cgo, no CUDA toolkit: the driver compiles the kernels' PTX for the GPU it has). |
|
deint
Package deint deinterlaces 8-bit 4:2:0 pictures, one frame out for each frame in (the field shown first kept, the other interpolated), as NVDEC's adaptive deinterlacer and ffmpeg's bwdif do for the other decoders here.
|
Package deint deinterlaces 8-bit 4:2:0 pictures, one frame out for each frame in (the field shown first kept, the other interpolated), as NVDEC's adaptive deinterlacer and ffmpeg's bwdif do for the other decoders here. |
|
depth
Package depth estimates a video's depth, frame by frame: Video Depth Anything (Chen et al., CVPR 2025), its streaming form, from the published checkpoint as it is.
|
Package depth estimates a video's depth, frame by frame: Video Depth Anything (Chen et al., CVPR 2025), its streaming form, from the published checkpoint as it is. |
|
dovi
Package dovi handles Dolby Vision's carriage: the configuration record a container gives a Dolby Vision track (dvcC or dvvC), and the single-track form of a dual-layer stream.
|
Package dovi handles Dolby Vision's carriage: the configuration record a container gives a Dolby Vision track (dvcC or dvvC), and the single-track form of a dual-layer stream. |
|
dts
Package dts decodes DTS Coherent Acoustics core audio (ETSI TS 102 114): the core of a DTS or DTS-HD stream (its extension substreams left aside), up to 5.1 at 48 kHz, in fixed point, as the reference decoder does it.
|
Package dts decodes DTS Coherent Acoustics core audio (ETSI TS 102 114): the core of a DTS or DTS-HD stream (its extension substreams left aside), up to 5.1 at 48 kHz, in fixed point, as the reference decoder does it. |
|
esinfo
Package esinfo reads the headers of the elementary streams a Blu-ray carries — enough to describe a track the way a listing does: codec flavour, channels, sample rate, bitrate, picture size and frame rate.
|
Package esinfo reads the headers of the elementary streams a Blu-ray carries — enough to describe a track the way a listing does: codec flavour, channels, sample rate, bitrate, picture size and frame rate. |
|
gpu
Package gpu drives GPU video encoders and decoders through their system libraries — NVENC and NVDEC (NVIDIA's driver), VAAPI (Mesa, Intel's media driver), VideoToolbox (macOS) and Media Foundation (Windows) — loaded at run time, so bdtools needs neither cgo nor ffmpeg for hardware video.
|
Package gpu drives GPU video encoders and decoders through their system libraries — NVENC and NVDEC (NVIDIA's driver), VAAPI (Mesa, Intel's media driver), VideoToolbox (macOS) and Media Foundation (Windows) — loaded at run time, so bdtools needs neither cgo nor ffmpeg for hardware video. |
|
hdr
Package hdr reads and writes the metadata HDR10 and HDR10+ video carries beside its pictures: the mastering display colour volume and content light level (static, SMPTE ST 2086 and CTA-861.3), and HDR10+'s dynamic metadata (SMPTE ST 2094-40, as an ITU-T T.35 message).
|
Package hdr reads and writes the metadata HDR10 and HDR10+ video carries beside its pictures: the mastering display colour volume and content light level (static, SMPTE ST 2086 and CTA-861.3), and HDR10+'s dynamic metadata (SMPTE ST 2094-40, as an ITU-T T.35 message). |
|
hevc
Package hevc decodes H.265/HEVC Main and Main 10 video in Go (4:2:0, 8 and 10 bits, every tool of those profiles): a fallback where no GPU decodes an Ultra HD Blu-ray's HEVC.
|
Package hevc decodes H.265/HEVC Main and Main 10 video in Go (4:2:0, 8 and 10 bits, every tool of those profiles): a fallback where no GPU decodes an Ultra HD Blu-ray's HEVC. |
|
mkv
Package mkv writes Matroska files: the muxer behind bdtools' default output, taking an encoder's raw H.264 or HEVC stream and the audio and subtitle tracks a Blu-ray demux produces.
|
Package mkv writes Matroska files: the muxer behind bdtools' default output, taking an encoder's raw H.264 or HEVC stream and the audio and subtitle tracks a Blu-ray demux produces. |
|
mp4
Package mp4 writes ISO base media files (MP4, QuickTime): a video track of HEVC or MV-HEVC with Apple's stereo signalling, and audio tracks of AC-3 or E-AC-3, from the same sources the Matroska muxer takes.
|
Package mp4 writes ISO base media files (MP4, QuickTime): a video track of HEVC or MV-HEVC with Apple's stereo signalling, and audio tracks of AC-3 or E-AC-3, from the same sources the Matroska muxer takes. |
|
mpeg2
Package mpeg2 decodes MPEG-2 video (ISO/IEC 13818-2, Main Profile: 4:2:0, frame and field pictures, every prediction mode) in Go: a fallback where no GPU decodes a Blu-ray's or DVD's MPEG-2.
|
Package mpeg2 decodes MPEG-2 video (ISO/IEC 13818-2, Main Profile: 4:2:0, frame and field pictures, every prediction mode) in Go: a fallback where no GPU decodes a Blu-ray's or DVD's MPEG-2. |
|
nn
Package nn runs neural networks published as PyTorch checkpoints: their weights read from the .pth file as it is, and the layers they are made of (linear, convolutions, attention, normalisations, resizing) on float32 tensors, laid out as PyTorch lays them out (row major, the last dimension fastest).
|
Package nn runs neural networks published as PyTorch checkpoints: their weights read from the .pth file as it is, and the layers they are made of (linear, convolutions, attention, normalisations, resizing) on float32 tensors, laid out as PyTorch lays them out (row major, the last dimension fastest). |
|
ocr
Package ocr reads the text of subtitle pictures (a Blu-ray's PGS): a line of text at a time, by a small network trained here (a CRNN: convolutions over the line's picture, a bidirectional LSTM over its columns, CTC to the characters), its weights embedded.
|
Package ocr reads the text of subtitle pictures (a Blu-ray's PGS): a line of text at a time, by a small network trained here (a CRNN: convolutions over the line's picture, a bidirectional LSTM over its columns, CTC to the characters), its weights embedded. |
|
pgs
Package pgs reads Blu-ray subtitles (Presentation Graphic Streams): their display sets made into the pictures they show, and when.
|
Package pgs reads Blu-ray subtitles (Presentation Graphic Streams): their display sets made into the pictures they show, and when. |
|
stereo
Package stereo makes a stereo pair of a 2D picture and its disparity: each eye is the picture shifted by half the disparity, rendered row by row so that what is nearer covers what is behind it, and what an eye sees that the picture does not (behind a nearer thing's edge) filled from the farther side.
|
Package stereo makes a stereo pair of a 2D picture and its disparity: each eye is the picture shifted by half the disparity, rendered row by row so that what is nearer covers what is behind it, and what an eye sees that the picture does not (behind a nearer thing's edge) filled from the farther side. |
|
udf
Package udf writes UDF 2.50 file system images, a Blu-ray disc's: read-only, its files' entries and directories in a metadata partition (with its mirror), their contents in the physical partition laid out in an order the caller chooses, so that one file (a 3D film's SSIF) can be made of pieces of others, interleaved.
|
Package udf writes UDF 2.50 file system images, a Blu-ray disc's: read-only, its files' entries and directories in a metadata partition (with its mirror), their contents in the physical partition laid out in an order the caller chooses, so that one file (a 3D film's SSIF) can be made of pieces of others, interleaved. |
|
vc1
Package vc1 decodes SMPTE 421M (VC-1) Advanced Profile video in Go: progressive, interlaced frame and interlaced field pictures, 4:2:0 8-bit, as Blu-ray and HD DVD carry it.
|
Package vc1 decodes SMPTE 421M (VC-1) Advanced Profile video in Go: progressive, interlaced frame and interlaced field pictures, 4:2:0 8-bit, as Blu-ray and HD DVD carry it. |
|
version
Package version resolves the version string a binary reports.
|
Package version resolves the version string a binary reports. |
|
vmaf
Package vmaf measures a distorted video against its reference as Netflix's VMAF does: libvmaf's integer feature extractors (VIF at four scales, ADM, motion) ported to Go, and its v0.6.1 models (the 1080p one, and the 4K one for pictures above 1080 lines).
|
Package vmaf measures a distorted video against its reference as Netflix's VMAF does: libvmaf's integer feature extractors (VIF at four scales, ADM, motion) ported to Go, and its v0.6.1 models (the 1080p one, and the 4K one for pictures above 1080 lines). |
|
Package m2ts demultiplexes the video elementary streams of an MPEG-2 transport stream (including Blu-ray .m2ts with 192-byte packets) and pairs the base view (AVC) and dependent view (MVC) access units.
|
Package m2ts demultiplexes the video elementary streams of an MPEG-2 transport stream (including Blu-ray .m2ts with 192-byte packets) and pairs the base view (AVC) and dependent view (MVC) access units. |
|
Package mvc implements an H.264/AVC decoder with Multiview Video Coding (MVC, Annex H) support for stereo streams such as 3D Blu-ray, producing both the base view and the dependent view for each access unit.
|
Package mvc implements an H.264/AVC decoder with Multiview Video Coding (MVC, Annex H) support for stereo streams such as 3D Blu-ray, producing both the base view and the dependent view for each access unit. |
|
Package probe identifies a video source from the little of it that a pre-download sample contains: a disc image's BDMV metadata, a Matroska file's header, or an MP4 or QuickTime file's movie box.
|
Package probe identifies a video source from the little of it that a pre-download sample contains: a disc image's BDMV metadata, a Matroska file's header, or an MP4 or QuickTime file's movie box. |
|
tools
|
|
|
av1bench
command
Command av1bench measures the AV1 encoder (internal/av1) against SVT-AV1 (through ffmpeg's libsvtav1): each clip coded at a few quantizers by each configuration, decoded by libdav1d (ffmpeg), its size, speed and quality (PSNR of each plane, SSIM, VMAF, by internal/vmaf) recorded, and the configurations compared by their BD-rates against an anchor's, per metric, with their speeds.
|
Command av1bench measures the AV1 encoder (internal/av1) against SVT-AV1 (through ffmpeg's libsvtav1): each clip coded at a few quantizers by each configuration, decoded by libdav1d (ffmpeg), its size, speed and quality (PSNR of each plane, SSIM, VMAF, by internal/vmaf) recorded, and the configurations compared by their BD-rates against an anchor's, per metric, with their speeds. |
|
av1lfasm
command
Command av1lfasm writes the AV1 encoder's loop filter kernel (internal/av1/lf_amd64.s): the sample filtering process (spec 7.14.6) for the four lines of an edge segment at once, a line a 32-bit lane.
|
Command av1lfasm writes the AV1 encoder's loop filter kernel (internal/av1/lf_amd64.s): the sample filtering process (spec 7.14.6) for the four lines of an edge segment at once, a line a 32-bit lane. |
|
av1tables
command
Command av1tables turns the AV1 specification's constants, enumerations and constant lookup tables into Go source for package av1:
|
Command av1tables turns the AV1 specification's constants, enumerations and constant lookup tables into Go source for package av1: |
|
av1txasm
command
Command av1txasm turns the AV1 encoder's 1D forward transforms (internal/av1/transform_fwd.go) and the inverse ones (transform_bf.go) into AVX2 kernels that run eight of them at once, one per 32-bit lane:
|
Command av1txasm turns the AV1 encoder's 1D forward transforms (internal/av1/transform_fwd.go) and the inverse ones (transform_bf.go) into AVX2 kernels that run eight of them at once, one per 32-bit lane: |
|
depthtrain
command
Command depthtrain learns the depth refinement (internal/stereo's RefineWeights) from 3D discs' pairs: stereobench -samples files, each a picture's left eye, the depth network's depth of it and the disc's disparity, all at half size.
|
Command depthtrain learns the depth refinement (internal/stereo's RefineWeights) from 3D discs' pairs: stereobench -samples files, each a picture's left eye, the depth network's depth of it and the disc's disparity, all at half size. |
|
felrd
command
Command felrd measures how near encodes of a Dolby Vision profile 7 FEL source come to the picture the source's layers compose to:
|
Command felrd measures how near encodes of a Dolby Vision profile 7 FEL source come to the picture the source's layers compose to: |
|
gradefit
command
Command gradefit learns how 3D discs grade depth: from stereobench -frames CSVs (a picture's features, and the disc's disparity fitted by the network's depth: disparity = a depth + b), a ridge regression of a and b on the features.
|
Command gradefit learns how 3D discs grade depth: from stereobench -frames CSVs (a picture's features, and the disc's disparity fitted by the network's depth: disparity = a depth + b), a ridge regression of a and b on the features. |
|
pgskodi
command
Command pgskodi rewrites a PGS subtitle file (.sup) so that Kodi draws its wide subtitles whole in a side-by-side 3D film: each object wider than half the plane becomes two side by side.
|
Command pgskodi rewrites a PGS subtitle file (.sup) so that Kodi draws its wide subtitles whole in a side-by-side 3D film: each object wider than half the plane becomes two side by side. |
|
qcmp
command
Command qcmp measures encodes against their source, picture by picture:
|
Command qcmp measures encodes against their source, picture by picture: |
|
stereobench
command
Command stereobench measures the 2D to 3D conversion against native 3D:
|
Command stereobench measures the 2D to 3D conversion against native 3D: |
Click to show internal directories.
Click to hide internal directories.