# Video preview conversion

## Component/part description

Convert input video into lower res video preview. For hypertranscript view.

## Related projects

NA

## Implementations Options considered

initially converted to `ogg` video. Quality was very poor, so moved to webm.

## Current implementation

Uses ffmpeg. Fluent, ffmpeg.

Eg using NWJS this needs to be webm coz mp4 not supported. Issue is making it cross browser compatible. Webm not supported by safari and iOS.

## What needs refactoring

Not very fast, it be great to find a way to speed up the conversion in some way.

Perhaps test against `ogg`?


---

# Agent Instructions: Querying This Documentation

If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter:

```
GET https://autoedit.gitbook.io/documentation/master-1.0.6/transcriptions/video-preview-conversion.md?ask=<question>
```

The question should be specific, self-contained, and written in natural language.
The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
