aboutsummaryrefslogtreecommitdiff
path: root/gst/gst.go
diff options
context:
space:
mode:
authordakkar <dakkar@thenautilus.net>2020-07-25 12:43:07 +0000
committerdakkar <dakkar@thenautilus.net>2020-07-25 12:43:07 +0000
commit163cb579fa7971255c71a64326f17a912ccbcd62 (patch)
tree7eb465176a6d50f6267c07a41e19941ced915361 /gst/gst.go
parentworks now! (diff)
downloadrtwatch-163cb579fa7971255c71a64326f17a912ccbcd62.tar.gz
rtwatch-163cb579fa7971255c71a64326f17a912ccbcd62.tar.bz2
rtwatch-163cb579fa7971255c71a64326f17a912ccbcd62.zip
fix aspect ratio, still scale
Diffstat (limited to 'gst/gst.go')
-rw-r--r--gst/gst.go4
1 files changed, 2 insertions, 2 deletions
diff --git a/gst/gst.go b/gst/gst.go
index 5bfc940..4bac973 100644
--- a/gst/gst.go
+++ b/gst/gst.go
@@ -38,8 +38,8 @@ filesrc location="%s"
demux.
! queue
! videoconvert
-! videoscale
-! video/x-raw,width=800,height=600
+! videoscale add-borders=1
+! video/x-raw,width=1024,pixel-aspect-ratio=1/1
! vp8enc deadline=1
! appsink name=video