<p>Recently, a bug was fixed in ffmpeg related to relaying of input color parameters onto the output. But this unmasked a bug in another component viz. updating color parameters when the scalers changes them. Till that is fixed, add <code>-colorspace rgb</code> as an output option with <code>libx264rgb</code>.</p>

CC BY-SA 4.0
2021-09-03T09:30:19.900Z
2021-09-03T09:30:19.900Z
Gyan
<p>When i was using ffmpeg i use libx264rgb to convert videos.</p>
<p>But when I converted a video there was a error.</p>
<p>I will put you a video so that you can see what happened.</p>
<p>Original:</p>
<p><a href="https://archive.org/download/error_202109/Test.mp4" rel="nofollow noreferrer">https://archive.org/download/error_202109/Test.mp4</a></p>
<p><a href="https://archive.org/download/error_202109/libx264.log" rel="nofollow noreferrer">https://archive.org/download/error_202109/libx264.log</a></p>
<p>Converted in libx264rgb:</p>
<p><a href="https://archive.org/download/error_202109/Test%20%281%29.mp4" rel="nofollow noreferrer">https://archive.org/download/error_202109/Test%20%281%29.mp4</a></p>
<p><a href="https://archive.org/download/error_202109/libx264rgb.log" rel="nofollow noreferrer">https://archive.org/download/error_202109/libx264rgb.log</a></p>
<p>if you could fix the libx264rgb error?</p>

<ffmpeg><video><libx264>
ffmpeg libx264rgb error
Fernando11101
# ffmpeg libx264rgb error

(Asked by: username_0 on 2021-09-02)

When i was using ffmpeg i use libx264rgb to convert videos.

But when I converted a video there was a error.

I will put you a video so that you can see what happened.

Original:

<https://archive.org/download/error_202109/Test.mp4>

<https://archive.org/download/error_202109/libx264.log>

Converted in libx264rgb:

<https://archive.org/download/error_202109/Test%20%281%29.mp4>

<https://archive.org/download/error_202109/libx264rgb.log>

if you could fix the libx264rgb error?

**Tags:** ffmpeg, video, libx264


---

## 1 answers

### Answer by username_1 on 2021-09-03. Score: 0

Recently, a bug was fixed in ffmpeg related to relaying of input color parameters onto the output. But this unmasked a bug in another component viz. updating color parameters when the scalers changes them. Till that is fixed, add `-colorspace rgb` as an output option with `libx264rgb`.


---

