19 lines
834 B
Bash
Executable File
19 lines
834 B
Bash
Executable File
#!/bin/bash
|
|
|
|
gst-launch-1.0 \
|
|
compositor name=comp background=1 sink_0::xpos=0 sink_0::ypos=0 sink_1::xpos=1920 sink_1::ypos=0 ! \
|
|
capsfilter caps='video/x-raw,width=3840, height=1080,framerate=60/1' ! \
|
|
nvvideoconvert ! \
|
|
capsfilter caps='video/x-raw(memory:NVMM),width=3840,height=1080,framerate=60/1,format=NV12' ! \
|
|
nvv4l2h264enc bitrate=8000000 control-rate=1 idrinterval=256 tuning-info-id=3 preset-id=1 profile=0 ! \
|
|
rtph264pay ! \
|
|
udpsink host=239.239.239.3 port=2055 auto-multicast=true sync=false async=false qos=false \
|
|
\
|
|
decklinkvideosrc device-number=0 connection=0 mode=1080p60 drop-no-signal-frames=false ! \
|
|
'video/x-raw,format=(string)UYVY' ! \
|
|
comp.sink_0 \
|
|
\
|
|
decklinkvideosrc device-number=1 connection=0 mode=1080p60 drop-no-signal-frames=false ! \
|
|
'video/x-raw,format=(string)UYVY' ! \
|
|
comp.sink_1
|