gstreamer mosaic

cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

gstreamer mosaic

3,022 Views
ieio
Contributor IV

Hi,

I am trying to create a mosaic of multiple rstp flows using videomixer element on a sabrelite.

Each flow should be a tile.

I started with two flows

gst-launch -e videomixer name=mix \

sink_0::xpos=0   sink_0::ypos=0 \

sink_1::xpos=320 sink_1::ypos=0 \

sink_2::xpos=0   sink_2::ypos=0 \

! videobox ! mfw_isink sync=false\

  rtspsrc location=rtsp://192.168.94.100:554/live.sdp  ! rtpmp4vdepay ! vpudec low-latency=true frame-plus=1 framedrop=true  ! videoscale ! video/x-raw-yuv,width=320,height=240 ! mix.sink_0 \

  rtspsrc location=rtsp://192.168.94.101:554/live.sdp  ! rtpmp4vdepay ! vpudec low-latency=true frame-plus=1 framedrop=true  ! videoscale ! video/x-raw-yuv,width=320,height=240 ! mix.sink_1 \

  videotestsrc pattern=2 ! videoscale! video/x-raw-yuv,width=640,height=480 ! mix.sink_2

but what I get is  the following log:

MFW_GST_ISINK_PLUGIN 3.0.2 build on Dec 19 2012 10:56:54.

Setting pipeline to PAUSED ...

[INFO]  Product Info: i.MX6Q/D/S

vpudec versions :smileyhappy:

        plugin: 3.0.2

        wrapper: 1.0.24(VPUWRAPPER_ARM_LINUX Build on Dec 18 2012 07:12:03)

        vpulib: 5.4.6

        firmware: 2.1.7.33576

[INFO]  Product Info: i.MX6Q/D/S

vpudec versions :smileyhappy:

        plugin: 3.0.2

        wrapper: 1.0.24(VPUWRAPPER_ARM_LINUX Build on Dec 18 2012 07:12:03)

        vpulib: 5.4.6

        firmware: 2.1.7.33576

Pipeline is live and does not need PREROLL ...

Setting pipeline to PLAYING ...

New clock: GstSystemClock

ERROR: from element /GstPipeline:pipeline0/GstRTSPSrc:rtspsrc1/GstUDPSrc:udpsrc1: Internal data flow error.

Additional debug info:

gstbasesrc.c(2582): gst_base_src_loop (): /GstPipeline:pipeline0/GstRTSPSrc:rtspsrc1/GstUDPSrc:udpsrc1:

streaming task paused, reason not-negotiated (-4)

Execution ended after 2150406996 ns.

Setting pipeline to PAUSED ...

Setting pipeline to READY ...

Setting pipeline to NULL ...

Freeing pipeline ...

[--->FINALIZE isink

Any ideas of where I could be wrong?

Labels (3)
5 Replies

1,289 Views
LeonardoSandova
Specialist I

1. simplify the pipeline you are currently using, use only one stream. Better to debug one stream first.

2. You may also need to add a capsfilter element after the depay element, specifying the resolution. If you server is streaming using GStreamer, you can add -v in those pipelines and then copy and paste these caps into your board pipeline.

3. Freescale has a GST element which scales and does also color conversion, it is call mfw_ipucsc, check this link for more examples.

Leo

1,289 Views
ieio
Contributor IV

Thanks,

it works using mfw_ipucsc.

How many flows can I scale with mfw_ipucsc? It seems it cannot work with more than 2 flows.

0 Kudos

1,289 Views
LeonardoSandova
Specialist I

Hi, which board do you have? MX6S?

0 Kudos

1,289 Views
ieio
Contributor IV

I use  a sabrelite from boundary devices.

0 Kudos

1,289 Views
LeonardoSandova
Specialist I

Oh sorry, you specified the board (sabrelite) in your issue description. Let me query your question internally and let you know ASAP.

Leo

0 Kudos