[Bug 797232] New: Gstreamer fails with AVS SampleApp

GStreamer (GNOME Bugzilla) bugzilla at gnome.org
Mon Oct 1 14:34:23 UTC 2018


https://bugzilla.gnome.org/show_bug.cgi?id=797232

            Bug ID: 797232
           Summary: Gstreamer fails with AVS SampleApp
    Classification: Platform
           Product: GStreamer
           Version: 1.14.x
                OS: Linux
            Status: NEW
          Severity: critical
          Priority: Normal
         Component: don't know
          Assignee: gstreamer-bugs at lists.freedesktop.org
          Reporter: parikharjav24 at gmail.com
        QA Contact: gstreamer-bugs at lists.freedesktop.org
     GNOME version: ---

Hi,
I am using Alexa avs sdk on my embedded ARM platform. To compile avs sdk
gstreamer is required.
so I have manually cross compiled gstreamer, gst-plugins-base,
gst-plugins-good, gst-plugins-bad, gst-plugins-libav, gst-plugins-ugly & orc
for version 1.14.2 using source code, glib version is 2.58.0 & Host platform is
Ubuntu 16.04.

I have contacted AVS forum about this error and they say that gstreamer is
properly not installed. Please help me what I am missing in gstreamer. How to
cross compile gstreamer & its plugins for ARM platform?

After the successful compilation is done I copy all the binaries & libraries on
my ARM based board and then executing Application :
# ./SampleApp ../Integration/AlexaClientSDKConfig.json
/data/alexa/KittAiModels/ DEBUG9

Error:
2018-10-01 09:14:44.809 [  1] I sdkVersion: 1.9.0
configFile ../Integration/AlexaClientSDKConfig.json
Running app with log level: DEBUG9
2018-10-01 09:14:44.819 [  1] 0 ConfigurationNode:initializeSuccess
2018-10-01 09:14:44.822 [  1] 9 MediaPlayer:createCalled
2018-10-01 09:14:44.827 [  1] E
MediaPlayer:setupPipelineFailed:reason=createQueueElementFailed
2018-10-01 09:14:44.827 [  1] E
MediaPlayer:initPlayerFailed:reason=setupPipelineFailed
2018-10-01 09:14:44.827 [  1] 9 MediaPlayer:~MediaPlayerCalled

(SampleApp:15265): GStreamer-CRITICAL **: 09:14:44.827: gst_object_unref:
assertion 'object != NULL' failed
2018-10-01 09:14:44.827 [  1] 9 MediaPlayer:resetPipeline

(SampleApp:15265): GLib-CRITICAL **: 09:14:44.827:
g_main_context_find_source_by_id: assertion 'source_id > 0' failed
2018-10-01 09:14:44.828 [  1] E
RequiresShutdown:~RequiresShutdownFailed:reason=notShutdown,name=SpeakMediaPlayer
2018-10-01 09:14:44.828 [  1] C SampleApplication:Failed to create media player
for speech!
2018-10-01 09:14:44.828 [  1] C SampleApplication:Failed to initialize
SampleApplication
Failed to create to SampleApplication!

Below are the commands used to compile gstreamer & its plugins:

To Cross Compile orc plugin:
1. ./autogen.sh --prefix=/home/ap/Desktop/VVDN_AVS/alexa/local_build_arm/orc
CXX=aarch64-linux-gnu-g++-5 --host=aarch64-linux-gnu
--build=x86_64-pc-linux-gnu --disable-gtk-doc
PKG_CONFIG_PATH="$HOME/Desktop/VVDN_AVS/alexa/local_build_arm/glib/lib/pkgconfig"
2. make -j4
3. make install

To Cross Compile gstreamer plugin :
1. ./autogen.sh
--prefix=/home/ap/Desktop/VVDN_AVS/alexa/local_build_arm/gstreamer
CXX=aarch64-linux-gnu-g++-5 --host=aarch64-linux-gnu
--build=x86_64-pc-linux-gnu --disable-gtk-doc
PKG_CONFIG_PATH="$HOME/Desktop/VVDN_AVS/alexa/local_build_arm/glib/lib/pkgconfig"
2. make -j4
3. make install

Before compiling gst-plugins-base we need to compile alsa due to dependency.
To cross compile alsa:
1. Install alsa-lib-1.1.6
2. ./configure
--prefix=/home/ap/Desktop/VVDN_AVS/alexa/local_build_arm/alsa-lib
--host=aarch64-linux-gnu --build=x86_64-pc-linux-gnu
3. make -j 4
4. make install

