[gst-devel] filesink problem with some colorspaces
Tim Müller
t.i.m at zen.co.uk
Fri Aug 17 14:32:08 CEST 2007
On Fri, 2007-08-17 at 14:16 +0200, Georg Holzmann wrote:
> (...)
> Thanks, I already tried this, but it's the same.
> The error says:
> > Size 153600 is not a multiple of unit
> > > size 230400
>
> In my case the video is 320*240 = 76800, so the size for UYVY should be,
> 76800 * 2 = 153600. However, the error says it should be 230400 = 76800
> * 3, but thats not true.
> I get some recorded data if I set the size to 230400, but then the video
> is not correct, because it UYVY should be 2 bytes per pixes and not 3.
>
> And what makes me wondering even more: if I don't specify the BIG_ENDIAN
> in the RGBA/RGB format, UVUY recording is working with the same video
> (although I don't have something to do with RGBA/RGB in this case at all).
Just to make sure ... there is a break missing at the end of your 'case
YUV422P:' block before the 'case RGB:' label - is that a copy'n'paste
mistake or is that actually missing in your code?
Cheers
-Tim
More information about the gstreamer-devel
mailing list