iMX6 stream mixing

キャンセル
次の結果を表示 
表示  限定  | 次の代わりに検索 
もしかして: 

iMX6 stream mixing

758件の閲覧回数
nmak
Contributor I

Given two input tv streams, how can I mix them?

gst-launch -v \

  videomixer name=mix \

  ! mfw_v4lsink disp-width=640 disp-height=960 rotate=180 deinterlace=false \

  tvsrc device=/dev/video0 \

  ! ffmpegcolorspace \

  ! queue \

  ! mix.  \

  tvsrc device=/dev/video1 \

  ! ffmpegcolorspace \

  ! queue \

  ! videobox border-alpha=0 top=-480 left=0 bottom=0 right=0 \

  ! queue \

  ! mix.

This use of videobox works but the cpu cannot keep up with the framerate sent to video box. The other pipes are being handled by the IPU which does the necessary hardware acceleration.

Is there a different plugin I could use?

I have also tried reducing the framerate but nothing I do seems to work.

gst-launch -v tvsrc fps-n=1 ! videorate !'video/x-raw-yuv, width=(int)720, height=(int)480, framerate=(fraction)1/1' ! mfw_v4lsink

gst-launch -v tvsrc fps-n=1 ! mfw_ipucsc ! videocrop left=0 right=0 ! videomaxrate average-period=10000000000 ! mfw_v4lsink  device=/dev/video17 deinterlace=false

0 件の賞賛
返信
1 返信

598件の閲覧回数
joanxie
NXP TechSupport
NXP TechSupport

you can refer to the link as below,

mix two video sources into one (side-by-side)

0 件の賞賛
返信