i found out that xvimage sink cannot display rgb for some reason (while ximagesink can)
example
Code:gst-launch -v videotestsrc ! ffmpegcolorspace ! video/x-raw-rgb ! xvimagesink
gives "cannot negotiate format"
but in our case we have "internal dataflow error" with xvimagesink and ximagesink .. something between dv to rgb conversion.
then i found ARToolkit forum thread about some axis cam, where they say that it is not possible to display cam output with gst-launch but that it does not matter since artoolkit can process stream, and they use fakesink.
then i tried normal web cam with v4l2 and same "buffer underflow" error happend.. that when i got crazy...
after removing spaces between capsfilter parameters it suddenly worked..
Code:"v4l2src ! ffmpegcolorspace ! video/x-raw-rgb,width=320,height=240,bpp=32,depth=24"
than i did same thing to dv1394src.. it WORKED!
now it works even with spaces beetwen parameters...
i can not explain it
so finaly this works.. tnx for replies
Code:cam = new GSPipeline(this, "dv1394src ! video/x-dv ! dvdemux ! dvdec ! ffmpegcolorspace ! video/x-raw-rgb, width=720, height=480, bpp=32, depth=24");