FPGA Image Signal Processor - GStreamer Pipelines - ColorSpaceConversion

From RidgeRun Developer Connection
Jump to: navigation, search


Previous: GStreamer Pipelines/AutoWhiteBalance Index Next: GStreamer_Pipelines/HistogramEqualizer




Overview

FPGA-ISP CSC accelerator currently supports formats: ARGB, UYVY conversions. On this page, there are some GStreamer pipelines that you can use for testing the accelerator and tentatively, use in your application.

GStreamer Pipelines

With a videotestsrc

Source

This pipeline generates the frames and sends them to the accelerator.

gst-launch-1.0 videotestsrc ! video/x-raw,format=UYVY,width=320,height=240 ! queue ! v4l2sink device=/dev/video2 -v

Sink

This pipeline receives the ARGB stream from the accelerator and displays it into a videosink.

gst-launch-1.0 v4l2src device=/dev/video1 ! "video/x-raw,width=320,height=240,format=ARGB" ! perf ! videoconvert ! xvimagesink

Note: The videoconvert is used to be compatible with xvimagesink.

Please, pay attention to the devices:

/dev/video1: output port device
/dev/video2: input port device


Previous: GStreamer Pipelines/AutoWhiteBalance Index Next: GStreamer_Pipelines/HistogramEqualizer