creating a new video out module

Samuel Hocevar sam at
Wed Sep 4 16:06:36 CEST 2002

On Wed, Sep 04, 2002, Bram Stolk wrote:

> Strangely enough, if I feed vlc an MPEG of size 352x288, I get this
> output on CVS version:
> Dummy render. Y=704x288, U=0x0, V=0x0

   This is because dummy allocates an RGB image by default. Add this line
to see the currently used chroma for output:

    printf("chroma %4.4s -> %4.4s\n", p_vout->render.i_chroma,

   You probably want to use the --dummy-chroma or even force the output
chroma in the source code. See the Init() function in dummy/vout.c for
how RV16 is forced. For a list of picture formats internally used by
vlc, you can see src/video_output/vout_pictures.h.

> Does the dummy somehow get a rescaled version of the frames?

   No, but since RV16 is 16 bits (2 bytes) per pixel, p_pitch is twice
the number of pixels in a line (hence 704 = 352*2).

> And also, why are UV missing from the frames?

   Because planar RV16 has only one plane. Use planar YUV such as I420
to get three planes.

This is the vlc-devel mailing-list, see
To unsubscribe, please read
If you are in trouble, please contact <postmaster at>

More information about the vlc-devel mailing list