normalize_media
Queue video conversion into render-ready, constant-frame-rate H.264 copies with normalized rotation, audio, and dimensions for downstream face-swap rendering.
Instructions
Queue conversion of a video into a render-ready copy. Runs on CPU without the GPU lock.
Output is CFR H.264 (CRF 18, yuv420p) starting at zero, with rotation applied, metadata removed and odd dimensions padded by one pixel. The first audio stream becomes AAC aligned to the first video frame. Without fps, the source average rate is used, snapped to a standard rate within 2%. The completed result's media_path is usable in submit_swap.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| fps | No | Output rate such as 25, 29.97 or '30000/1001'; default from the source | |
| job_id | No | ||
| media_path | Yes |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||