> For the complete documentation index, see [llms.txt](https://help.imotions.com/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://help.imotions.com/lab/import-and-post-processing/re-encoding-of-incompatible-video-stimuli.md).

# Re-Encoding of Incompatible Video Stimuli

Fix lagging, flickering or poor-audio video stimuli with Convert videos for compatibility, which re-encodes them to the iMotions Lab default format.

**Overview:**

This article describes how you can easily re-encode video stimuli that are not working properly in iMotions, e.g. lagging, flickering, or with poor audio. Note, this feature will not convert video files to different formats, but will re-encode your video stimuli to iMotions’ default and replace it with the original stimulus.

**How to identify erroneous video stimuli:**

Ideally, erroneous video stimuli should be identified before the actual data collection step. The easiest way to make sure that your video stimuli are running properly in iMotions, is to use the preview function. After adding stimuli in iMotions, your study can be previewed by clicking the preview button as illustrated below.

![example.png](https://286068319-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FNLNBWkNpljDaAj5rQtNa%2Fuploads%2Fgit-blob-553fa7551039e6f162b6528a3849fa7f4cf3ec49%2F2a0d46112f_example.webp?alt=media)

Note, re-encoding of your video stimuli can also be done after data has been collected in iMotions.

**How to re-encode video stimuli:**

To re-encode your video stimuli, right-click on the study containing the erroneous stimulus and press ‘Convert videos for compatibility’ in the occurring window as illustrated below. This may take a moment and will only work for video stimuli.

![](https://286068319-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FNLNBWkNpljDaAj5rQtNa%2Fuploads%2Fgit-blob-f0fc8f65692b821d67529528f551237f71e6744c%2F826741d1b1_qe23welpwkotunmcklutnwmceclip1.webp?alt=media)

**Advanced feature use for face recordings:**

In case you recorded videos outside of iMotions and experience erroneous videos when you import them for facial coding with the AFFDEX post-processing feature, the following can be done:

1\. Create a study in iMotions and add the recordings as video stimuli.

2\. Re-encode the recordings with the 'Convert videos for compatibility' function as described above.

3\. Locate the re-encoded videos from the study folder by right-clicking on the study and selecting 'Explore Folder' as illustrated below. The converted videos will be located in the 'Stimuli' folder.

![](https://286068319-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FNLNBWkNpljDaAj5rQtNa%2Fuploads%2Fgit-blob-663d37f241ee014f1b5eed150741283d5b254967%2F21fe06f35c_s3j0njsuk6br5ihvzbyamceclip2.webp?alt=media)

4\. Set up your study for AFFDEX post-processing using the re-encoded videos.


---

# Agent Instructions
This documentation is published with GitBook. GitBook is the documentation platform designed so that both humans and AI agents can read, navigate, and reason over technical content effectively. Learn more at gitbook.com.

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

Perform an HTTP GET request on the following URL with the `ask` and `goal` query parameters:

```
GET https://help.imotions.com/lab/import-and-post-processing/re-encoding-of-incompatible-video-stimuli.md?ask=<question>&goal=<user_goal>
```

`ask` is the immediate question: it should be specific, self-contained, and written in natural language.
`goal` is what the user is ultimately trying to achieve, the reason they need the answer. Sharing it helps GitBook give you a better, more relevant answer. A goal is most helpful when it describes the outcome the user wants rather than restating the question. For example, with `ask=how do I create an API token`, a goal like `automate deployments from our CI pipeline` lets GitBook tailor the answer to that use case.

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.