To Cross Compile gst-plugins-base plugin:
1. ./autogen.sh
--prefix=/home/ap/Desktop/VVDN_AVS/alexa/local_build_arm/gst-plugins-base
CXX=aarch64-linux-gnu-g++-5 --host=aarch64-linux-gnu
--build=x86_64-pc-linux-gnu --disable-x --disable-xvideo --disable-x11
--disable-gl --disable-libvisual --disable-opus --disable-xshm
--disable-gnome_vfs --disable-ogg --disable-pango --disable-theora
--disable-vorbis --disable-audiotestsrc --disable-gtk-doc --disable-examples
PKG_CONFIG_PATH="$HOME/Desktop/VVDN_AVS/alexa/local_build_arm/gstreamer/lib/pkgconfig"
2. make -j4
3. make install

To Cross Compile gst-plugins-good plugin:
1. ./autogen.sh
--prefix=/home/ap/Desktop/VVDN_AVS/alexa/local_build_arm/gst-plugins-good
--host=aarch64-linux-gnu --build=x86_64-pc-linux-gnu -disable-gtk-doc
--disable-examples --disable-videobox --disable-videocrop --disable-videofilter
--disable-videomixer --disable-x --disable-cairo --disable-aalib
--disable-aalibtest --disable-flac --disable-jack --disable-libcaca
--disable-libpng --disable-libdv --disable-pulse --disable-dv1394
--disable-gdk_pixbuf --disable-qt --disable-shout2 --disable-soup
--disable-speex --disable-vpx --disable-wavpack
PKG_CONFIG_PATH="$HOME/Desktop/VVDN_AVS/alexa/local_build_arm/gstreamer/lib/pkgconfig"
2. make -j4
3. make install

To Cross Compile gst-plugins-bad plugin:
1. ./autogen.sh
--prefix=/home/ap/Desktop/VVDN_AVS/alexa/local_build_arm/gst-plugins-bad
--host=aarch64-linux-gnu --build=x86_64-pc-linux-gnu --disable-audiovisualizers
--disable-bayer --disable-dvbsuboverlay --disable-dvdspu --disable-faceoverlay
--disable-festival --disable-fieldanalysis --disable-freeverb --disable-frei0r
--disable-gaudieffects --disable-geometrictransform --disable-hls
--disable-inter --disable-ivfparse --disable-mxf --disable-pcapparse
--disable-pnm --disable-segmentclip --disable-siren --disable-smooth
--disable-speed --disable-subenc --disable-vmnc --disable-y4m
--disable-directsound --disable-wasapi --disable-direct3d
--disable-android_media --disable-apple_media --disable-shm --disable-vcd
--disable-opensles --disable-assrender --disable-voamrwbenc --disable-voaacenc
--disable-chromaprint --disable-dc1394 --disable-decklink --disable-wayland
--disable-dts -hanks-disable-resindvd --disable-faac --disable-faad
--disable-flite --disable-gsm --disable-ladspa --disable-lv2 --disable-libmms
--disable-modplug --disable-mplex --disable-musepack --disable-neon
--disable-ofa --disable-openal --disable-opencv --disable-opus --disable-rsvg
--disable-teletextdec --disable-wildmidi --disable-sndfile --disable-soundtouch
--disable-spc --disable-gme --disable-dvb --disable-acm --disable-vdpau
--disable-zbar --disable-spandsp --disable-jp2kdecimator --disable-mpegdemux
--disable-mpegpsmux --disable-mpegtsdemux --disable-mpegtsmux --disable-netsim
--disable-jpegformat --disable-proxy --disable-rawparse --disable-videofilters
--disable-videoparsers --disable-videosignal --disable-direct3d
--disable-winscreencap --disable-midi --disable-videoframe_audiolevel
--disable-sdp --disable-timecode --disable-yadif --disable-stereo
--disable-librfb --disable-kms --disable-ttml --disable-examples --disable-gl
--disable-gtk-doc
--with-pkg-config-path="$HOME/Desktop/VVDN_AVS/alexa/local_build_arm/gstreamer/lib/pkgconfig"
2. make -j4
3. make install

Thanks.

-- 
You are receiving this mail because:
You are the QA Contact for the bug.
You are the assignee for the bug.


More information about the gstreamer-bugs mailing list