[FFmpeg-user] Question for FFmpeg-user list

Seth Ansell seth.ansell at motional.com
Mon Aug 1 05:38:14 EEST 2022

Thank you James.

I will try that out and let you know how it works.



-----Original Message-----
From: ffmpeg-user <ffmpeg-user-bounces at ffmpeg.org> On Behalf Of James Insell
Sent: Sunday, July 31, 2022 6:26 PM
To: ffmpeg-user at ffmpeg.org
Subject: Re: [FFmpeg-user] Question for FFmpeg-user list

Hi Seth,

You can show the list of pixel formats supported by ffmpeg with the command
"ffmpeg -pix_fmts".  Unfortunately I don't think CrYCbY (which is
practically equivalent to VYUY) is among them.

What I would suggest is to treat the format as if it were UYVY 4:2:2
( -pixel_format uyvy422 ) and then use the "swapuv" filter. You will then be
able to use your captured video within ffmpeg and the colours will be
correct, and you can save it as UYVY 4:2:2.

If you REALLY want to deal with the captured video without any changes
whatsoever, you can still read in / save it as VYUY with the UYVY format
container, but don't try and view it without swaping U and V.

I hope that helps.



On 31/07/2022 22:26, Seth Ansell wrote:
> Hello,
> I am a newbie to FFmpeg, but in viewing the documentation, I am unable to
> learn the command to do the following.   I have a video board that is
> outputting YCrCb 4:2:2 (the manufacturer says the order is CrYCbY………).
> I wish to write this video output to a in a raw 4:2:2 format exactly
> as it comes off of the board, no header, no padding, no changes at all.
> If someone can please advise me as to the proper command in FFmpeg to
> accomplish this, it would be much appreciated.
> Thank you (in advance.
> --Seth
ffmpeg-user mailing list
ffmpeg-user at ffmpeg.org

To unsubscribe, visit link above, or email ffmpeg-user-request at ffmpeg.org
with subject "unsubscribe".


This email originated OUTSIDE the organization. Do not click any links or
attachments unless you know the sender.

This email contains information belonging to Motional AD LLC or its 
affiliates and may contain confidential, proprietary, copyrighted and/or 
privileged information. Any unauthorized review, use, reliance, disclosure, 
distribution or copying is prohibited. If you are not the intended 
recipient, immediately destroy all copies of the original email and any 
attachments and contact the sender by reply email.

More information about the ffmpeg-user mailing list