> For the complete documentation index, see [llms.txt](https://helpdesk.ldtsoft.work/ldt-online-course/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://helpdesk.ldtsoft.work/ldt-online-course/troubleshoot/why-is-my-video-taking-a-long-time-to-process.md).

# Why Is My Video Taking a Long Time to Process?

What decides how long a video spends in the processing queue, and what to do about it

After an upload, the app transcodes the video into several quality versions so it can stream on different devices and connections. The queue is shared, so the same file can be quick at one time and slow at another.

### 1. Check the file size and resolution

A larger file and a higher resolution take longer: a 1 GB or 4K video needs much more work than a short 1080p clip. Trim the video or export a smaller version before uploading when you do not need the extra resolution.

### 2. Check the processing status in Files

Open **Files**, find the video and read its **Status**. The file is still in the queue while it is processing; wait for the versions to finish before using it in a lesson. Uploading the same file again only adds a second job to the queue.

![The Files list with each file's usage and size](https://3532245007-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FuRJ3j93eHyen8t2flj5y%2Fuploads%2Fgit-blob-51d45fc90062330c1a4d9d5736ff180f4bd5a847%2Fwhy-is-my-video-taking-a-long-time-to-process-files.png?alt=media)

### 3. Check the time of day

During peak hours many videos are processed at once, so your upload waits longer. The queue moves as fast as it can; a video that is slow at peak time is usually much faster later.

### 4. Retry only after a failure

If the status turns to failed, check the format and size, then upload a clean copy. For a video that already processed, use **Generate quality version** on the file page instead of re-uploading the whole file.

![Generate quality version in the video block settings](https://3532245007-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FuRJ3j93eHyen8t2flj5y%2Fuploads%2Fgit-blob-d73aa6afc5328f086127db537db6de72fc51eac5%2Fwhy-is-my-video-taking-a-long-time-to-process-quality.png?alt=media)

### Result

The file finishes processing and shows the quality versions in **Optimization**; the lesson can then play the video at the best quality for the student's connection. A queue delay is temporary, while a failed status needs a new upload or a missing quality version.

### Troubleshooting

* **The status stays on processing for a long time.** Wait; large files and peak hours are the usual causes, and re-uploading does not speed up the existing job.
* **The status says failed.** Check the file format and size, then upload a clean copy; a partially failed upload cannot be repaired by editing the lesson.
* **One quality version is missing.** Open the file and click **Generate quality version**; the app creates the missing version without a new upload.
* **The video plays badly after processing.** Check which quality version the player chose; a slow connection may need the lower version, and adaptive streaming needs the file to finish processing first.

### Related pages

* [How to manage your files library](https://helpdesk.ldtsoft.work/ldt-online-course/build-your-course/how-to-manage-your-files-library.md)
* [How to Create a Lesson with Direct Video Upload](https://helpdesk.ldtsoft.work/ldt-online-course/build-your-course/how-to-create-a-lesson-with-direct-video-upload.md)
* [Why do my uploads keep failing?](https://helpdesk.ldtsoft.work/ldt-online-course/troubleshoot/why-do-my-uploads-keep-failing.md)
