I tried to build both versions from last release and from trunk, but when I run example pipelines, I get errors like this:
Setting pipeline to PAUSED ... /GstPipeline:pipeline0/GstVideoTestSrc:videotestsrc0.GstPad:src: caps = video/x-raw-yuv, format=(fourcc)UYVY, color-matrix=(string)sdtv , chroma-site=(string)mpeg2, width=(int)320, height=(int)240, framerate=(fraction)30/1 Pipeline is PREROLLING ... /GstPipeline:pipeline0/GstVideoTestSrc:videotestsrc0.GstPad:src: caps = video/x-raw-yuv, format=(fourcc)UYVY, color-matrix=(string)sdtv , chroma-site=(string)mpeg2, width=(int)720, height=(int)480, framerate=(fraction)30/1 /GstPipeline:pipeline0/GstTIDmaiVideoSink:tidmaivideosink0.GstPad:sink: caps = video/x-raw-yuv, format=(fourcc)UYVY, color-matrix=(stri ng)sdtv, chroma-site=(string)mpeg2, width=(int)720, height=(int)480, framerate=(fraction)30/1 Pipeline is PREROLLED ... Setting pipeline to PLAYING ... New clock: GstSystemClock delay stream on .... davinci_v4l2 davinci_v4l2.1: sizeimage is less, 691200 ERROR: from element /GstPipeline:pipeline0/GstTIDmaiVideoSink:tidmaivideosink0: Unable to initialize display Additional debug info: gsttidmaivideosink.c(1657): gst_tidmaivideosink_render (): /GstPipeline:pipeline0/GstTIDmaiVideoSink:tidmaivideosink0 Execution ended after 44092208 ns. Setting pipeline to PAUSED ... Setting pipeline to READY ... /GstPipeline:pipeline0/GstTIDmaiVideoSink:tidmaivideosink0.GstPad:sink: caps = NULL /GstPipeline:pipeline0/GstVideoTestSrc:videotestsrc0.GstPad:src: caps = NULL Setting pipeline to NULL ... Freeing pipeline ...
Here's a pipeline I use for example:
gst-launch -v videotestsrc ! TIDmaiVideoSink videoStd=D1_NTSC videoOutput=composite accelFrameCopy=FALSE sync=false
I just took it from http://processors.wiki.ti.com/index.php/Example_GStreamer_Pipelines#Loopback:_Video_4.
I've already found some suggestions, but they didn't help me: http://e2e.ti.com/support/embedded/linux/f/354/p/91082/316973.aspx#316973.
So, when I run
gst-launch videotestsrc peer-alloc=false ! TIDmaiVideoSink useUserptrBufs=true numBufs=3 videoStd=D1_PAL videoOutput=composite
I get this:
Setting pipeline to PAUSED ... Pipeline is PREROLLING ... Pipeline is PREROLLED ... Setting pipeline to PLAYING ... New clock: GstSystemClock davinci_v4l2 davinci_v4l2.1: Before finishing with S_FMT: layer.pix_fmt.bytesperline = 1440, layer.pix_fmt.width = 720, layer.pix_fmt.height = 576, layer.pix_fmt.sizeimage =829440 davinci_v4l2 davinci_v4l2.1: pixfmt->width = 720, layer->layer_info.config.line_length= 1440 davinci_v4l2 davinci_v4l2.1: timeperframe cannot exceed hardware framerateERROR: from element /GstPipeline:pipeline0/GstTIDmaiVideoSink :tidmaivideosink0: Unable to initialize display Additional debug info: gsttidmaivideosink.c(1657): gst_tidmaivideosink_render (): /GstPipeline:pipeline0/GstTIDmaiVideoSink:tidmaivideosink0 Execution ended after 168182209 ns. Setting pipeline to PAUSED ... Setting pipeline to READY ... Setting pipeline to NULL ... Freeing pipeline ...