ziutek / gst

Go bindings for GStreamer (retired: currently I don't use/develop this package)
Other
170 stars 48 forks source link

issues running live_web.go example on go 1.4.1 #10

Open dhoss opened 9 years ago

dhoss commented 9 years ago

GST_DEBUG=3 go run live_webm.go 0:00:00.023227292 4260 0xc67090 WARN structure gststructure.c:195:gst_structure_validate_name: Invalid character ',' at offset 11 in structure name: video/x-raw,format=yuv

(live_webm:4260): GStreamer-CRITICAL **: gst_structure_new_empty: assertion 'gst_structure_validate_name (name)' failed

(live_webm:4260): GStreamer-CRITICAL **: gst_structure_take_value: assertion 'structure != NULL' failed

(live_webm:4260): GStreamer-CRITICAL **: gst_structure_take_value: assertion 'structure != NULL' failed

(live_webm:4260): GStreamer-CRITICAL **: gst_structure_take_value: assertion 'structure != NULL' failed 0:00:00.025233199 4260 0xc720a0 FIXME default gstutils.c:3643:gst_pad_create_stream_id_internal: Creating random stream-id, consider implementing a deterministic way of creating a stream-id 0:00:00.029249741 4260 0xc720a0 WARN basesrc gstbasesrc.c:2933:gst_base_src_loop: error: Internal data flow error. 0:00:00.029347884 4260 0xc720a0 WARN basesrc gstbasesrc.c:2933:gst_base_src_loop: error: streaming task paused, reason not-linked (-1)

go version go1.4.2 linux/amd64 gstreamer version 1.4.3.

dhoss commented 9 years ago

I upgraded to Ubuntu 15.04 and am still seeing the same results.

Example from simple.go:

$ go run simple.go

(simple:4272): GStreamer-CRITICAL **: gst_structure_new_empty: assertion 'gst_structure_validate_name (name)' failed

(simple:4272): GStreamer-CRITICAL **: gst_structure_take_value: assertion 'structure != NULL' failed

(simple:4272): GStreamer-CRITICAL **: gst_structure_take_value: assertion 'structure != NULL' failed

(simple:4272): GStreamer-CRITICAL **: gst_structure_take_value: assertion 'structure != NULL' failed EMPTY

It's difficult to determine what is missing, so here's a list of what I have installed:

dpkg -l |grep gstreamer

Package Version Arch Description
ii gir1.2-gstreamer-1.0 1.4.5-1 amd64 Description: GObject introspection data for the GStreamer library
ii gstreamer1.0-alsa:amd64 1.4.5-1ubuntu1 amd64 GStreamer plugin for ALSA
ii gstreamer1.0-clutter 2.0.12-1build1 amd64 Clutter PLugin for GStreamer 1.0
ii gstreamer1.0-crystalhd 1:0.0~git20110715.fdd2f19-11build1 amd64 Crystal HD Video Decoder (GStreamer plugin)
ii gstreamer1.0-doc 1.4.5-1 all GStreamer core documentation and manuals
ii gstreamer1.0-fluendo-mp3:amd64 0.10.29.debian-1ubuntu1 amd64 Fluendo mp3 decoder GStreamer 1.0 plugin
ii gstreamer1.0-gnonlin 1.2.1-1 amd64 non-linear editing module for GStreamer
ii gstreamer1.0-gnonlin-dbg 1.2.1-1 amd64 non-linear editing module for GStreamer
ii gstreamer1.0-gnonlin-doc 1.2.1-1 all GStreamer documentation for the non-linear editing module
ii gstreamer1.0-libav:amd64 1.4.5-1 amd64 libav plugin for GStreamer
ii gstreamer1.0-libav-dbg:amd64 1.4.5-1 amd64 libav plugin for GStreamer (debug symbols)
ii gstreamer1.0-nice:amd64 0.1.7-1 amd64 ICE library (GStreamer plugin)
ii gstreamer1.0-plugins-bad:amd64 1.4.5-1ubuntu2 amd64 GStreamer plugins from the "bad" set
ii gstreamer1.0-plugins-bad-doc 1.4.5-1ubuntu2 all GStreamer documentation for plugins from the "bad" set
ii gstreamer1.0-plugins-bad-faad:amd64 1.4.5-1ubuntu2 amd64 GStreamer faad plugin from the "bad" set
ii gstreamer1.0-plugins-bad-videoparsers:amd64 1.4.5-1ubuntu2 amd64 GStreamer videoparsers plugin from the "bad" set
ii gstreamer1.0-plugins-base:amd64 1.4.5-1ubuntu1 amd64 GStreamer plugins from the "base" set
ii gstreamer1.0-plugins-base-apps 1.4.5-1ubuntu1 amd64 GStreamer helper programs from the "base" set
ii gstreamer1.0-plugins-base-dbg:amd64 1.4.5-1ubuntu1 amd64 GStreamer plugins from the "base" set
ii gstreamer1.0-plugins-base-doc 1.4.5-1ubuntu1 all GStreamer documentation for plugins from the "base" set
ii gstreamer1.0-plugins-good:amd64 1.4.5-1ubuntu2 amd64 GStreamer plugins from the "good" set
ii gstreamer1.0-plugins-good-dbg:amd64 1.4.5-1ubuntu2 amd64 GStreamer plugins from the "good" set
ii gstreamer1.0-plugins-good-doc 1.4.5-1ubuntu2 all GStreamer documentation for plugins from the "good" set
ii gstreamer1.0-plugins-ugly:amd64 1.4.5-1ubuntu2 amd64 GStreamer plugins from the "ugly" set
ii gstreamer1.0-plugins-ugly-amr:amd64 1.4.5-1ubuntu2 amd64 GStreamer plugins from the "ugly" set
ii gstreamer1.0-plugins-ugly-dbg:amd64 1.4.5-1ubuntu2 amd64 GStreamer plugins from the "ugly" set (debug symbols)
ii gstreamer1.0-plugins-ugly-doc 1.4.5-1ubuntu2 all GStreamer documentation for plugins from the "ugly" set
ii gstreamer1.0-pulseaudio:amd64 1.4.5-1ubuntu2 amd64 GStreamer plugin for PulseAudio
ii gstreamer1.0-tools 1.4.5-1 amd64 Tools for use with GStreamer
ii gstreamer1.0-vaapi:amd64 0.5.9-2build1 amd64 VA-API plugins for GStreamer
ii gstreamer1.0-vaapi-doc 0.5.9-2build1 all GStreamer VA-API documentation and manuals
ii gstreamer1.0-x:amd64 1.4.5-1ubuntu1 amd64 GStreamer plugins for X11 and Pango
ii libgstreamer-plugins-bad1.0-0:amd64 1.4.5-1ubuntu2 amd64 GStreamer development files for libraries from the "bad" set
ii libgstreamer-plugins-bad1.0-dev 1.4.5-1ubuntu2 amd64 GStreamer development files for libraries from the "bad" set
ii libgstreamer-plugins-base1.0-0:amd64 1.4.5-1ubuntu1 amd64 GStreamer libraries from the "base" set
ii libgstreamer-plugins-good1.0-0:amd64 1.4.5-1ubuntu2 amd64 GStreamer development files for libraries from the "good" set
ii libgstreamer-plugins-good1.0-dev 1.4.5-1ubuntu2 amd64 GStreamer development files for libraries from the "good" set
ii libgstreamer-vaapi1.0-0:amd64 0.5.9-2build1 amd64 GStreamer libraries from the "vaapi" set
ii libgstreamer1.0-0:amd64 1.4.5-1 amd64 Core GStreamer libraries and elements
ii libgstreamer1.0-0-dbg:amd64 1.4.5-1 amd64 Core GStreamer libraries and elements
ii libgstreamer1.0-dev 1.4.5-1 amd64 GStreamer core development files
ii libreoffice-avmedia-backend-gstreamer 1:4.4.2-0ubuntu1 amd64 GStreamer backend for LibreOffice
darkvertex commented 3 years ago

I get this error on Windows. :/

ziutek commented 3 years ago

I haven't used this package for years. I can't help you. Sorry.