seqsense / sq-gst-go Goto Github PK
View Code? Open in Web Editor NEWGolang bindings for gstreamer miscellaneous functions
License: Apache License 2.0
Golang bindings for gstreamer miscellaneous functions
License: Apache License 2.0
GoでUDPを前処理して、Gst pipelineに流し、pion/webrtcでブラウザに配信するようなことができるようにする
Gstreamer 1.14.4, 1.16.0 causes segmentation fault. (1.14.1 doesn't.)
fatal error: unexpected signal during runtime execution
[signal SIGSEGV: segmentation violation code=0x80 addr=0x0 pc=0x7f70168ef6b3]
runtime stack:
goroutine 5 [syscall]:
github.com/seqsense/sq-gst-go/gstlaunch._Cfunc_create(0x193a220, 0xc000000150, 0x0)
_cgo_gotypes.go:220 +0x4e
github.com/seqsense/sq-gst-go/gstlaunch.New(0xc000129180, 0x1ba, 0x0, 0x0, 0x0)
/go/pkg/mod/github.com/seqsense/[email protected]/gstlaunch/gstlaunch.go:65 +0x121
main.gstPipelineRunner(0x9bcdc0, 0xc000026744)
/go/src/seqsense/sq-video-gw/video-sender/gst.go:47 +0x104
created by main.main
/go/src/seqsense/sq-video-gw/video-sender/main.go:52 +0x14e
segmentation fault in gst_parse_launch
function.
received signal SIGSEGV, Segmentation fault.
[Switching to LWP 13]
0x00007ffff7e35590 in g_type_check_instance_cast ()
from /usr/lib/libgobject-2.0.so.0
(gdb) i s
#0 0x00007ffff7e35590 in g_type_check_instance_cast ()
from /usr/lib/libgobject-2.0.so.0
#1 0x0000000000810643 in cbMessage (bus=<optimized out>, msg=0xe6ae10,
p=0xdf9ea0) at gstlaunch.c:42
#2 0x00007ffff7e93012 in ?? () from /usr/lib/libgstreamer-1.0.so.0
#3 0x00007ffff7d58414 in g_main_context_dispatch ()
from /usr/lib/libglib-2.0.so.0
#4 0x00007ffff7d5868d in ?? () from /usr/lib/libglib-2.0.so.0
#5 0x00007ffff7d58943 in g_main_loop_run () from /usr/lib/libglib-2.0.so.0
#6 0x000000000045aa10 in runtime.asmcgocall ()
at /usr/local/go/src/runtime/asm_amd64.s:635
#7 0x0000000000437061 in runtime.park_m (gp=0xc000070300)
at /usr/local/go/src/runtime/proc.go:2605
#8 0x000000c000070900 in ?? ()
#9 0x000000c000070300 in ?? ()
#10 0x0000000000000000 in ?? ()
(gdb) up
#1 0x0000000000810643 in cbMessage (bus=<optimized out>, msg=0xe6ae10,
p=0xdf9ea0) at gstlaunch.c:42
42 gstlaunch.c: No such file or directory.
(gdb) p msg
$1 = (GstMessage *) 0xe6ae10
(gdb) p *msg
$2 = {mini_object = {type = 13933824, refcount = 1, lockstate = 0, flags = 0,
copy = 0x7ffff7eb24be, dispose = 0x7ffff7eb2288, free = 0x7ffff7eb23f2,
n_qdata = 0, qdata = 0x0}, type = GST_MESSAGE_STATE_CHANGED,
timestamp = 18446744073709551615, src = 0xe99930, seqnum = 473020, lock = {
p = 0x0, i = {0, 0}}, cond = {p = 0x0, i = {0, 0}}}
(gdb) p ctx
$3 = (Context *) 0xdf9ea0
(gdb) p *ctx
$4 = {pipeline = 0x1, bus = 0x0, user_int = 0, watch_tag = 0}
pipeline pointer is invalid.
Apache 2.0
like https://github.com/seqsense/kinesisvideomanager
This issue lists Renovate updates and detected dependencies. Read the Dependency Dashboard docs to learn more.
These updates have all been created already. Click a checkbox below to force a retry/rebase of any.
.github/workflows/ci.yml
actions/checkout v4
actions/setup-go v4
go.mod
go 1.13
A declarative, efficient, and flexible JavaScript library for building user interfaces.
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google ❤️ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.