Skip to content

Instantly share code, notes, and snippets.

@KaairaGupta
Created June 22, 2020 19:26
Show Gist options
  • Save KaairaGupta/0bcb86038c3791521a3d3a229b3cfa17 to your computer and use it in GitHub Desktop.
Save KaairaGupta/0bcb86038c3791521a3d3a229b3cfa17 to your computer and use it in GitHub Desktop.
partial mapping from ffplay format names to actual formats
"422P" : "yuv422p",
"YM24" : "yuv444p",
"444P" : "yuv444p",
"YU12" : "yuv420p",
"YV12" : "yuv420p", (this will swap the colors but ffmpeg has no support for yvu)
"NV12" : "nv12",
"NV21" : "nv21",
"NM12" : "nv12",
"NM21" : "nv21",
(The nv16 does not work on ffplay)
"NV16" : "nv16",
"BA24" : "argb",
"GREY" : "gray",
"YUYV" : "yuyv422",
"RGBP" : "rgb565le",
"RGB3" : "rgb24",
"XR24" : "bgr0"
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment