UNPKG

@omnimedia/omnitool

Version:

open source video processing tools

17 lines 529 B
// for later: https://github.com/gpac/mp4box.js/issues/243 export const encoderDefaultConfig = { codec: "avc1.640034", avc: { format: "annexb" }, width: 1280, height: 720, bitrate: 9_000_000, // 9 Mbps framerate: 60, bitrateMode: "variable", hardwareAcceleration: "no-preference" // prefer-hardware seems like 2x slower from what i been testing }; export const audioEncoderDefaultConfig = { codec: "opus", numberOfChannels: 2, sampleRate: 44100 }; //# sourceMappingURL=constants.js.map