From 163cb579fa7971255c71a64326f17a912ccbcd62 Mon Sep 17 00:00:00 2001 From: dakkar Date: Sat, 25 Jul 2020 12:43:07 +0000 Subject: fix aspect ratio, still scale --- gst/gst.go | 4 ++-- 1 file 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 -- cgit v1.2.3