Declaraciones públicas de libav-bridge/libav_bridge.zig (libav-bridge).
apps/docs/generated/zig/libav-bridge.jsonPágina generada desde
native/zig/libav-bridge/libav_bridge.zig. No se edita a mano:bun run docs:genla regenera ybun run docs:checkfalla si difiere.
libav-bridge (dec-0110 §1.1): engine = libav, FFmpeg 8 as a LIBRARY
(libavformat/libavcodec/libavutil, LGPL-2.1+, no protocols) behind the
MediaEngine contract. The only place in Styx with FFmpeg headers
(@cImport via translate-c of c.h) and the only one that links its
libraries. Built only with -Dlibav=true; otherwise the daemon links
disabled.zig and engine = libav is simply not a capability.
avnamespace · línea 11
pub const av = @import("av.zig")FFmpeg constants and the error mapping (tests reach mapError through it).
availableconst · línea 21
pub const available = trueSin ///.
CodecStringFnconst · línea 26
pub const CodecStringFn = *const fn (std.mem.Allocator, *const facts.StreamInfo) std.mem.Allocator.Error![]const u8Codec strings are common code (transmux): the caller passes the function so this crate never imports transmux (dec-0110 §1.1: both are siblings).
LibavEnginetype · línea 28
pub const LibavEngine = structSin ///.
LibavEngine.initfn · línea 33
pub fn init(codec_string: CodecStringFn, level: LogLevel) LibavEngineSin ///.
LibavEngine.enginefn · línea 47
pub fn engine(self: *LibavEngine) contract.MediaEngineSin ///.
LibavEngine.capabilitiesconst · línea 51
pub const capabilities: contract.Capabilities = .{ .version = 1, .formats = &.{ .mp4, .mov, .matroska, .webm }, .passthrough = &remux.passthrough, }Sin ///.
licensefn · línea 105
pub fn license() []const u8License of the linked libavformat ("LGPL version 2.1 or later").
configurationfn · línea 111
pub fn configuration() []const u8configure flags the linked FFmpeg was built with (dec-0110 §5 license
manifest: what is really linked, not what a file claims).