[gst-devel] filesink problem with some colorspaces

Tim Müller t.i.m at zen.co.uk
Thu Aug 16 21:11:08 CEST 2007


On Thu, 2007-08-16 at 20:25 +0200, Georg Holzmann wrote:

> gstbasesrc.c:1816:gst_base_src_loop:<source_> error: streaming task 
> paused, reason not-negotiated (-4)
>
> Maybe someone has an idea what I am making wrong or how I can try to 
> debug the further ?

Go for a *:5 debug log and write it to a file. Then load it, search for
not-negotiated and read the 20 or so lines above that. If you're lucky,
you might find some more information there. The most likely reason is
that ffmpegcolorspace didn't accept your input caps here.

>      case RGBA:
>      default:
>        gst_app_src_set_caps ( GST_APP_SRC(source_),
>                         gst_caps_new_simple ("video/x-raw-rgb",
> 	     "width", G_TYPE_INT, xsize,
> 	     "height", G_TYPE_INT, ysize,
> 	     "bpp", G_TYPE_INT, 32,
> 	     "depth", G_TYPE_INT, 32,
> 	     "red_mask",   G_TYPE_INT, 0xff000000,
> 	     "green_mask", G_TYPE_INT, 0x00ff0000,
> 	     "blue_mask",  G_TYPE_INT, 0x0000ff00,
> 	     "alpha_mask", G_TYPE_INT, 0x000000ff,
>               "framerate", GST_TYPE_FRACTION, fr1, fr2,
> 				     NULL)
>                         );

I think you might be missing an endianness field here (it should be of
G_TYPE_INT and be either G_LITTLE_ENDIAN or G_BIG_ENDIAN).

Cheers
 -Tim







More information about the gstreamer-devel mailing list