libvlc_video_set_format_callbacks chroma types

About encoding, codec settings, muxers and filter usage
roman808
New Cone
New Cone
Posts: 6
Joined: 28 Mar 2011 21:31

libvlc_video_set_format_callbacks chroma types

Postby roman808 » 29 Mar 2011 21:14

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

Rémi Denis-Courmont
Developer
Developer
Posts: 15323
Joined: 07 Jun 2004 16:01
VLC version: master
Operating System: Linux
Contact:

Re: libvlc_video_set_format_callbacks chroma types

Postby Rémi Denis-Courmont » 29 Mar 2011 22:21

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.
Rémi Denis-Courmont
https://www.remlab.net/
Private messages soliciting support will be systematically discarded


Return to “VLC stream-output (sout)”

Who is online

Users browsing this forum: No registered users and 4 guests