[FFmpeg-user] HSV / RGB issue where picture is mostly Pink

Devin Heitmueller devin.heitmueller at ltnglobal.com
Tue Feb 15 17:38:28 EET 2022


On Mon, Feb 14, 2022 at 9:50 PM Jeffrey Carter <stealer at lesuorac.com> wrote:
>
> Hello,
>
> I am trying to use FFMPEG to send the output from a MS2109 HDMI to USB
> capture device to a RTSP server and then to VLC.
> I've previously used an EasyCap device (composite instead of HDMI)
> without issue.
>
> The problem is that after running the ffmpeg command and looking at
> the output in VLC the whites in the image appear pink and I believe
> it's the black that appear green. From my understanding this is a HSV
> vs RGB issue but I am unsure where the issue is originating from.
> Is there a way with FFMPEG to cast the image data so that it treats it
> as RGB/HSV without a conversion so I can get the color fixed?

While I can't speak to your specific situation, pink/green video
typically means that the Y and U/V channel are inverted.  Typically
this happens when you specify a pixel format of YUYV422 but get back
UYVY422 or the reverse.

Devin

-- 
Devin Heitmueller, Senior Software Engineer
LTN Global Communications
o: +1 (301) 363-1001
w: https://ltnglobal.com  e: devin.heitmueller at ltnglobal.com


More information about the ffmpeg-user mailing list