init repo

This commit is contained in:
Artur 2025-06-26 16:30:05 +03:00
commit acdc6a2843
6 changed files with 38 additions and 0 deletions

0
.gitignore vendored Normal file
View File

3
.gitmodules vendored Normal file
View File

@ -0,0 +1,3 @@
[submodule "GStreamerLatencyPlotter"]
path = GStreamerLatencyPlotter
url = https://github.com/podborski/GStreamerLatencyPlotter.git

@ -0,0 +1 @@
Subproject commit 6dfa0884c75804e877f15c67e8b21dbf32815b23

8
decklinkTest.sh Executable file
View File

@ -0,0 +1,8 @@
gst-launch-1.0 \
decklinkvideosrc \
device-number=1 \
connection=1 \
mode=auto \
drop-no-signal-frames=true \
! videoconvert \
! autovideosink sync=false

12
gst.sh Executable file
View File

@ -0,0 +1,12 @@
#!/bin/bash
gst-launch-1.0 decklinkvideosrc drop-no-signal-frames=true mode=auto device-number=1 connection=1 ! \
capsfilter caps="video/x-raw,format=(string)UYVY" ! \
glupload ! \
glcolorconvert ! \
capsfilter caps="video/x-raw(memory:GLMemory),format=(string)BGRA" ! \
nvh264enc ! \
capsfilter caps="video/x-h264,profile=baseline" ! \
h264parse config-interval=1 ! \
mpegtsmux ! \
rtpmp2tpay ! \
udpsink host=239.239.239.3 port=8889 auto-multicast=true sync=false async=false qos=false

14
gstVideoOut.sh Executable file
View File

@ -0,0 +1,14 @@
#!/bin/bash
GST_DEBUG_COLOR_MODE=off \
GST_TRACERS="latency(flags=pipeline+element)" \
GST_DEBUG="GST_TRACER:7" \
GST_DEBUG_FILE=latency_traces.log \
gst-launch-1.0 decklinkvideosrc drop-no-signal-frames=true mode=auto device-number=1 connection=1 ! \
glupload ! \
glcolorconvert ! \
capsfilter caps="video/x-raw(memory:GLMemory)" ! \
nvh264enc rc-mode=2 bitrate=10000 preset=3 gop-size=0 bframes=0 b-adapt=false zerolatency=true ! \
capsfilter caps="video/x-h264,profile=main" ! \
nvh264dec ! \
glcolorconvert ! \
glimagesink sync=false