In your format setup callback, your basics steps. Because mine does not work as I wish unsigned VLCReader::cb_setup(void **opaque, char *chroma, unsigned *width, unsigned *height, unsigned *pitches, unsigned *lines) { VLCReader *p = (VLCReader*)opaque; memcpy(chroma, "RV24", sizeof("R...