Page 1 of 1

libvlc_video_set_format_callbacks chroma types

Posted: 29 Mar 2011 21:14
by roman808
Hi,

I have a question regarding the libvlc_video_set_format_callbacks API in the livVLC 1.2.0:

what chroma types are supported by the setup callback function ?

Thanks in advamce

Re: libvlc_video_set_format_callbacks chroma types

Posted: 29 Mar 2011 22:21
by RĂ©mi Denis-Courmont
Any format supported by the VLC video output. The most commonly used are, in YCbCr domain:
  • I420: planar 4:2:0, order YUV
  • YV12: planar 4:2:0, order YVU
  • YUY2: packed 4:2:2, order YUYV
  • UYVY: packed 4:2:2, order UYVY
and in RGB domain (always packed):
  • RV32: 24-bits depth with 8-bits padding
  • RV24: 24-bits depth (like HTML colors)
  • RV16: 16-bits depth
  • RV15: 15-bits depth (5 per component), 1 bit padding
Most popular video codecs output I420. Video and screen captures are usually in RGB.