Files
sunnypilot/openpilot/system/loggerd/clip_encoder.h
T
github-actions[bot] e20fa4e313 sunnypilot v2026.11.21-5044
version: sunnypilot v2026.003.000 (feature-branch)
date: 2026-11-21T03:18:39
master commit: 0e583a9c1b
2026-11-21 03:18:39 +00:00

11 lines
401 B
C++

#pragma once
#include <string>
#include <vector>
// inputs are consecutive 60-second loggerd HEVC segments; start_time is
// relative to the beginning of the first input.
int encode_clip(const std::vector<std::string> &inputs, const std::string &output,
double start_time, double duration, int bitrate = 5'000'000,
int speedup = 1, const std::string &metadata = {});