[Gambas-user] gb.media: warning: unsupported datatype: GValueArray

Benoît Minisini g4mba5 at gmail.com
Thu Jan 18 00:42:56 CET 2018


Le 17/01/2018 à 19:43, Federico Allegretti a écrit :
> hello everybody.
> 
> I'm trying to get audio levels using gambas media and gstreamer 
> following this tutorial:
> http://www.gambas-it.org/smf/index.php?topic=5874.0
> 
> but i always get the error:
> gb.media: warning: unsupported datatype: GValueArray
> 
> this is my platform info:
> v1p3r at v1p3rbox:~$ uname -a
> Linux v1p3rbox 4.10.0-42-generic #46-Ubuntu SMP Mon Dec 4 14:38:01 UTC 
> 2017 x86_64 x86_64 x86_64 GNU/Linux
> 
> v1p3r at v1p3rbox:~$ lsb_release -a
> LSB Version:    
> core-9.20160110ubuntu5-amd64:core-9.20160110ubuntu5-noarch:security-9.20160110ubuntu5-amd64:security-9.20160110ubuntu5-noarch
> Distributor ID:    Ubuntu
> Description:    Ubuntu 17.04
> Release:    17.04
> Codename:    zesty
> 
> v1p3r at v1p3rbox:~$ dpkg -l | grep gstreamer
> ii  gir1.2-gstreamer-1.0                        
> 1.10.4-1                                                      
> amd64        GObject introspection data for the GStreamer library
> ii  gstreamer1.0-alsa:amd64                     
> 1.10.4-1ubuntu1                                               
> amd64        GStreamer plugin for ALSA
> ii  gstreamer1.0-clutter-3.0                    
> 3.0.24-1                                                      
> amd64        Clutter PLugin for GStreamer 1.0
> ii  gstreamer1.0-fluendo-mp3:amd64              
> 0.10.32.debian-1                                              
> amd64        Fluendo mp3 decoder GStreamer 1.0 plugin
> ii  gstreamer1.0-libav:amd64                    
> 1.10.4-1                                                      
> amd64        libav plugin for GStreamer
> ii  gstreamer1.0-plugins-bad:amd64              
> 1.10.4-1ubuntu1                                               
> amd64        GStreamer plugins from the "bad" set
> ii  gstreamer1.0-plugins-bad-faad:amd64         
> 1.10.4-1ubuntu1                                               
> amd64        GStreamer faad plugin from the "bad" set
> ii  gstreamer1.0-plugins-bad-videoparsers:amd64 
> 1.10.4-1ubuntu1                                               
> amd64        GStreamer videoparsers plugin from the "bad" set
> ii  gstreamer1.0-plugins-base:amd64             
> 1.10.4-1ubuntu1                                               
> amd64        GStreamer plugins from the "base" set
> ii  gstreamer1.0-plugins-base-apps              
> 1.10.4-1ubuntu1                                               
> amd64        GStreamer helper programs from the "base" set
> ii  gstreamer1.0-plugins-good:amd64             
> 1.10.4-1ubuntu1                                               
> amd64        GStreamer plugins from the "good" set
> ii  gstreamer1.0-plugins-ugly:amd64             
> 1.10.4-1ubuntu1                                               
> amd64        GStreamer plugins from the "ugly" set
> ii  gstreamer1.0-plugins-ugly-amr:amd64         
> 1.10.4-1ubuntu1                                               
> amd64        GStreamer plugins from the "ugly" set
> ii  gstreamer1.0-pulseaudio:amd64               
> 1.10.4-1ubuntu1                                               
> amd64        GStreamer plugin for PulseAudio
> ii  gstreamer1.0-tools                          
> 1.10.4-1                                                      
> amd64        Tools for use with GStreamer
> ii  gstreamer1.0-x:amd64                        
> 1.10.4-1ubuntu1                                               
> amd64        GStreamer plugins for X11 and Pango
> ii  libgstreamer-plugins-bad1.0-0:amd64         
> 1.10.4-1ubuntu1                                               
> amd64        GStreamer development files for libraries from the "bad" set
> ii  libgstreamer-plugins-base1.0-0:amd64        
> 1.10.4-1ubuntu1                                               
> amd64        GStreamer libraries from the "base" set
> ii  libgstreamer-plugins-good1.0-0:amd64        
> 1.10.4-1ubuntu1                                               
> amd64        GStreamer development files for libraries from the "good" set
> ii  libgstreamer1.0-0:amd64                     
> 1.10.4-1                                                      
> amd64        Core GStreamer libraries and elements
> ii  libgstreamer1.0-dev                         
> 1.10.4-1                                                      
> amd64        GStreamer core development files
> ii  libreoffice-avmedia-backend-gstreamer       
> 1:5.3.1-0ubuntu2                                              
> amd64        GStreamer backend for LibreOffice
> ii  phonon-backend-gstreamer:amd64              
> 4:4.9.0-1                                                     
> amd64        Phonon GStreamer 1.0 backend
> ii  phonon-backend-gstreamer-common:amd64       
> 4:4.9.0-1                                                     
> amd64        Phonon GStreamer 1.0.x backend icons
> 
> v1p3r at v1p3rbox:~$ dpkg -l | grep gambas3
> ii  gambas3                                     
> 3.10.0+git5950.9786d95+build1.4250560.1.fb554bc~ubuntu17.04.1 
> all          Complete visual development environment for Gambas
> ii  gambas3-dev                                 
> 3.10.0+git5950.9786d95+build1.4250560.1.fb554bc~ubuntu17.04.1 
> amd64        Gambas compilation tools
> ii  gambas3-gb-args                             
> 3.10.0+git5950.9786d95+build1.4250560.1.fb554bc~ubuntu17.04.1 
> all          Gambas arguments parser
> ii  gambas3-gb-cairo                            
> 3.10.0+git5950.9786d95+build1.4250560.1.fb554bc~ubuntu17.04.1 
> amd64        Gambas bindings for cairo
> ii  gambas3-gb-chart                            
> 3.10.0+git5950.9786d95+build1.4250560.1.fb554bc~ubuntu17.04.1 
> all          Gambas charting component
> ii  gambas3-gb-clipper                          
> 3.10.0+git5950.9786d95+build1.4250560.1.fb554bc~ubuntu17.04.1 
> amd64        Gambas Clipper component
> ii  gambas3-gb-complex                          
> 3.10.0+git5950.9786d95+build1.4250560.1.fb554bc~ubuntu17.04.1 
> amd64        Gambas Complex component
> ii  gambas3-gb-compress                         
> 3.10.0+git5950.9786d95+build1.4250560.1.fb554bc~ubuntu17.04.1 
> amd64        Gambas compression component
> ii  gambas3-gb-compress-bzlib2                  
> 3.10.0+git5950.9786d95+build1.4250560.1.fb554bc~ubuntu17.04.1 
> amd64        Gambas bzlib2 component
> ii  gambas3-gb-compress-zlib                    
> 3.10.0+git5950.9786d95+build1.4250560.1.fb554bc~ubuntu17.04.1 
> amd64        Gambas zlib compression component
> ii  gambas3-gb-crypt                            
> 3.10.0+git5950.9786d95+build1.4250560.1.fb554bc~ubuntu17.04.1 
> amd64        Gambas crypt encription component
> ii  gambas3-gb-data                             
> 3.10.0+git5950.9786d95+build1.4250560.1.fb554bc~ubuntu17.04.1 
> amd64        Gambas abstract datatypes component
> ii  gambas3-gb-db                               
> 3.10.0+git5950.9786d95+build1.4250560.1.fb554bc~ubuntu17.04.1 
> amd64        Gambas database access common libraries
> ii  gambas3-gb-db-form                          
> 3.10.0+git5950.9786d95+build1.4250560.1.fb554bc~ubuntu17.04.1 
> all          Gambas database bound controls
> ii  gambas3-gb-db-mysql                         
> 3.10.0+git5950.9786d95+build1.4250560.1.fb554bc~ubuntu17.04.1 
> amd64        MySQL driver for the Gambas database
> ii  gambas3-gb-db-odbc                          
> 3.10.0+git5950.9786d95+build1.4250560.1.fb554bc~ubuntu17.04.1 
> amd64        ODBC driver for the Gambas database
> ii  gambas3-gb-db-postgresql                    
> 3.10.0+git5950.9786d95+build1.4250560.1.fb554bc~ubuntu17.04.1 
> amd64        PostgreSQL driver for the Gambas database
> ii  gambas3-gb-db-sqlite3                       
> 3.10.0+git5950.9786d95+build1.4250560.1.fb554bc~ubuntu17.04.1 
> amd64        Gambas sqlite3 driver database
> ii  gambas3-gb-dbus                             
> 3.10.0+git5950.9786d95+build1.4250560.1.fb554bc~ubuntu17.04.1 
> amd64        Gambas bindings for DBUS
> ii  gambas3-gb-dbus-trayicon                    
> 3.10.0+git5950.9786d95+build1.4250560.1.fb554bc~ubuntu17.04.1 
> all          Gambas support for KDE & Unity tray icon DBus protocols
> ii  gambas3-gb-desktop                          
> 3.10.0+git5950.9786d95+build1.4250560.1.fb554bc~ubuntu17.04.1 
> amd64        Gambas Portland project compatibility component
> ii  gambas3-gb-desktop-gnome-keyring            
> 3.10.0+git5950.9786d95+build1.4250560.1.fb554bc~ubuntu17.04.1 
> amd64        Gambas desktop GNOME component
> ii  gambas3-gb-desktop-x11                      
> 3.10.0+git5950.9786d95+build1.4250560.1.fb554bc~ubuntu17.04.1 
> amd64        Gambas X11 component
> ii  gambas3-gb-eval-highlight                   
> 3.10.0+git5950.9786d95+build1.4250560.1.fb554bc~ubuntu17.04.1 
> all          Gambas syntax highlighting component
> ii  gambas3-gb-form                             
> 3.10.0+git5950.9786d95+build1.4250560.1.fb554bc~ubuntu17.04.1 
> all          Gambas native form component
> ii  gambas3-gb-form-dialog                      
> 3.10.0+git5950.9786d95+build1.4250560.1.fb554bc~ubuntu17.04.1 
> all          Gambas enhanced standard dialogs component
> ii  gambas3-gb-form-editor                      
> 3.10.0+git5950.9786d95+build1.4250560.1.fb554bc~ubuntu17.04.1 
> all          Gambas Text Editor component
> ii  gambas3-gb-form-mdi                         
> 3.10.0+git5950.9786d95+build1.4250560.1.fb554bc~ubuntu17.04.1 
> all          Gambas multiple document interface management component
> ii  gambas3-gb-form-stock                       
> 3.10.0+git5950.9786d95+build1.4250560.1.fb554bc~ubuntu17.04.1 
> all          Gambas form stock icons
> ii  gambas3-gb-form-terminal                    
> 3.10.0+git5950.9786d95+build1.4250560.1.fb554bc~ubuntu17.04.1 
> all          Gambas terminal emulator
> ii  gambas3-gb-gmp                              
> 3.10.0+git5950.9786d95+build1.4250560.1.fb554bc~ubuntu17.04.1 
> amd64        Gambas GMP component
> ii  gambas3-gb-gsl                              
> 3.10.0+git5950.9786d95+build1.4250560.1.fb554bc~ubuntu17.04.1 
> amd64        Gambas GNU Scientific Library component
> ii  gambas3-gb-gtk                              
> 3.10.0+git5950.9786d95+build1.4250560.1.fb554bc~ubuntu17.04.1 
> amd64        Gambas GTK+ component
> ii  gambas3-gb-gtk-opengl                       
> 3.10.0+git5950.9786d95+build1.4250560.1.fb554bc~ubuntu17.04.1 
> amd64        Gambas GTK+ OpenGL component
> ii  gambas3-gb-gtk3                             
> 3.10.0+git5950.9786d95+build1.4250560.1.fb554bc~ubuntu17.04.1 
> amd64        Gambas GTK+3 component
> ii  gambas3-gb-httpd                            
> 3.10.0+git5950.9786d95+build1.4250560.1.fb554bc~ubuntu17.04.1 
> amd64        Gambas HTTP server
> ii  gambas3-gb-image                            
> 3.10.0+git5950.9786d95+build1.4250560.1.fb554bc~ubuntu17.04.1 
> amd64        Gambas image effects
> ii  gambas3-gb-image-effect                     
> 3.10.0+git5950.9786d95+build1.4250560.1.fb554bc~ubuntu17.04.1 
> amd64        Gambas image effects: effects
> ii  gambas3-gb-image-imlib                      
> 3.10.0+git5950.9786d95+build1.4250560.1.fb554bc~ubuntu17.04.1 
> amd64        Gambas image effects: IMLIB bindings
> ii  gambas3-gb-image-io                         
> 3.10.0+git5950.9786d95+build1.4250560.1.fb554bc~ubuntu17.04.1 
> amd64        Gambas image effects: I/O
> ii  gambas3-gb-inotify                          
> 3.10.0+git5950.9786d95+build1.4250560.1.fb554bc~ubuntu17.04.1 
> amd64        Gambas inotify component
> ii  gambas3-gb-libxml                           
> 3.10.0+git5950.9786d95+build1.4250560.1.fb554bc~ubuntu17.04.1 
> amd64        Gambas libxml component
> ii  gambas3-gb-logging                          
> 3.10.0+git5950.9786d95+build1.4250560.1.fb554bc~ubuntu17.04.1 
> all          Gambas logging system component
> ii  gambas3-gb-map                              
> 3.10.0+git5950.9786d95+build1.4250560.1.fb554bc~ubuntu17.04.1 
> all          Gambas online map viewer
> ii  gambas3-gb-markdown                         
> 3.10.0+git5950.9786d95+build1.4250560.1.fb554bc~ubuntu17.04.1 
> all          Gambas markup syntax
> ii  gambas3-gb-media                            
> 3.10.0+git5950.9786d95+build1.4250560.1.fb554bc~ubuntu17.04.1 
> amd64        Gambas media component
> ii  gambas3-gb-media-form                       
> 3.10.0+git5950.9786d95+build1.4250560.1.fb554bc~ubuntu17.04.1 
> all          Gambas media player component
> ii  gambas3-gb-memcached                        
> 3.10.0+git5950.9786d95+build1.4250560.1.fb554bc~ubuntu17.04.1 
> all          Gambas memcached client
> ii  gambas3-gb-mime                             
> 3.10.0+git5950.9786d95+build1.4250560.1.fb554bc~ubuntu17.04.1 
> amd64        Gambas MIME message management
> ii  gambas3-gb-mysql                            
> 3.10.0+git5950.9786d95+build1.4250560.1.fb554bc~ubuntu17.04.1 
> amd64        Gambas MySQL component
> ii  gambas3-gb-ncurses                          
> 3.10.0+git5950.9786d95+build1.4250560.1.fb554bc~ubuntu17.04.1 
> amd64        Gambas NCurses component
> ii  gambas3-gb-net                              
> 3.10.0+git5950.9786d95+build1.4250560.1.fb554bc~ubuntu17.04.1 
> amd64        Gambas networking component
> ii  gambas3-gb-net-curl                         
> 3.10.0+git5950.9786d95+build1.4250560.1.fb554bc~ubuntu17.04.1 
> amd64        Gambas advanced networking component
> ii  gambas3-gb-net-pop3                         
> 3.10.0+git5950.9786d95+build1.4250560.1.fb554bc~ubuntu17.04.1 
> all          Gambas POP3 client implementation
> ii  gambas3-gb-net-smtp                         
> 3.10.0+git5950.9786d95+build1.4250560.1.fb554bc~ubuntu17.04.1 
> all          Gambas smtp protocol component
> ii  gambas3-gb-openal                           
> 3.10.0+git5950.9786d95+build1.4250560.1.fb554bc~ubuntu17.04.1 
> amd64        Gambas OpenAL component
> ii  gambas3-gb-opengl                           
> 3.10.0+git5950.9786d95+build1.4250560.1.fb554bc~ubuntu17.04.1 
> amd64        Gambas OpenGL component
> ii  gambas3-gb-opengl-glsl                      
> 3.10.0+git5950.9786d95+build1.4250560.1.fb554bc~ubuntu17.04.1 
> amd64        Gambas OpenGL component: GL Shading Language subcomponent
> ii  gambas3-gb-opengl-glu                       
> 3.10.0+git5950.9786d95+build1.4250560.1.fb554bc~ubuntu17.04.1 
> amd64        Gambas OpenGL utility
> ii  gambas3-gb-opengl-sge                       
> 3.10.0+git5950.9786d95+build1.4250560.1.fb554bc~ubuntu17.04.1 
> amd64        Gambas SDL Game Engine
> ii  gambas3-gb-openssl                          
> 3.10.0+git5950.9786d95+build1.4250560.1.fb554bc~ubuntu17.04.1 
> amd64        Gambas OpenSSL component
> ii  gambas3-gb-option                           
> 3.10.0+git5950.9786d95+build1.4250560.1.fb554bc~ubuntu17.04.1 
> amd64        Gambas option component
> ii  gambas3-gb-pcre                             
> 3.10.0+git5950.9786d95+build1.4250560.1.fb554bc~ubuntu17.04.1 
> amd64        Gambas regexp component
> ii  gambas3-gb-pdf                              
> 3.10.0+git5950.9786d95+build1.4250560.1.fb554bc~ubuntu17.04.1 
> amd64        Gambas PDF component
> ii  gambas3-gb-qt4                              
> 3.10.0+git5950.9786d95+build1.4250560.1.fb554bc~ubuntu17.04.1 
> amd64        Gambas Qt GUI component
> ii  gambas3-gb-qt4-ext                          
> 3.10.0+git5950.9786d95+build1.4250560.1.fb554bc~ubuntu17.04.1 
> amd64        Gambas extended Qt GUI component
> ii  gambas3-gb-qt4-opengl                       
> 3.10.0+git5950.9786d95+build1.4250560.1.fb554bc~ubuntu17.04.1 
> amd64        Gambas OpenGL component with QT toolkit
> ii  gambas3-gb-qt4-webkit                       
> 3.10.0+git5950.9786d95+build1.4250560.1.fb554bc~ubuntu17.04.1 
> amd64        Gambas WebKit component
> ii  gambas3-gb-qt5                              
> 3.10.0+git5950.9786d95+build1.4250560.1.fb554bc~ubuntu17.04.1 
> amd64        Gambas Qt5 GUI component
> ii  gambas3-gb-qt5-ext                          
> 3.10.0+git5950.9786d95+build1.4250560.1.fb554bc~ubuntu17.04.1 
> amd64        Gambas QT5 toolkit extensions
> ii  gambas3-gb-qt5-opengl                       
> 3.10.0+git5950.9786d95+build1.4250560.1.fb554bc~ubuntu17.04.1 
> amd64        Gambas OpenGL component with QT5 toolkit
> ii  gambas3-gb-qt5-webkit                       
> 3.10.0+git5950.9786d95+build1.4250560.1.fb554bc~ubuntu17.04.1 
> amd64        Gambas QT5 WebKit component
> ii  gambas3-gb-report                           
> 3.10.0+git5950.9786d95+build1.4250560.1.fb554bc~ubuntu17.04.1 
> all          Gambas report component
> ii  gambas3-gb-report2                          
> 3.10.0+git5950.9786d95+build1.4250560.1.fb554bc~ubuntu17.04.1 
> all          Gambas interpreter utility routines component.
> ii  gambas3-gb-scanner                          
> 3.10.0+git5950.9786d95+build1.4250560.1.fb554bc~ubuntu17.04.1 
> all          Gambas frontend to scanimage provided by the SANE toolkit.
> ii  gambas3-gb-sdl                              
> 3.10.0+git5950.9786d95+build1.4250560.1.fb554bc~ubuntu17.04.1 
> amd64        Gambas SDL component
> ii  gambas3-gb-sdl-sound                        
> 3.10.0+git5950.9786d95+build1.4250560.1.fb554bc~ubuntu17.04.1 
> amd64        Gambas SDL component
> ii  gambas3-gb-sdl2                             
> 3.10.0+git5950.9786d95+build1.4250560.1.fb554bc~ubuntu17.04.1 
> amd64        Gambas SDL2 component
> ii  gambas3-gb-sdl2-audio                       
> 3.10.0+git5950.9786d95+build1.4250560.1.fb554bc~ubuntu17.04.1 
> amd64        Gambas SDL2 component
> ii  gambas3-gb-settings                         
> 3.10.0+git5950.9786d95+build1.4250560.1.fb554bc~ubuntu17.04.1 
> all          Gambas utilities class
> ii  gambas3-gb-signal                           
> 3.10.0+git5950.9786d95+build1.4250560.1.fb554bc~ubuntu17.04.1 
> amd64        Gambas OS signal library
> ii  gambas3-gb-term                             
> 3.10.0+git5950.9786d95+build1.4250560.1.fb554bc~ubuntu17.04.1 
> amd64        Gambas VT-100 terminal emulator
> ii  gambas3-gb-term-form                        
> 3.10.0+git5950.9786d95+build1.4250560.1.fb554bc~ubuntu17.04.1 
> all          Gambas VT-102 terminal emulator
> ii  gambas3-gb-util                             
> 3.10.0+git5950.9786d95+build1.4250560.1.fb554bc~ubuntu17.04.1 
> all          Gambas interpreter utility routines component.
> ii  gambas3-gb-util-web                         
> 3.10.0+git5950.9786d95+build1.4250560.1.fb554bc~ubuntu17.04.1 
> all          Gambas interpreter utility routines component.
> ii  gambas3-gb-v4l                              
> 3.10.0+git5950.9786d95+build1.4250560.1.fb554bc~ubuntu17.04.1 
> amd64        Gambas video for Linux component
> ii  gambas3-gb-vb                               
> 3.10.0+git5950.9786d95+build1.4250560.1.fb554bc~ubuntu17.04.1 
> amd64        Gambas Visual Basic(tm) compatibility component
> ii  gambas3-gb-web                              
> 3.10.0+git5950.9786d95+build1.4250560.1.fb554bc~ubuntu17.04.1 
> all          Gambas CGI for web applications
> ii  gambas3-gb-web-feed                         
> 3.10.0+git5950.9786d95+build1.4250560.1.fb554bc~ubuntu17.04.1 
> all          Gambas web feed parser and generator
> ii  gambas3-gb-web-form                         
> 3.10.0+git5950.9786d95+build1.4250560.1.fb554bc~ubuntu17.04.1 
> all          Gambas Web application GUI controls
> ii  gambas3-gb-xml                              
> 3.10.0+git5950.9786d95+build1.4250560.1.fb554bc~ubuntu17.04.1 
> amd64        Gambas XML component
> ii  gambas3-gb-xml-html                         
> 3.10.0+git5950.9786d95+build1.4250560.1.fb554bc~ubuntu17.04.1 
> amd64        Gambas HTML component
> ii  gambas3-gb-xml-rpc                          
> 3.10.0+git5950.9786d95+build1.4250560.1.fb554bc~ubuntu17.04.1 
> all          Gambas RPC component
> ii  gambas3-gb-xml-xslt                         
> 3.10.0+git5950.9786d95+build1.4250560.1.fb554bc~ubuntu17.04.1 
> amd64        Gambas XSLT component
> ii  gambas3-ide                                 
> 3.10.0+git5950.9786d95+build1.4250560.1.fb554bc~ubuntu17.04.1 
> all          Visual development environment for the Gambas programming 
> language
> ii  gambas3-runtime                             
> 3.10.0+git5950.9786d95+build1.4250560.1.fb554bc~ubuntu17.04.1 
> amd64        Gambas runtime interpreter
> 
> anyone had this problem before?
> 
> thanks
> 
> -- 
> Open TV Architecture project: http://sourceforge.net/projects/otva/
> 
> Messagenet VOIP: 5338759
> 
> YouTube Channel: v1p3r's lab
> 
> VIMEO HD videos: http://www.vimeo.com/user1912745/videos
> 

I think I get it too. I hadn't in the past...

I will look at it. This message is from the internal function that 
transforms a glib datatype returned by GStreamer into a Gambas datatype. 
Of course this function cannot handle everything, and sometimes 
GStreamer returns a glib datatype that was not used before.

-- 
Benoît Minisini


More information about the User mailing list