Adding videoflip to pipeline creates errors

Rob Smith smith at trdeo.co.uk
Tue Mar 22 07:07:58 PDT 2011


Hello,

Thanks very much for that suggestion. It turns out videoflip and my TI
plugin must both be sensitive, as I have had to add ffmpegcolorspace
before and after videoflip, but it does work. So thanks very much.

Regards
Rob

On Tue, 2011-03-22 at 16:02 +0300, 4ernov wrote:
> Hi, Rob,
> 
> I've recently worked with videoflip, too, and I've noticed that it's
> pretty sensitive to colorspace of its input. Consider adding
> ffmpegcolorspace right before videoflip element in the second
> pipeline, I think it should help. In my case it also saved about 50%
> of CPU performance.
> 
> > Hello,
> >
> > I'm running into problems with my pipeline, where basically i'd like to
> > rotate the video source by 180 degrees. I'm running on an embedded
> > device, using TI hardware dsp encoder. The pipeline that i'm starting
> > with is this:
> >
> > v4l2src !
> > video/x-raw-yuv,format=(fourcc)UYVY,width=320,height=240,framerate=10/1 ! TIVidenc1 engineName=codecServer codecName=h264enc ! rtph264pay name=pay0 pt=96
> >
> > I'm using this pipeline with the example code found with the gst-rtsp
> > server package, and it works fine. However, whenever I add the videoflip
> > plugin, I just get errors. This is the pipeline i've tried:
> >
> > v4l2src !
> > video/x-raw-yuv,format=(fourcc)UYVY,width=320,height=240,framerate=10/1 ! videoflip method=2 ! TIVidenc1 engineName=codecServer codecName=h264enc ! rtph264pay name=pay0 pt=96
> >
> > which outputs the error messages:
> >
> > 0:00:08.377593970  1629    0x11008 ERROR
> > GST_PIPELINE ./grammar.y:614:gst_parse_perform_link: could not link
> > v4l2src0 to videoflip0
> > 0:00:08.388915992  1629    0x11008 ERROR
> > GST_PIPELINE ./grammar.y:614:gst_parse_perform_link: could not link
> > videoflip0 to tividenc10
> > 0:00:08.389617897  1629    0x11008 WARN        rtspmediafactory
> > rtsp-media-factory.c:508:default_get_element: recoverable parsing error:
> > could not link v4l2src0 to videoflip0
> > 0:00:08.420776344  1629    0x11008 WARN               rtspmedia
> > rtsp-media.c:911:alloc_udp_ports: multiudpsink version found without
> > buffer-size property
> > 0:00:16.318237290  1657    0x11008 WARN                    v4l2
> > gstv4l2object.c:1842:gst_v4l2_object_probe_caps_for_format:<v4l2src0>
> > Could not probe minimum capture size for pixelformat UYVY
> >
> >
> > I've also tried with queues added either side of videoflipCan anyone
> > give guidance as to these errors and warning, and what I might need to
> > add in the pipeline to fix this?
> >
> > Thanks very much,
> > Rob Smith




More information about the gstreamer-devel mailing list