# VideoIngest

## pub struct VideoIngest

Configuration for ingesting a video into an existing or new video resource.

## Implementations

### impl VideoIngest

#### pub fn starting_at(start: DateTime<Utc>) -> Self

Ingest a standalone video file (`.mp4` / `.mkv` / `.avi` / `.ts`) whose
first frame is at `start`.

#### pub fn mcap_topic(topic: impl Into<String>) -> Self

Extract the video stream on `topic` from an MCAP file. Each upload may
only target a single MCAP topic.

#### pub fn upload_options(self, options: UploadOptions) -> Self

## Trait implementations

**Derived**: [`Debug`](https://doc.rust-lang.org/1.98.1/core/fmt/trait.Debug.html), [`Clone`](https://doc.rust-lang.org/1.98.1/core/clone/trait.Clone.html)

**Auto traits**: [`Send`](https://doc.rust-lang.org/1.98.1/core/marker/trait.Send.html), [`Sync`](https://doc.rust-lang.org/1.98.1/core/marker/trait.Sync.html), [`Unpin`](https://doc.rust-lang.org/1.98.1/core/marker/trait.Unpin.html), [`!UnwindSafe`](https://doc.rust-lang.org/1.98.1/core/panic/unwind_safe/trait.UnwindSafe.html), [`!RefUnwindSafe`](https://doc.rust-lang.org/1.98.1/core/panic/unwind_safe/trait.RefUnwindSafe.html)
