# Big videos and converting

> How videos larger than your server's limit are saved to WebDAV in parts, played and downloaded, and how to make a smaller copy and remove the raw video.

Source: https://crawl-docs.pdhq.win/guide/big-videos-and-converting/
Last updated: 2026-12-02

A normal saved video lives in the post's own storage. A **big video** is one that is over your server's size limit. It is sent to your **WebDAV** storage in parts and treated like any other video afterwards.

> [!IMPORTANT]
> Big videos need WebDAV. Set it up first: [Storage: WebDAV and R2](https://crawl-docs.pdhq.win/guide/storage-webdav-and-r2.md). Without it, a video over the limit cannot be ticked in the extension's list and says why.

## The size limit

The limit is the **Largest video (MB)** setting in **Settings → Storage → Videos**. Until you set it there, the server's own value is used (`MAX_VIDEO_MB`, 4096 MB by default, never more than 5000). It applies to the next video you save. **Reset** goes back to the server's value.

## Save a big video

1. Open the page in the browser and open the extension's panel.
2. In **Videos to save**, tick the video. A video over the limit is marked **Big**.
3. Press **Save post + video**. The panel says: your post is saved first, then a window opens and **has to stay open until the video is stored**. It can take a long time.
4. Leave the window open. It sends the video to your WebDAV in parts and shows progress. The extension's settings list big videos under **Big videos** until you forget them.

> [!WARNING]
> Closing the transfer window stops the sending. What the server already has stays. Open the transfer again and press **Resume**: it carries on where the server has it and sends only what is missing. The sending uses this computer's internet connection, and for a YouTube video the page must be open in this browser.

## What the post page shows

On the post, a big video has its own panel. Depending on its state you can:

- **Play it here** and **Download** the video. Parts are joined as they are read. A download of the parts can resume if it breaks.
- **Make one file on my WebDAV**: join the parts into a single file, which makes playing and downloading simpler. **Remove the one-file copy** deletes only that copy.
- **Check parts** to compare what is stored with what was sent.
- **Remove this video from your WebDAV** to delete it. This asks first.

A big video counts toward the post's size in the library, so **Largest first** puts it where it belongs.

## Make a smaller copy

A big video can be converted into a much smaller file on your server. It never touches the original.

1. Press **Make a smaller copy** and pick **How small**:

| Choice | What it does |
| --- | --- |
| **Smaller, quality kept** | AV1, 10-bit. The picture keeps its size and looks the same, at a fraction of the file size. |
| **Much smaller** | AV1, 10-bit, stronger squeeze. Fine detail may soften. |
| **1080p, small**, **720p**, **480p**, **360p**, **240p**, **144p** | AV1, 10-bit, no taller than that many lines. A size that would not be smaller than the video is greyed out with the reason. |

2. The server converts a **30-second sample** from the middle of the video and tells you how big the whole copy would be and about how long it would take.
3. Press **Convert** (or **Not now**). Nothing long-running starts before you press it.
4. The conversion runs in the background, **one at a time**, at low priority, with at most two processor threads, so the server stays usable. Several requests wait in a line. The queue icon shows them: see [The queue](https://crawl-docs.pdhq.win/guide/the-queue.md). **Stop** takes a job out.

Sound is copied as it is, so surround and object sound (Atmos, DTS and others) stay untouched.

**What it refuses:**

- A picture taller than about 2200 lines (4K) is not converted at its own size, because it would take days. **1080p, small** makes the picture smaller first and can run.
- A **Dolby Vision** video is not converted unless you choose **Convert anyway**. The message says: converting keeps its HDR10 colours but loses the Dolby Vision layer. HDR10+ extras were not specially handled and not tested.

**HDR10 is kept:** the colour information is kept, and so are HDR10's **mastering numbers** (the display the video was graded on and its light levels). The server reads them from the first frame and gives them to the encoder. If the video has none, it is converted without them, and the sample's note says which.

**Checks before it says Done:** the copy is smaller than the original, has the same length and the same sound tracks, decodes all the way through, and when read back from WebDAV has the same SHA-256 as what was sent. A copy under 9.5 GiB is stored as one file, a bigger one as parts of 256 MB.

When it is done you can **Play it**, **Download it**, or **Remove this copy**.

### Watch while it converts

**Watch while it converts** plays the video as far as it has been converted while the job runs. There is no seeking, because its length is not known yet. A size picked from the player's quality menu starts its conversion straight away, with no question. Once that size is **3%** along, its row says **Preparing 45% · watch it now** (with its own percent), and picking it swaps the player for this live preview. Before 3%, while waiting, or when finished, it behaves as before: a finished one is a normal pick and plays with seeking.

The converted video is still stored on WebDAV **when it is done**, as one file (or parts, when over 9.5 GiB), because WebDAV refuses an upload with no length. So it streams while it converts and saves when it finishes. The live copy is removed at the end, and it needs room on the server's disk beside the result.

## Attach a file you converted yourself

For a video the server cannot convert at its own size (an 8K video, for example), convert it on your own computer and attach the result.

1. On the big video's panel, press **Attach a file you converted yourself**.
2. Under **This file is the size**, pick which size the file stands for. Any size with no copy yet will do, and the server's own limits for 8K do not apply to a file you made.
3. Drop the converted file in the box, or press **Choose the converted file**. It is sent with progress. **Cancel** stops it, and the server throws the half file away.
4. The file joins the same one-at-a-time line as a server-made copy, and gets the same kind of checks.

**What is checked:** your file must be **smaller** than the raw video (refused at once if not), **have a picture**, be the **same length** (within 1.5 seconds), have the **same number of sound tracks**, and **play all the way through** (decoded with ffmpeg). It is then stored on WebDAV (one file, or parts when over 9.5 GiB) and read back with the same fingerprint. If the original is HDR10 and your file is not, a note says so, but it does not stop the file: it is said, not judged. The server also needs about 1.1 times the file's size free on its disk while it checks it.

It refuses when the original was already removed, when that size already has a copy (remove it first), or when a copy of that size is already being made.

The copy shows as **Made by you**, and the queue says **checking your file** while it is checked. **Remove the raw video** then works on it exactly as on a server-made copy. The app never removes the raw video by itself.

An attached file keeps the container it came in. It is stored as `video.mp4` and served as `video/mp4`, so a `.mkv` may not play in the browser. The checks only prove that ffmpeg can read it.

## Remove the raw video

When a smaller copy has finished and passed every check, **Remove the raw video** deletes the original parts to free space.

- It asks for **your password**, because it removes files for good.
- It checks again, just before deleting, that the smaller copy is whole on WebDAV, and refuses otherwise.
- The post then says the original was removed and only the smaller copy is kept.
- **Social Crawl never does this by itself.** Only you can press it, and a failed or stopped conversion never removes anything.

> [!WARNING]
> Afterwards the raw video can no longer be downloaded, joined, checked or converted again. If the video is still online, you can save it again from its page.

## What has not been tried

> [!NOT-TESTED]
> Conversion was tested with real ffmpeg against a stand-in WebDAV server. It has not been run on a real server with a real long video, and the SVT-AV1 encoder was not tried on the server's own ffmpeg. HDR10 mastering numbers were tested on a synthetic file, not on a real HDR10 video through a whole conversion. "Watch while it converts" plays about as fast as the server converts, so a heavy video (8K, for example) is not real time and its preview runs behind and stalls. **Attach a file you converted yourself** was tested with real ffmpeg, but its dialog was not tried in a browser, and neither was a real 8K file or one over 10 GiB on a real WebDAV.
