3 Replies Latest reply on Dec 1, 2015 12:48 PM by AlexT_Intel

    Problem installing mplayer with pulse audio to play music via bluetooth

    Cooper132

      Hi,

       

      I'm currently trying to install mplayer with pulse audio in order to play some music via bluetooth headphones that I have already successfully connected with the edison.

      I was initially following the correct answer here and installed mplayer, but couldn't play audio because it doesn't know the pulse audio output.

      I then tried the correct answer here but I cannot install some of the libraries that are mentioned there.

       

      Going through the correct answer, here are the errors i get:

       

      root@edison:~# opkg install libavahi-client-dev

      Unknown package 'libavahi-client-dev'.

      Collected errors:

      * opkg_install_cmd: Cannot install package libavahi-client-dev.

       

      root@edison:~# opkg install pulseaudio-dev --force-reinstall --force-overwrite

      Downloading http://repo.opkg.net/edison/repo/core2-32/pulseaudio-dev_6.0-r0_core2-32.ipk.

      Multiple packages (pulseaudio-dev and pulseaudio-dev) providing same name marked HOLD or PREFER. Using latest.

      Installing pulseaudio-dev (6.0-r0) on root.

      pulseaudio-dev: unsatisfied recommendation for libavahi-client-dev

      alsa-lib-dev: unsatisfied recommendation for alsa-conf-base-dev

      alsa-lib-dev: unsatisfied recommendation for libasound-dev

      alsa-lib-dev: unsatisfied recommendation for alsa-conf-dev

      pulseaudio-dev: unsatisfied recommendation for pulseaudio-lib-protocol-simple-dev

      pulseaudio-dev: unsatisfied recommendation for pulseaudio-module-stream-restore-dev

      pulseaudio-dev: unsatisfied recommendation for pulseaudio-module-null-sink-dev

      libx11-dev: unsatisfied recommendation for libx11-xcb-dev

      libxcb-dev: unsatisfied recommendation for libxcb-shape-dev

      libxcb-dev: unsatisfied recommendation for libxcb-dpms-dev

      libxcb-dev: unsatisfied recommendation for libxcb-render-dev

      libxcb-dev: unsatisfied recommendation for libxcb-shm-dev

      libxcb-dev: unsatisfied recommendation for libxcb-dri3-dev

      libxcb-dev: unsatisfied recommendation for libxcb-damage-dev

      libxcb-dev: unsatisfied recommendation for libxcb-glx-dev

      libxcb-dev: unsatisfied recommendation for libxcb-composite-dev

      libxcb-dev: unsatisfied recommendation for libxcb-res-dev

      libxcb-dev: unsatisfied recommendation for libxcb-xvmc-dev

      libxcb-dev: unsatisfied recommendation for libxcb-xkb-dev

      libxcb-dev: unsatisfied recommendation for libxcb-sync-dev

      libxcb-dev: unsatisfied recommendation for libxcb-xevie-dev

      libxcb-dev: unsatisfied recommendation for libxcb-dri2-dev

      libxcb-dev: unsatisfied recommendation for libxcb-randr-dev

      libxcb-dev: unsatisfied recommendation for libxcb-record-dev

      libxcb-dev: unsatisfied recommendation for libxcb-xprint-dev

      libxcb-dev: unsatisfied recommendation for libxcb-xv-dev

      libxcb-dev: unsatisfied recommendation for libxcb-xtest-dev

      libxcb-dev: unsatisfied recommendation for libxcb-screensaver-dev

      libxcb-dev: unsatisfied recommendation for libxcb-present-dev

      libxcb-dev: unsatisfied recommendation for libxcb-xf86dri-dev

      libxcb-dev: unsatisfied recommendation for libxcb-xinerama-dev

      libxcb-dev: unsatisfied recommendation for libxcb-xfixes-dev

      pulseaudio-dev: unsatisfied recommendation for udev-dev

      pulseaudio-dev: unsatisfied recommendation for libsystemd-dev

      libsndfile-dev: unsatisfied recommendation for libasound-dev

      libsndfile-dev: unsatisfied recommendation for sqlite3-dev

      pulseaudio-dev: unsatisfied recommendation for shadow-sysroot-dev

      pulseaudio-dev: unsatisfied recommendation for pulseaudio-lib-oss-util-dev

      consolekit-dev: unsatisfied recommendation for dbus-lib-dev

      pulseaudio-dev: unsatisfied recommendation for pulseaudio-module-native-protocol-unix-dev

      pulseaudio-dev: unsatisfied recommendation for pulseaudio-lib-avahi-wrap-dev

      pulseaudio-dev: unsatisfied recommendation for libpulse-dev

      pulseaudio-dev: unsatisfied recommendation for pulseaudio-module-always-sink-dev

      pulseaudio-dev: unsatisfied recommendation for libudev-dev

      pulseaudio-dev: unsatisfied recommendation for pulseaudio-lib-protocol-cli-dev

      pulseaudio-dev: unsatisfied recommendation for libx11-xcb-dev

      pulseaudio-dev: unsatisfied recommendation for libasound-dev

      pulseaudio-dev: unsatisfied recommendation for libpulse-simple-dev

      pulseaudio-dev: unsatisfied recommendation for pulseaudio-module-loopback-dev

      pulseaudio-dev: unsatisfied recommendation for pulseaudio-module-augment-properties-dev

      pulseaudio-dev: unsatisfied recommendation for pulseaudio-lib-protocol-http-dev

      pulseaudio-dev: unsatisfied recommendation for pulseaudio-module-udev-detect-dev

      pulseaudio-dev: unsatisfied recommendation for pulseaudio-module-suspend-on-idle-dev

      pulseaudio-dev: unsatisfied recommendation for pulseaudio-module-bluez5-discover-dev

      pulseaudio-dev: unsatisfied recommendation for pulseaudio-module-rescue-streams-dev

      pulseaudio-dev: unsatisfied recommendation for pulseaudio-module-position-event-sounds-dev

      e2fsprogs-dev: unsatisfied recommendation for libcomerr-dev

      e2fsprogs-dev: unsatisfied recommendation for e2fsprogs-badblocks-dev

      e2fsprogs-dev: unsatisfied recommendation for libe2p-dev

      e2fsprogs-dev: unsatisfied recommendation for update-alternatives-opkg-dev

      e2fsprogs-dev: unsatisfied recommendation for libext2fs-dev

      e2fsprogs-dev: unsatisfied recommendation for libss-dev

      pulseaudio-dev: unsatisfied recommendation for pulseaudio-module-cli-protocol-unix-dev

      pulseaudio-dev: unsatisfied recommendation for pulseaudio-module-role-cork-dev

      pulseaudio-dev: unsatisfied recommendation for pulseaudio-module-detect-dev

      pulseaudio-dev: unsatisfied recommendation for pulseaudio-module-filter-heuristics-dev

      pulseaudio-dev: unsatisfied recommendation for pulseaudio-lib-cli-dev

      pulseaudio-dev: unsatisfied recommendation for pulseaudio-module-bluetooth-policy-dev

      pulseaudio-dev: unsatisfied recommendation for pulseaudio-module-bluez5-device-dev

      pulseaudio-dev: unsatisfied recommendation for pulseaudio-module-alsa-source-dev

      pulseaudio-dev: unsatisfied recommendation for pulseaudio-module-default-device-restore-dev

      jack-dev: unsatisfied recommendation for libjack-dev

      jack-dev: unsatisfied recommendation for libasound-dev

      flac-dev: unsatisfied recommendation for libflac-dev

      flac-dev: unsatisfied recommendation for libflac++-dev

      lirc-dev: unsatisfied recommendation for libjack-dev

      libportaudio-dev: unsatisfied recommendation for libasound-dev

      libportaudio-dev: unsatisfied recommendation for libjack-dev

      lirc-dev: unsatisfied recommendation for libsystemd-dev

      lirc-dev: unsatisfied recommendation for libasound-dev

      pulseaudio-dev: unsatisfied recommendation for libavahi-common-dev

      pulseaudio-dev: unsatisfied recommendation for pulseaudio-module-alsa-card-dev

      pulseaudio-dev: unsatisfied recommendation for pulseaudio-module-filter-apply-dev

      pulseaudio-dev: unsatisfied recommendation for pulseaudio-module-card-restore-dev

      pulseaudio-dev: unsatisfied recommendation for pulseaudio-lib-rtp-dev

      pulseaudio-dev: unsatisfied recommendation for pulseaudio-module-intended-roles-dev

      pulseaudio-dev: unsatisfied recommendation for pulseaudio-lib-alsa-util-dev

      pulseaudio-dev: unsatisfied recommendation for libpulsecore-dev

      pulseaudio-dev: unsatisfied recommendation for pulseaudio-module-alsa-sink-dev

      pulseaudio-dev: unsatisfied recommendation for pulseaudio-lib-protocol-native-dev

      pulseaudio-dev: unsatisfied recommendation for pulseaudio-lib-protocol-esound-dev

      pulseaudio-dev: unsatisfied recommendation for libpulsecommon-dev

      gconf-dev: unsatisfied recommendation for dbus-lib-dev

      gconf-dev: unsatisfied recommendation for gobject-introspection-stub-dev

      gconf-dev: unsatisfied recommendation for dbus-x11-dev

      pulseaudio-dev: unsatisfied recommendation for pulseaudio-module-switch-on-port-available-dev

      pulseaudio-dev: unsatisfied recommendation for pulseaudio-module-console-kit-dev

      pulseaudio-dev: unsatisfied recommendation for pulseaudio-lib-bluez5-util-dev

      pulseaudio-dev: unsatisfied recommendation for dbus-lib-dev

      pulseaudio-dev: unsatisfied recommendation for libpulse-mainloop-glib-dev

      pulseaudio-dev: unsatisfied recommendation for pulseaudio-module-device-restore-dev

      Collected errors:

      * satisfy_dependencies_for: Cannot satisfy the following dependencies for pulseaudio-dev:

      *    jack (= 0.121.0-r0) *

      * opkg_install_cmd: Cannot install package pulseaudio-dev.

       

      root@edison:~# pkg-config --libs --cflags libpulse

      Package libpulse was not found in the pkg-config search path.

      Perhaps you should add the directory containing `libpulse.pc'

      to the PKG_CONFIG_PATH environment variable

      No package 'libpulse' found

       

      root@edison:~/MPlayer-1.1.1# ./configure | grep pulse

      Checking for pulse ... no

       

      I'm using the latest edison yocto image.

       

      What could I try to do here to make it work? Or maybe a different approach with a different audio output?

      (I have not yet understood the difference between the pulse and alsa ao's, maybe alsa might work better?)

       

      Regards,

      Cooper