# Batch Generator

This feature enables batch processing of the Generate Facial Data operation.

1. Easily group and configure diverse facial video paths with different settings, creating a well-organized task list
2. Tasks are preserved in a managed list, enabling you to add mid-process footage, resume incomplete tasks, or retry failed ones seamlessly
3. Seamlessly integrate with existing YanusLIVE features to monitor input and output before and after conversion with a single click

<figure><img src="/files/d8zqC37opp2z7xAZRF1D" alt=""><figcaption><p>Batch Generator</p></figcaption></figure>

{% hint style="info" %}
Please refer to the enlarged screenshot above for details. The task configuration is divided into three sections following the setup sequence. Upon pressing the Generate button to initiate the task, the overall progress bar appears at the bottom.
{% endhint %}

Next, please note the key points related to the interface.

## Search

Search Video Files Containing Keywords in the Selected Folder

* **Include Subdirectories** :  whether to search within subdirectories
* **Auto-Detect Rotation**:  auto detection of face rotation in video

Configure the path, keywords, and options, then click the magnifying glass icon to list search results in the Video Files section.

## Video Files & Task Options

* **Checkbox in the First Column**:  for adding the tasks
* **Selection of Multiple Rows (Highlighted in Blue)** :  to modify task options
* **Settings and Actor Profile** : Default to the current YanusLIVE settings
* **Output Folder** :  Default to the same directory as the video files

#### Generate Options

* **Modify Options per Item**: Double-click an item or use the right-click context menu to change options
  * Access the context menu by right-clicking on a single item.&#x20;
  * Double-clicking the File Name column enables direct playback of the associated video in the YanusLIVE main window.

<figure><img src="/files/9cQUSsQHw42pd0ezHcFj" alt="" width="442"><figcaption><p>Batch Generator > Video Files &#x26; Task Options > Context Menu</p></figcaption></figure>

* **Batch Modification**:  Select multiple rows and use **Options** button to apply changes to all
  * Enter only the fields to modify, then click Apply to batch update blue-highlighted files.

<figure><img src="/files/niq7dmqTWP3Woyg4SEQh" alt="" width="563"><figcaption><p>Batch Generator >  Video Files &#x26; Task Options > Generate Options</p></figcaption></figure>

Once files are selected and options configured, clicking the **Add Tasks** button adds the details to the Generate Task Queue table.&#x20;

## Generate Task Queue

The following are the function buttons.

* **Initialize** : Clear the Task queue
* **Generate** :  Executes the queued tasks.
* **Pause** :  Temporarily pause task execution
* **Stop** :  Stops all tasks (task currently being processed will be cancelled).
* **OK** :  Close Batch Generator (if tasks are running or paused, they should be stopped)

{% hint style="info" %}
Closing the window prior to initializing with the Initialize button automatically saves the Generate Task Queue configurations. Task additions can then be resumed via the Video Files & Task Options section. This management functionality enables task definitions with varying Actor Profile applications per actor and distinct Settings for each shooting unit.
{% endhint %}

<figure><img src="/files/901syESF8ygrIjGYm4pM" alt="" width="563"><figcaption><p>Batch Generator > Generate Task Queue > Context Menu</p></figcaption></figure>

Items can be managed through the context menu, accessible by right-clicking both prior to and after generation. Additionally, the generated CSV file can be launched in the YanusLIVE main window using the specified settings.


---

# 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://docs.yanusstudio.com/yanuslive/menu-windows/batch-generator.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.
