compat.libwebm
libwebm 1.0.0.32 — the WebM (Matroska) container: muxer and parser, BSD-3-Clause
mcpp add compat.libwebm@1.0.0.32
用法
來自本倉庫自己的測試專案 —— CI 真的編譯並執行過,不是為了網站寫的。
// compat.libwebm — a WebM file written and read back.
//
// WHAT THIS ASSERTS AND WHY
//
// the muxer mkvmuxer::Segment over a writer of our own (memory, seekable):
// a VP9 video track with its colour (BT.709, limited range), an
// Opus audio track with its codec private data and delay, frames
// at their nanosecond timestamps, key frames, cues, the duration
// written back at the end (mkvmuxer.cc, mkvmuxerutil.cc)
// the writer mkvmuxer::MkvWriter: the same file written to disk
// (mkvwriter.cc), byte for byte the memory one
// the parser mkvparser over a reader of our own (memory) and over
// MkvReader (the file; mkvreader.cc): the EBML header's doc
// type, the tracks, their codecs, colour and private data,
// every frame in order with its time, track and bytes, the
// cues, the duration (mkvparser.cc)
// hdr_util the colour read back into mkvmuxer's form (common/hdr_util.cc)
// reproducible the same frames and track UIDs twice: the same bytes
//
// A pass means the muxer and the parser agree with one another.
#include <common/hdr_util.h>
// …
tests/examples/libwebm/tests/libwebm.cpp · 專案 tests/examples/libwebm
建置
- targets
webm (lib)- language
c++23- import std
- no
- include dirs
*
原始檔 (7)
*/common/file_util.cc*/common/hdr_util.cc*/mkvmuxer/mkvmuxer.cc*/mkvmuxer/mkvmuxerutil.cc*/mkvmuxer/mkvwriter.cc*/mkvparser/mkvparser.cc*/mkvparser/mkvreader.cc