[Gambas-bugtracker] Bug #1482: unable to link gstreamer "xxx-bin" components using gb.media
bugtracker at gambaswiki.org
bugtracker at gambaswiki.org
Wed Dec 19 16:05:42 CET 2018
http://gambaswiki.org/bugtracker/edit?object=BUG.1482&from=L21haW4-
Federico ALLEGRETTI reported a new bug.
Summary
-------
unable to link gstreamer "xxx-bin" components using gb.media
Type : Request
Priority : Medium
Gambas version : 3.11
Product : Language
Description
-----------
Hello.
I have used sometime gambas media object to handle gstreamer libraries and objects in several projects (Personal Radio Station OSE on sourceforge for example), but at teh moment i faced a problem using "uridecodebin" mediacomponent.
If i try this pipeline in the shell:
gst-launch-1.0 uridecodebin uri=http://radiogalileo.it:8000//low_latency ! decodebin ! audioconvert ! level ! autoaudiosink
if i try to manage teh gstreamer library by gambas code (test_gstreamer_pipeline archive in attach) it works.
But if i try to *.linkTo (like in Pi2FM_receiver code, in attach), i receive an error.
Talking with friends in the italian gambas support forum, seems is not my only problem.
So the questio is: I'm doing it wrong, or there is some kind of linitation with the *-bin objects to be used in gb.media?
Thnaks
System information
------------------
[System]
Gambas=3.11.90
OperatingSystem=Linux
Kernel=4.15.0-42-generic
Architecture=x86_64
Distribution=Ubuntu 18.04.1 LTS
Desktop=UBUNTU:GNOME
Theme=Gtk
Language=it_IT.UTF-8
Memory=7919M
[Libraries]
Cairo=libcairo.so.2.11510.0
Curl=libcurl.so.4.5.0
DBus=libdbus-1.so.3.19.4
GStreamer=libgstreamer-1.0.so.0.1401.0
GTK+2=libgtk-x11-2.0.so.0.2400.32
GTK+3=libgtk-3.so.0.2200.30
OpenGL=libGL.so.1.0.0
Poppler=libpoppler.so.73.0.0
QT4=libQtCore.so.4.8.7
QT5=libQt5Core.so.5.9.5
SDL=libSDL-1.2.so.0.11.4
SQLite=libsqlite3.so.0.8.6
[Environment]
CLUTTER_IM_MODULE=xim
DBUS_SESSION_BUS_ADDRESS=unix:path=/run/user/1000/bus
DEFAULTS_PATH=/usr/share/gconf/ubuntu.default.path
DESKTOP_SESSION=ubuntu
DISPLAY=:1
GB_GUI=gb.qt4
GDMSESSION=ubuntu
GIO_LAUNCHED_DESKTOP_FILE=/usr/share/applications/gambas3.desktop
GIO_LAUNCHED_DESKTOP_FILE_PID=11129
GJS_DEBUG_OUTPUT=stderr
GJS_DEBUG_TOPICS=JS ERROR;JS LOG
GNOME_DESKTOP_SESSION_ID=this-is-deprecated
GNOME_SHELL_SESSION_MODE=ubuntu
GPG_AGENT_INFO=/run/user/1000/gnupg/S.gpg-agent:0:1
GTK_IM_MODULE=ibus
GTK_MODULES=gail:atk-bridge
HOME=<home>
IM_CONFIG_PHASE=2
LANG=it_IT.UTF-8
LOGNAME=<user>
MANDATORY_PATH=/usr/share/gconf/ubuntu.mandatory.path
PATH=/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin
PWD=<home>
QT4_IM_MODULE=xim
QT_ACCESSIBILITY=1
QT_IM_MODULE=ibus
SESSION_MANAGER=local/<hostname>:@/tmp/.ICE-unix/1926,unix/<hostname>:/tmp/.ICE-unix/1926
SHELL=/bin/bash
SHLVL=0
SSH_AGENT_PID=2022
SSH_AUTH_SOCK=/run/user/1000/keyring/ssh
TEXTDOMAIN=im-config
TEXTDOMAINDIR=/usr/share/locale/
TZ=:/etc/localtime
USER=<user>
USERNAME=<user>
WINDOWPATH=2
XAUTHORITY=/run/user/1000/gdm/Xauthority
XDG_CONFIG_DIRS=/etc/xdg/xdg-ubuntu:/etc/xdg
XDG_CURRENT_DESKTOP=ubuntu:GNOME
XDG_DATA_DIRS=/usr/share/ubuntu:/usr/local/share:/usr/share:/var/lib/snapd/desktop
XDG_MENU_PREFIX=gnome-
XDG_RUNTIME_DIR=/run/user/1000
XDG_SEAT=seat0
XDG_SESSION_DESKTOP=ubuntu
XDG_SESSION_ID=3
XDG_SESSION_TYPE=x11
XDG_VTNR=2
XMODIFIERS=@im=ibus
More information about the Bugtracker
mailing list