Python + Gstreamer

I have been having trouble understanding / finding pygst docs, and I have run into some problems I can't figure out.
I use the following three lines to play a shout cast stream from a GUI:
self.player = gst.element_factory_make("playbin2", "player")
self.player.set_property("uri", "http://radioreddit.com:8000")
self.player.set_state(gst.STATE_PLAYING)
I then want to do 3 things:
1) Convert this stream to a .mp3. I can do this via bash like this (there could be a better way to do it):
gst-launch-0.10 uridecodebin uri=http://radioreddit.com:8000  ! audioconvert ! vorbisenc ! oggmux ! filesink location=stream.mp3
the problem is I don't know how to convert this to python. I want to be able to toggle record on and off, so if it didn't have to re-buffer every time that would be great.
2) I also want to be able to get the name of the mp3 file bing streamed. Again I can do this via bash like this:
gst-launch-0.10 souphttpsrc location=http://radioreddit.com:8000 iradio-mode=true ! icydemux ! fakesink -t | grep title:
again I can't figure out how to convert this to python and it would be nice not to have to rebuffer or have mutiple streams going at once to get this data.
3) Return the buffer %
Last edited by Dethredic (2010-03-07 21:16:35)

anyone??

Similar Messages

  • Implementing Cross-Fading in Python Gstreamer (pygst)

    I'm implementing a custom music player and wanted to know how I might implement cross-fading from one song to another from an arbitrary point in the first song to the start of the second song. Links or even approaches to doing this would be appreciated.

    Has this problem come back? I'm using Blas and Lapack 3.3.1 but I'm getting the same error as the original poster meaning FOFIX won't start.
    ben@bahamut ~ $ fofix
    Traceback (most recent call last):
    File "./FoFiX.py", line 108, in <module>
    from GameEngine import GameEngine
    File "/opt/fofix/src/GameEngine.py", line 32, in <module>
    from numpy import array, float32
    File "/usr/lib/python2.7/site-packages/numpy/__init__.py", line 136, in <module>
    import add_newdocs
    File "/usr/lib/python2.7/site-packages/numpy/add_newdocs.py", line 9, in <module>
    from numpy.lib import add_newdoc
    File "/usr/lib/python2.7/site-packages/numpy/lib/__init__.py", line 13, in <module>
    from polynomial import *
    File "/usr/lib/python2.7/site-packages/numpy/lib/polynomial.py", line 11, in <module>
    import numpy.core.numeric as NX
    AttributeError: 'module' object has no attribute 'core'

  • [SOLVED] "No codec present that can handle the stream's type" issue

    Hello. I got a python program that would play musics on a website, which doesn't work for a "no codec present that can handle the stream's type" issue. I have installed things like gstreamer, gstreamer-plugins, gstreamer-python, gstreamer-ffmpeg, and libmpeg2, etc. However, this issue still remains. Would someone here be able to help?
    Here's the error message:
    ** Message: don't know how to handle audio/mpeg, mpegversion=(int)1, mpegaudioversion=(int)2, layer=(int)3, rate=(int)24000, channels=(int)2, parsed=(boolean)true
    Error: There is no codec present that can handle the stream's type. gstplaybasebin.c(2322): prepare_output (): /GstPlayBin:player
    Here's the program, written by a Chinese: https://github.com/zhendi/DoubanFM-CLI
    Edit:
    I'm able to play the musics on the websites via chromium.
    Edit:
    I tried to download the music, and use gst-launch-0.10 filesrc location=~/p535960.mp3 ! decodebin ! autovideosink, but only find these messages:
    Setting pipeline to PAUSED ...
    Pipeline is PREROLLING ...
    ERROR: from element /GstPipeline:pipeline0/GstDecodeBin:decodebin0/GstMpegAudioParse:mpegaudioparse0: GStreamer encountered a general stream error.
    Additional debug info:
    gstbaseparse.c(2695): gst_base_parse_loop (): /GstPipeline:pipeline0/GstDecodeBin:decodebin0/GstMpegAudioParse:mpegaudioparse0:
    streaming stopped, reason not-linked
    ERROR: pipeline doesn't want to preroll.
    Setting pipeline to NULL ...
    Freeing pipeline ...
    Last edited by lastland (2012-02-18 07:47:47)

    Sorry. I just found the reason. I missed gstreamer-ugly in this case.

  • Rhythmbox error: Can't update podcast & use Magnatune Store plugin

    Hi, well recently I noticed that Rhythmbox wasn't update my podcasts, hitting the 'Update all feeds' does nothing. Also the Magnatune plugin fails to load the playlist properly.
    So I try running Rhythmbox from terminal and this is what I get:
    (rhythmbox:5601): Rhythmbox-WARNING **: Unable to start mDNS browsing: MDNS service is not running
    (rhythmbox:5601): RhythmDB-WARNING **: trying to sync properties of non-editable file
    (rhythmbox:5601): RhythmDB-WARNING **: trying to sync properties of non-editable file
    (rhythmbox:5601): RhythmDB-WARNING **: trying to sync properties of non-editable file
    The line:
    (rhythmbox:5601): RhythmDB-WARNING **: trying to sync properties of non-editable file
    happens evey time Rhythmbox is trying to update feeds.
    I checked on the Wiki to make sure that I got every libs installed (gnome-python, gstreamer-gnome-vfs, etc.) but it still doesn't work.
    What is the problem? I used to be able to download feeds with Rhythmbox without and problem, until now. Is it because I need to open some ports for Rhythmbox to work? (I had firewall up and running recently.) Thanks for helping.
    BTW: Rhythmbox have no problem playing internet radio. Weird.
    UPDATE: I delete '~/,gnome2/rhythmbox' folder and podcast now seems to work (I can update and download a podcast). But I still get this error:
    (rhythmbox:5601): Rhythmbox-WARNING **: Unable to start mDNS browsing: MDNS service is not running
    When running Rhythmbox from terminal.
    What does this error means? And how do I fix it? Thanks in advance for helping.
    UPDATE2: Ok, now I think I know what cause this: Magatune Store plugin. It seems that it tries to write change into '/opt' folder (which it can't) and give this error:
    Traceback (most recent call last):
    File "/usr/lib/rhythmbox/plugins/magnatune/MagnatuneSource.py", line 312, in __download_update_cb
    out.write(catalog.read("opt/magnatune/info/song_info.xml"))
    File "/usr/lib/python2.5/zipfile.py", line 471, in read
    zinfo = self.getinfo(name)
    File "/usr/lib/python2.5/zipfile.py", line 462, in getinfo
    return self.NameToInfo[name]
    KeyError: 'opt/magnatune/info/song_info.xml'
    After the plugin tried and failed to write change into '/opt' folder, the problem with update & download podcast return.
    Can anyone confirm this?
    Last edited by zodmaner (2007-08-06 06:54:58)

    Ok for anyone interest, I post the above questions on Rhythmbox IRC channel and got some answers regarding these error messages. It appears that the first error mesage:
    (rhythmbox:5601): RhythmDB-WARNING **: trying to sync properties of non-editable file
    Is nothing serious and seems to have been fixed in 0.11.x. So all is fine.
    Magatune Store plugin error was caused by the location of the file on the server was moved. It was already fixed, so wait for 0.11.x or if you just can't wait, moch post me this link to the fix: http://svn.gnome.org/viewcvs/rhythmbox/ … 92&r2=5279
    Huge thanks goes to moch for taking time to answer my questions.
    Last edited by zodmaner (2007-08-09 04:52:29)

  • Replace Phonon-Gstreamer by Phonon-VLC [SOLVED]

    Hi,
    i'm quite new to GNU/Linux and this is one of the thing i don't understand. By reading the archwiki article about phonon which makes you independent on any multimedia framework like gstreamer I switched to phonon-vlc backend since i use vlc and as i understand it, it should use vlc codecs in any multimedia app in kde. Obeying the simple arch approach i tried to remove gstreamer and its plugins because i don't want to double the task. But it surprised me that pacman wanted to remove half of my system along with some packages like truecrypt. Why? Whole my life i lived in this illusion that truerypt is a encryption SW, i never used it for playing multimedia!:) Anyway, what's the deal with gstreamer? Thanks.
    Last edited by Atronach (2010-11-13 21:18:26)

    I'm sorry, i meant the "-d" option to skip dependency checks.
    But anyway, if i run just bauerbill (pacman) -R gstreamer0.10-plugins it refuses to execute because of "farsight2". If i run bauerbill -R gstreamer0.10-plugins farsight2 it refuses because of libpurple and telepathy-farsight2 and so on... if i run -Rs the same thing happens
    so if i run -Rc it wants to remove kdenetwork-krdc spicebird telepathy-qt4 telepathy-farsight libpurple farsight2.
    I tried the -Rc option and then re-downloaded spicebird and the other stuff but it wanted gstreamer0.10-base-plugins. Now i have these leftovers:
    gstreamer0.10
    gstreamer0.10-base
    gstreamer0.10-base-plugins
    gstreamer0.10-good
    gstreamer0.10-python
    gstreamer0.10-ugly

  • Running mopidy as a service fails when playing with a GStreamer error

    My system is configured as such:
    Pulseaudio with nearly default configuration, just set autospawn = true
    /etc/asound.conf
    # Use PulseAudio by default
    pcm.pulse {
    type pulse
    ctl.pulse {
    type pulse
    pcm.!default {
    type pulse
    fallback "sysdefault"
    hint {
    show on
    description "Default ALSA Output (currently PulseAudio Sound Server)"
    ctl.!default {
    type pulse
    fallback "sysdefault"
    .config/mopidy/mopidy.conf
    [mpd]
    hostname = ::
    [spotify]
    enabled = false
    [local]
    media_dir=~/Music
    [audio]
    output = pulsesink
    sudo systemctl status mopidy@frank -l
    [email protected] - mopidy
    Loaded: loaded (/usr/lib/systemd/system/[email protected]; disabled)
    Active: active (running) since Wed 2013-10-30 09:16:36 MST; 18s ago
    Main PID: 5277 (mopidy)
    CGroup: /system.slice/system-mopidy.slice/[email protected]
    └─5277 /usr/bin/python2 /usr/bin/mopidy
    Oct 30 09:16:36 franklaptop mopidy[5277]: INFO Loaded 0 local tracks from /home/frank/Music using /home/frank/.local/share/mopidy/local/tag_cache
    Oct 30 09:16:36 franklaptop mopidy[5277]: INFO Loaded 0 local playlists from /home/frank/.local/share/mopidy/local/playlists
    Oct 30 09:16:36 franklaptop mopidy[5277]: INFO Starting Mopidy core
    Oct 30 09:16:36 franklaptop mopidy[5277]: WARNING Could not find usable audio mixer track
    Oct 30 09:16:36 franklaptop mopidy[5277]: INFO Starting Mopidy frontends: HttpFrontend, MpdFrontend
    Oct 30 09:16:36 franklaptop mopidy[5277]: INFO Using epoll
    Oct 30 09:16:36 franklaptop mopidy[5277]: INFO MPD server running at [::]:6600
    Oct 30 09:16:37 franklaptop mopidy[5277]: INFO HTTP server running at http://127.0.0.1:6680
    Oct 30 09:16:37 franklaptop mopidy[5277]: INFO New MPD connection from [::1]:56262
    Oct 30 09:16:51 franklaptop mopidy[5277]: ERROR GStreamer error: state change failed and some element failed to post a proper error message with the reason for the failure. Debug message: gstplaysink.c(1899):
    gen_audio_chain (): /GstPlayBin2:playbin20/GstPlaySink:playsink0
    Versions:
    alsa-lib 1.0.27.2-1
    alsa-plugins 1.0.27-2
    alsa-utils 1.0.27.2-1
    clutter-gst 2.0.8-1
    gst-plugins-bad 1.2.0-2
    gst-plugins-base 1.2.0-1
    gst-plugins-base-libs 1.2.0-1
    gst-plugins-good 1.2.0-1
    gstreamer 1.2.0-1
    gstreamer0.10 0.10.36-2
    gstreamer0.10-base 0.10.36-1
    gstreamer0.10-base-plugins 0.10.36-1
    gstreamer0.10-good 0.10.31-3
    gstreamer0.10-good-plugins 0.10.31-3
    gstreamer0.10-python 0.10.22-1
    gstreamer0.10-ugly 0.10.19-6
    gstreamer0.10-ugly-plugins 0.10.19-6
    lib32-alsa-lib 1.0.27.2-1
    lib32-flashplugin 11.2.202.310-1
    lib32-gstreamer0.10 0.10.36-2
    lib32-gstreamer0.10-base 0.10.36-4
    libcanberra-pulse 0.30-4
    libpulse 4.0-6
    mopidy-git v0.16.0-1
    pulseaudio 4.0-6
    pulseaudio-alsa 2-2
    Any ideas on where to go with this?
    It only fails If I run this through systemctl, if I start mopidy from command line, it works without issue
    Last edited by kageurufu (2013-10-30 16:20:41)

    It is probably a pulse access issue due to being run by root systemd vs. being run by the user. For now, I'm just using https://gist.github.com/Freso/7434553 - as the description says, place it in $HOME/.config/systemd/user (or rather: $XDG_CONFIG_HOME/systemd/user) and you can use the user-level systemd to manage it. E.g., `systemctl --user (start,restart,stop,enable,status,...) mopidy`.
    If someone has a clue about the pulse issue, I'm all ears.

  • Fofix win't run (numpy python error?)

    [gert@boks lib]$ fofix
    Traceback (most recent call last):
    File "./FoFiX.py", line 108, in <module>
    from GameEngine import GameEngine
    File "/opt/fofix/src/GameEngine.py", line 32, in <module>
    from numpy import array, float32
    File "/usr/lib/python2.7/site-packages/numpy/__init__.py", line 136, in <module>
    import add_newdocs
    File "/usr/lib/python2.7/site-packages/numpy/add_newdocs.py", line 9, in <module>
    from numpy.lib import add_newdoc
    File "/usr/lib/python2.7/site-packages/numpy/lib/__init__.py", line 13, in <module>
    from polynomial import *
    File "/usr/lib/python2.7/site-packages/numpy/lib/polynomial.py", line 11, in <module>
    import numpy.core.numeric as NX
    AttributeError: 'module' object has no attribute 'core'
    My google-fu pointed me towards me lacking f2py, but from what I can understand, this is included in python2-numpy?
    Installed python packages:
    [gert@boks lib]$ pacman -Qs python
    local/cx_freeze 4.2.1-1
    A set of utilities for freezing Python scripts into executables
    local/dbus-python 0.83.1-2
    Python bindings for DBUS
    local/gstreamer0.10-python 0.10.18-3
    Python bindings for GStreamer 0.10
    local/kdebindings-python 4.6.0-1
    KDE bindings for python
    local/mutagen 1.20-3
    An audio metadata tag reader and writer implemented in pure python
    local/pycups 1.9.53-1
    Python CUPS Bindings
    local/pygobject 2.26.0-2
    Python bindings for GObject
    local/pygtk 2.22.0-3
    Python bindings for the GTK widget set
    local/pyogg 1.3-6
    Python ogg wrapper library
    local/pysmbc 1.0.10-1
    Python libsmbclient bindings
    local/python 3.1.3-2
    Next generation of the python high-level scripting language
    local/python-imaging 1.1.7-2
    PIL. Provides image processing capabilities for python
    local/python-lxml 2.2.8-2
    Python binding for the libxml2 and libxslt libraries
    local/python-mechanize 0.2.4-1
    Stateful programmatic web browsing in Python
    local/python-numeric 24.2-5
    Numerical Python adds a fast array facility to the Python language
    local/python-opengl 3.0.1-2
    The cross platform Python binding to OpenGL and related APIs
    local/python-pygame 1.9.1-3
    Python game library
    local/python-pysqlite 2.6.0-2
    A Python DB-API 2.0 interface for the SQLite embedded relational database engine
    local/python-sqlalchemy 0.6.6-1
    Python SQL toolkit and Object Relational Mapper
    local/python2 2.7.1-4
    A high-level scripting language
    local/python2-cairo 1.8.10-1
    Python2 bindings for the cairo graphics library
    local/python2-distribute 0.6.14-2
    A collection of extensions to the Python 2 distutils
    local/python2-numpy 1.5.1-1
    Scientific tools for Python
    local/python2-pyparsing 1.5.5-1
    General parsing module for Python
    local/python2-qt 4.8.3-1
    A set of Python 2 bindings for the Qt toolkit
    local/python2-sip 4.12.1-1
    A tool that makes it easy to create Python 2 bindings for C and C++ libraries
    local/pyvorbis 1.4-5
    Python vorbis wrapper library
    local/pyxml 0.8.4-8
    Python XML parsing library

    Has this problem come back? I'm using Blas and Lapack 3.3.1 but I'm getting the same error as the original poster meaning FOFIX won't start.
    ben@bahamut ~ $ fofix
    Traceback (most recent call last):
    File "./FoFiX.py", line 108, in <module>
    from GameEngine import GameEngine
    File "/opt/fofix/src/GameEngine.py", line 32, in <module>
    from numpy import array, float32
    File "/usr/lib/python2.7/site-packages/numpy/__init__.py", line 136, in <module>
    import add_newdocs
    File "/usr/lib/python2.7/site-packages/numpy/add_newdocs.py", line 9, in <module>
    from numpy.lib import add_newdoc
    File "/usr/lib/python2.7/site-packages/numpy/lib/__init__.py", line 13, in <module>
    from polynomial import *
    File "/usr/lib/python2.7/site-packages/numpy/lib/polynomial.py", line 11, in <module>
    import numpy.core.numeric as NX
    AttributeError: 'module' object has no attribute 'core'

  • Everything is broke! gstreamer, pidgin [SOLVED]

    Whats going on with arch? its not a bleeding edge anymore, its "fix you system after each upgrade" :\
    First I had a lot of errors from ldconfig that /usr/lib/libgstX is bad because ELF header does not contain a good magic number (something like this), the same goes for libfuse and libulockmgr. So i simply removed gstreamer and fuse (and half of gnome on the way) and ldconfig still said the same, so I deleted the libXX that ldconfig complained about. reinstaller fuse, gstreamer, gnome and they complained that "XX already exists in filesystem" so I did pacman -Sf on those packages. Now I cant start pidgin because:
    pidgin
    pidgin: error while loading shared libraries: libgstreamer-0.10.so.0: cannot open shared object file: No such file or directory
    What the hell?! cant gstreamer create all files it needs?
    Also gnome-mixer applet cannot be loaded.
    No more gnome-cups-manager
    Duplicate packages like polkit and policykit, shouldnt new package that replaces old one, remove the old one?
    Sorry for being that annoying, just some time ago, arch was more usable, you simply update and continue using the system. Today you update, spent half day to fix the problem that update caused.
    Any help?
    pacman.log
    [2010-02-10 20:19] synchronizing package lists
    [2010-02-10 20:20] starting full system upgrade
    [2010-02-10 20:21] starting full system upgrade
    [2010-02-12 15:08] upgraded xf86-input-evdev (2.3.2-1 -> 2.2.5-1)
    [2010-02-12 15:08] upgraded xf86-video-vesa (2.2.1-1 -> 2.2.0-1)
    [2010-02-12 15:08] upgraded xorg-server (1.7.4.901-1 -> 1.6.3.901-1)
    [2010-02-12 15:09] synchronizing package lists
    [2010-02-12 15:09] starting full system upgrade
    [2010-02-12 15:10] starting full system upgrade
    [2010-02-12 15:11] synchronizing package lists
    [2010-02-12 15:11] starting full system upgrade
    [2010-02-12 15:11] starting full system upgrade
    [2010-02-12 15:11] upgraded brasero (2.28.3-1 -> 2.28.3-2)
    [2010-02-12 15:11] upgraded curl (7.19.7-1 -> 7.20.0-1)
    [2010-02-12 15:11] upgraded enca (1.12-1 -> 1.13-1)
    [2010-02-12 15:11] upgraded flashplugin (10.0.42.34-1 -> 10.0.45.2-1)
    [2010-02-12 15:11] upgraded gnome-python-desktop (2.28.0-2 -> 2.28.0-3)
    [2010-02-12 15:11] upgraded kernel26-firmware (2.6.32.7-1 -> 2.6.32.8-1)
    [2010-02-12 15:12] >>> Updating module dependencies. Please wait ...
    [2010-02-12 15:12] >>> MKINITCPIO SETUP
    [2010-02-12 15:12] >>> ----------------
    [2010-02-12 15:12] >>> If you use LVM2, Encrypted root or software RAID,
    [2010-02-12 15:12] >>> Ensure you enable support in /etc/mkinitcpio.conf .
    [2010-02-12 15:12] >>> More information about mkinitcpio setup can be found here:
    [2010-02-12 15:12] >>> http://wiki.archlinux.org/index.php/Mkinitcpio
    [2010-02-12 15:12]
    [2010-02-12 15:12] >>> Generating initial ramdisk, using mkinitcpio.  Please wait...
    [2010-02-12 15:12] ==> Building image "default"
    [2010-02-12 15:12] ==> Running command: /sbin/mkinitcpio -k 2.6.32-ARCH -c /etc/mkinitcpio.conf -g /boot/kernel26.img
    [2010-02-12 15:12] :: Begin build
    [2010-02-12 15:12] :: Parsing hook [base]
    [2010-02-12 15:12] :: Parsing hook [udev]
    [2010-02-12 15:12] :: Parsing hook [autodetect]
    [2010-02-12 15:12] :: Parsing hook [pata]
    [2010-02-12 15:12] :: Parsing hook [scsi]
    [2010-02-12 15:12] :: Parsing hook [sata]
    [2010-02-12 15:12] :: Parsing hook [filesystems]
    [2010-02-12 15:12] :: Generating module dependencies
    [2010-02-12 15:12] :: Generating image '/boot/kernel26.img'...SUCCESS
    [2010-02-12 15:12] ==> SUCCESS
    [2010-02-12 15:12] ==> Building image "fallback"
    [2010-02-12 15:12] ==> Running command: /sbin/mkinitcpio -k 2.6.32-ARCH -c /etc/mkinitcpio.conf -g /boot/kernel26-fallback.img -S autodetect
    [2010-02-12 15:12] :: Begin build
    [2010-02-12 15:12] :: Parsing hook [base]
    [2010-02-12 15:12] :: Parsing hook [udev]
    [2010-02-12 15:12] :: Parsing hook [pata]
    [2010-02-12 15:12] :: Parsing hook [scsi]
    [2010-02-12 15:12] :: Parsing hook [sata]
    [2010-02-12 15:12] :: Parsing hook [filesystems]
    [2010-02-12 15:12] :: Generating module dependencies
    [2010-02-12 15:13] :: Generating image '/boot/kernel26-fallback.img'...SUCCESS
    [2010-02-12 15:13] ==> SUCCESS
    [2010-02-12 15:13] upgraded kernel26 (2.6.32.7-1 -> 2.6.32.8-1)
    [2010-02-12 15:13] upgraded libdrm (2.4.17-3 -> 2.4.17-4)
    [2010-02-12 15:13] upgraded libebml (0.7.8-1 -> 0.7.8-2)
    [2010-02-12 15:13] upgraded libv4l (0.6.3-2 -> 0.6.4-1)
    [2010-02-12 15:13] upgraded postgresql-libs (8.4.2-1 -> 8.4.2-4)
    [2010-02-12 15:13] upgraded ppp (2.4.4-9 -> 2.4.5-1)
    [2010-02-12 15:13] upgraded sip (4.9.3-1 -> 4.10.0-1)
    [2010-02-12 15:13] upgraded qt (4.5.3-4 -> 4.6.1-1)
    [2010-02-12 15:13] upgraded qscintilla (2.4.0-2 -> 2.4.2-1)
    [2010-02-12 15:13] upgraded pyqt (4.6.2-2 -> 4.7.0-2)
    [2010-02-12 15:13] upgraded rxvt-unicode (9.06-3 -> 9.07-1)
    [2010-02-12 15:13] upgraded udev (151-2 -> 151-3)
    [2010-02-12 15:13] upgraded wpa_supplicant (0.6.9-2 -> 0.6.10-1)
    [2010-02-12 15:13] upgraded xf86-input-evdev (2.2.5-1 -> 2.3.2-1)
    [2010-02-12 15:13] upgraded xf86-video-vesa (2.2.0-1 -> 2.2.1-1)
    [2010-02-12 15:13] upgraded xorg-server (1.6.3.901-1 -> 1.7.4.901-1)
    [2010-02-12 17:26] synchronizing package lists
    [2010-02-12 17:26] starting full system upgrade
    [2010-02-14 20:57] synchronizing package lists
    [2010-02-14 20:58] starting full system upgrade
    [2010-02-14 21:04] starting full system upgrade
    [2010-02-14 21:18] starting full system upgrade
    [2010-02-14 21:19] starting full system upgrade
    [2010-02-14 21:20] synchronizing package lists
    [2010-02-14 21:20] starting full system upgrade
    [2010-02-14 21:20] starting full system upgrade
    [2010-02-15 13:48] installed lshw (B.02.14-1)
    [2010-02-15 13:48] synchronizing package lists
    [2010-02-15 13:48] starting full system upgrade
    [2010-02-15 13:48] starting full system upgrade
    [2010-02-15 13:49] upgraded libidn (1.15-1 -> 1.16-1)
    [2010-02-15 13:49] installed beanshell (2.0b4-1)
    [2010-02-15 13:49] installed saxon (9.2.0.2-1)
    [2010-02-15 13:49] installed vigra (1.6.0-2)
    [2010-02-15 13:49] installed libgraphite (2.3.1-1)
    [2010-02-15 13:49] installed hyphen (2.4-1)
    [2010-02-15 13:49] installed lpsolve (5.5.0.15-1)
    [2010-02-15 13:49] installed libmspack (0.0.20060920alpha-1)
    [2010-02-15 13:49] installed lucene (3.0.0-1)
    [2010-02-15 13:50]  * check /etc/profile.d/openoffice.sh, then relogin or "source" the file
    [2010-02-15 13:50]  * see http://wiki.archlinux.org/index.php/Openoffice
    [2010-02-15 13:50]    how to use extensions, e.g. for spell checking
    [2010-02-15 13:50]    see /usr/lib/openoffice/share/extension/install what
    [2010-02-15 13:50]    is shipped with this package
    [2010-02-15 13:50]  * make sure you have installed a ttf font (ttf-dejavu recommended)
    [2010-02-15 13:50] upgraded openoffice-base (3.1.1-3 -> 3.2.0-1)
    [2010-02-15 13:50] Updating vi help tags...done.
    [2010-02-15 13:50] upgraded vim (7.2.266-1 -> 7.2.359-1)
    [2010-02-15 13:50] upgraded vlc (1.0.5-2 -> 1.0.5-3)
    [2010-02-15 13:50] upgraded vlc-plugin (1.0.5-2 -> 1.0.5-3)
    [2010-02-15 13:50] removed policykit-gnome (0.9.2-5)
    [2010-02-15 13:50] removed policykit (0.9-9)
    [2010-02-16 11:51] synchronizing package lists
    [2010-02-16 11:52] starting full system upgrade
    [2010-02-16 11:53] synchronizing package lists
    [2010-02-16 11:53] starting full system upgrade
    [2010-02-16 11:53] starting full system upgrade
    [2010-02-16 11:58] removed klibc-udev (141-3)
    [2010-02-16 11:58] removed klibc-module-init-tools (3.8-1)
    [2010-02-16 11:58] removed klibc-kbd (1.15.20080312-10)
    [2010-02-16 11:58] removed klibc-extras (2.5-4)
    [2010-02-16 11:58] removed klibc (1.5.15-3)
    [2010-02-16 11:58] upgraded device-mapper (2.02.60-2 -> 2.02.60-3)
    [2010-02-16 11:58] upgraded cryptsetup (1.1.0-1 -> 1.1.0-2)
    [2010-02-16 11:58] warning: /etc/ld.so.conf installed as /etc/ld.so.conf.pacnew
    [2010-02-16 11:58] upgraded filesystem (2010.01-1 -> 2010.02-3)
    [2010-02-16 11:58] upgraded geany (0.18-1 -> 0.18.1-1)
    [2010-02-16 11:58] upgraded ghostscript (8.70-4 -> 8.71-1)
    [2010-02-16 11:58] installed mkinitcpio-busybox (1.15.3-5)
    [2010-02-16 11:58] upgraded mkinitcpio (0.5.30-1 -> 0.6.2-1)
    [2010-02-16 11:58] upgraded libisofs (0.6.26-1 -> 0.6.28-1)
    [2010-02-16 11:58] upgraded lvm2 (2.02.60-2 -> 2.02.60-3)
    [2010-02-16 11:58] upgraded mdadm (3.1.1-1 -> 3.1.1-2)
    [2010-02-16 11:58] upgraded nano (2.2.2-1 -> 2.2.3-1)
    [2010-02-16 11:58] In order to use the new nvidia module, exit Xserver and unload it manually.
    [2010-02-16 11:58] upgraded nvidia (190.53-3 -> 190.53-4)
    [2010-02-16 11:58] >>> The kernel-mode plugin has a new place.
    [2010-02-16 11:58] >>> It's now located under /usr/lib/rp-pppoe/rp-pppoe.so
    [2010-02-16 11:58] >>> Change LINUX_PLUGIN to the new path in your /etc/ppp/pppoe.conf
    [2010-02-16 11:58] upgraded rp-pppoe (3.10-2 -> 3.10-4)
    [2010-02-16 11:58] upgraded tzdata (2010a-1 -> 2010b-1)
    [2010-02-16 11:58] upgraded vi (050325-1 -> 050325-2)
    [2010-02-16 11:58] upgraded wireshark (1.2.6-1 -> 1.2.6-2)
    [2010-02-16 12:00] synchronizing package lists
    [2010-02-16 12:00] starting full system upgrade
    [2010-02-16 12:00] synchronizing package lists
    [2010-02-16 12:00] starting full system upgrade
    [2010-02-16 12:00] synchronizing package lists
    [2010-02-16 12:00] starting full system upgrade
    [2010-02-16 12:06] synchronizing package lists
    [2010-02-16 12:06] starting full system upgrade
    [2010-02-16 12:08] removed purple-plugin-pack (2.6.2-1)
    [2010-02-16 12:08] removed pidgin (2.6.5-1)
    [2010-02-16 12:08] removed gtkspell (2.0.16-1)
    [2010-02-16 12:08] removed libpurple (2.6.5-1)
    [2010-02-16 12:08] removed farsight2 (0.0.17-1)
    [2010-02-16 12:08] removed silc-toolkit (1.1.10-1)
    [2010-02-16 12:08] removed gstreamer0.10-python (0.10.17-1)
    [2010-02-16 12:08] removed libnice (0.0.10-1)
    [2010-02-16 12:08] removed libidn (1.16-1)
    [2010-02-16 12:14] synchronizing package lists
    [2010-02-16 12:14] starting full system upgrade
    [2010-02-16 12:14] installed libnice (0.0.10-1)
    [2010-02-16 12:14] installed gstreamer0.10-python (0.10.17-1)
    [2010-02-16 12:14] installed farsight2 (0.0.17-1)
    [2010-02-16 12:14] installed libidn (1.16-1)
    [2010-02-16 12:14] installed silc-toolkit (1.1.10-1)
    [2010-02-16 12:14] installed libpurple (2.6.5-1)
    [2010-02-16 12:14] installed gtkspell (2.0.16-1)
    [2010-02-16 12:14] installed pidgin (2.6.5-1)
    [2010-02-16 12:15] removed gstreamer0.10-base (0.10.26-1)
    [2010-02-16 12:18] synchronizing package lists
    [2010-02-16 12:18] starting full system upgrade
    [2010-02-16 12:18] synchronizing package lists
    [2010-02-16 12:18] starting full system upgrade
    [2010-02-16 12:19] synchronizing package lists
    [2010-02-16 12:20] starting full system upgrade
    [2010-02-16 12:20] synchronizing package lists
    [2010-02-16 12:20] starting full system upgrade
    [2010-02-16 12:20] synchronizing package lists
    [2010-02-16 12:21] starting full system upgrade
    [2010-02-16 12:21] synchronizing package lists
    [2010-02-16 12:22] starting full system upgrade
    [2010-02-16 12:26] synchronizing package lists
    [2010-02-16 12:26] starting full system upgrade
    [2010-02-16 12:26] starting full system upgrade
    [2010-02-16 12:27] removed pidgin (2.6.5-1)
    [2010-02-16 12:27] removed gtkspell (2.0.16-1)
    [2010-02-16 12:27] removed libpurple (2.6.5-1)
    [2010-02-16 12:27] removed farsight2 (0.0.17-1)
    [2010-02-16 12:27] removed silc-toolkit (1.1.10-1)
    [2010-02-16 12:27] removed gstreamer0.10-python (0.10.17-1)
    [2010-02-16 12:27] removed libnice (0.0.10-1)
    [2010-02-16 12:27] removed libidn (1.16-1)
    [2010-02-16 12:28] removed gnome-control-center (2.28.1-1)
    [2010-02-16 12:28] removed gnome-settings-daemon (2.28.1-1)
    [2010-02-16 12:28] removed sound-theme-freedesktop (0.3-2)
    [2010-02-16 12:28] removed gstreamer0.10-bad (0.10.17-3)
    [2010-02-16 12:28] removed notification-daemon (0.4.0-4)
    [2010-02-16 12:28] removed libsexy (0.1.11-2)
    [2010-02-16 12:29] removed gnome-media (2.28.5-1)
    [2010-02-16 12:29] removed cheese (2.28.1-1)
    [2010-02-16 12:29] removed gstreamer0.10-good-plugins (0.10.18-1)
    [2010-02-16 12:35] installed gstreamer0.10-base (0.10.26-1)
    [2010-02-16 12:36] removed gstreamer0.10-base (0.10.26-1)
    [2010-02-16 12:36] removed liboil (0.3.16-1)
    [2010-02-16 12:41] installed liboil (0.3.16-1)
    [2010-02-16 12:41] installed gstreamer0.10-base (0.10.26-1)
    [2010-02-16 12:41] removed gstreamer0.10-base (0.10.26-1)
    [2010-02-16 12:41] removed liboil (0.3.16-1)
    [2010-02-16 12:46] removed gnome-games-extra-data (2.28.0-1)
    [2010-02-16 12:46] removed gnome-games (2.28.2-1)
    [2010-02-16 12:46] removed gnochm (0.9.11-3)
    [2010-02-16 12:46] removed sensors-applet (2.2.5-1)
    [2010-02-16 12:46] removed libgail-gnome (1.20.1-1)
    [2010-02-16 12:46] removed gnome-utils (2.28.3-1)
    [2010-02-16 12:46] removed gnome-python-extras (2.25.3-5)
    [2010-02-16 12:46] removed gnome-python-desktop (2.28.0-3)
    [2010-02-16 12:46] removed gnome-applets (2.28.0-2)
    [2010-02-16 12:47] removed gdm (2.28.2-1)
    [2010-02-16 12:47] removed alacarte (0.12.4-2)
    [2010-02-16 12:47] removed gnomebaker (0.6.4-1)
    [2010-02-16 12:47] removed gnome-python (2.28.0-1)
    [2010-02-16 12:47] removed gnome-panel (2.28.0-2)
    [2010-02-16 12:47] removed gnome-cups-manager (0.33-7)
    [2010-02-16 12:47] removed ghex (2.24.0-1)
    [2010-02-16 12:47] removed mysql-workbench (5.1.18-1)
    [2010-02-16 12:47] removed mysql-gui-tools (5.0r14-4)
    [2010-02-16 12:47] removed gnome-system-tools (2.28.2-1)
    [2010-02-16 12:47] removed libgnomeui (2.24.2-1)
    [2010-02-16 12:47] removed libbonoboui (2.24.2-1)
    [2010-02-16 12:47] removed glipper-old (0.95.1-3)
    [2010-02-16 12:47] removed nautilus (2.28.4-1)
    [2010-02-16 12:47] removed libgnome (2.28.0-2)
    [2010-02-16 12:47] removed sshfs (2.2-3)
    [2010-02-16 12:47] removed gvfs (1.4.3-1)
    [2010-02-16 12:47] removed fuse (2.8.3-1)
    [2010-02-16 12:47] removed clutter-gtk (0.10.2-1)
    [2010-02-16 12:47] removed ggz-client-libs (0.0.14.1-1)
    [2010-02-16 12:47] removed guile (1.8.7-1)
    [2010-02-16 12:47] removed libgtkhtml (2.11.1-2)
    [2010-02-16 12:47] removed python-pychm (0.8.4-3)
    [2010-02-16 12:47] removed at-spi (1.28.1-1)
    [2010-02-16 12:47] removed cpufrequtils (007-1)
    [2010-02-16 12:47] removed gucharmap (2.28.2-1)
    [2010-02-16 12:47] removed libgnomekbd (2.28.2-1)
    [2010-02-16 12:47] removed libxklavier (4.0-1)
    [2010-02-16 12:47] removed gnome-menus (2.28.0.1-1)
    [2010-02-16 12:47] removed dvd+rw-tools (7.1-2)
    [2010-02-16 12:47] removed pyorbit (2.24.0-2)
    [2010-02-16 12:47] removed gksu (2.0.2-2)
    [2010-02-16 12:47] removed libgnomeprintui (2.18.4-1)
    [2010-02-16 12:47] removed libzip (0.9-1)
    [2010-02-16 12:47] removed gtkhtml (3.28.2-1)
    [2010-02-16 12:47] removed liboobs (2.22.2-1)
    [2010-02-16 12:47] removed libgnomecanvas (2.26.0-1)
    [2010-02-16 12:47] removed libtracker (0.6.95-1)
    [2010-02-16 12:47] removed gnome-vfs (2.24.2-2)
    [2010-02-16 12:49] synchronizing package lists
    [2010-02-16 12:50] installed gnome-menus (2.28.0.1-1)
    [2010-02-16 12:50] installed libgnomecanvas (2.26.0-1)
    [2010-02-16 12:50] upgraded gnome-mime-data (2.18.0-4 -> 2.18.0-4)
    [2010-02-16 12:50] installed gnome-vfs (2.24.2-2)
    [2010-02-16 12:50] ==> You must load the fuse kernel module to use FUSE.
    [2010-02-16 12:50]  -> Run 'modprobe fuse' to load the module now.
    [2010-02-16 12:50]  -> Add fuse to $MODULES in /etc/rc.conf to load on every boot.
    [2010-02-16 12:50] ==> You will need a /dev/fuse device node to use FUSE.
    [2010-02-16 12:50]  -> If you use udev, nothing needs to be done
    [2010-02-16 12:50]  -> For a static /dev, run: mknod /dev/fuse -m 0666 c 10 229
    [2010-02-16 12:50] installed fuse (2.8.3-1)
    [2010-02-16 12:50] installed gvfs (1.4.3-1)
    [2010-02-16 12:50] installed libgnome (2.28.0-2)
    [2010-02-16 12:50] installed libbonoboui (2.24.2-1)
    [2010-02-16 12:50] installed libgnomeui (2.24.2-1)
    [2010-02-16 12:50] upgraded gnome-desktop (2.28.2-1 -> 2.28.2-1)
    [2010-02-16 12:50] installed gnome-panel (2.28.0-2)
    [2010-02-16 12:50] installed gucharmap (2.28.2-1)
    [2010-02-16 12:50] installed cpufrequtils (007-1)
    [2010-02-16 12:50] installed libxklavier (4.0-1)
    [2010-02-16 12:50] installed libgnomekbd (2.28.2-1)
    [2010-02-16 12:50] installed gnome-applets (2.28.0-2)
    [2010-02-16 12:50] upgraded gnome-backgrounds (2.28.0-1 -> 2.28.0-1)
    [2010-02-16 12:50] installed liboil (0.3.16-1)
    [2010-02-16 12:50] installed gstreamer0.10-base (0.10.26-1)
    [2010-02-16 12:50] installed gnome-settings-daemon (2.28.1-1)
    [2010-02-16 12:50] installed sound-theme-freedesktop (0.3-2)
    [2010-02-16 12:50] upgraded metacity (2.28.1-1 -> 2.28.1-1)
    [2010-02-16 12:50] installed gnome-control-center (2.28.1-1)
    [2010-02-16 12:50] upgraded gnome-icon-theme (2.28.0-1 -> 2.28.0-1)
    [2010-02-16 12:50] installed gstreamer0.10-good-plugins (0.10.18-1)
    [2010-02-16 12:50] installed gnome-media (2.28.5-1)
    [2010-02-16 12:50] upgraded gnome-screensaver (2.28.3-1 -> 2.28.3-1)
    [2010-02-16 12:50] upgraded gnome-session (2.28.0-1 -> 2.28.0-1)
    [2010-02-16 12:51] upgraded gnome-themes (2.28.1-1 -> 2.28.1-1)
    [2010-02-16 12:51] upgraded yelp (2.28.1-2 -> 2.28.1-2)
    [2010-02-16 12:51] upgraded gnome2-user-docs (2.28.2-1 -> 2.28.2-1)
    [2010-02-16 12:51] installed at-spi (1.28.1-1)
    [2010-02-16 12:51] installed libgail-gnome (1.20.1-1)
    [2010-02-16 12:51] installed libtracker (0.6.95-1)
    [2010-02-16 12:51] installed nautilus (2.28.4-1)
    [2010-02-16 12:51] installed libsexy (0.1.11-2)
    [2010-02-16 12:51] installed notification-daemon (0.4.0-4)
    [2010-02-16 12:51] warning: directory permissions differ on var/log/gdm/
    filesystem: 1770  package: 755
    [2010-02-16 12:51] installed gdm (2.28.2-1)
    [2010-02-16 12:52] upgraded gstreamer0.10-base (0.10.26-1 -> 0.10.26-1)
    [2010-02-16 12:52] installed gstreamer0.10-bad (0.10.17-3)
    [2010-02-16 12:52] installed gstreamer0.10-python (0.10.17-1)
    [2010-02-16 12:52] upgraded gstreamer0.10-good-plugins (0.10.18-1 -> 0.10.18-1)
    [2010-02-16 12:52] upgraded notification-daemon (0.4.0-4 -> 0.4.0-4)
    [2010-02-16 12:52] installed libnice (0.0.10-1)
    [2010-02-16 12:52] installed farsight2 (0.0.17-1)
    [2010-02-16 12:52] installed libidn (1.16-1)
    [2010-02-16 12:52] installed silc-toolkit (1.1.10-1)
    [2010-02-16 12:52] installed libpurple (2.6.5-1)
    [2010-02-16 12:52] installed gtkspell (2.0.16-1)
    [2010-02-16 12:52] installed pidgin (2.6.5-1)
    [2010-02-16 12:54] synchronizing package lists
    [2010-02-16 12:55] starting full system upgrade
    [2010-02-16 12:55] upgraded gstreamer0.10-base (0.10.26-1 -> 0.10.26-1)
    [2010-02-16 12:57] installed glipper-old (0.95.1-3)
    [2010-02-16 13:09] installed liboobs (2.22.2-1)
    [2010-02-16 13:09] installed gnome-system-tools (2.28.2-1)
    [2010-02-16 13:10] installed gnome-utils (2.28.3-1)
    Last edited by skwo (2010-02-16 13:37:41)

    Thanks for reply!!
    Here is the output:
    ┌─[ skwo @ werewolf ] - [ 15:22:32 Tue Feb 16 ] - [ ~ ]
    └─[$]> locate libgstreamer-0.10.so.0
    /usr/lib/libgstreamer-0.10.so.0
    /usr/lib/libgstreamer-0.10.so.0.22.0
    ┌─[ skwo @ werewolf ] - [ 15:22:45 Tue Feb 16 ] - [ ~ ]
    └─[$]> sudo pacman -Qo /usr/lib/libgstreamer-0.10.so.0
    Password:
    error: failed to read file '/usr/lib/libgstreamer-0.10.so.0': No such file or directory
    ┌─[ skwo @ werewolf ] - [ 15:23:06 Tue Feb 16 ] - [ ~ ]
    └─[$]> sudo pacman -Qo /usr/lib/libgstreamer-0.10.so
    error: No package owns /usr/lib/libgstreamer-0.10.so
    ┌─[ skwo @ werewolf ] - [ 15:23:34 Tue Feb 16 ] - [ ~ ]
    └─[$]> sudo pacman -Qo /usr/lib/libgstreamer-0.10.so.0.22.0
    error: failed to read file '/usr/lib/libgstreamer-0.10.so.0.22.0': No such file or directory
    I tried to use up-to-date mirror, didnt help.
    -Edit-
    locate libgstreamer
    /usr/lib/libgstreamer-0.10.a
    /usr/lib/libgstreamer-0.10.so
    /usr/lib/libgstreamer-0.10.so.0
    /usr/lib/libgstreamer-0.10.so.0.22.0
    /usr/share/gtk-doc/html/gstreamer-0.10/libgstreamer.html
    ls -l /usr/lib/ | grep libgstreamer
    -rw-r--r--  1 root root  1193656 Feb 12 22:20 libgstreamer-0.10.a
    lrwxrwxrwx  1 root root       27 Feb 12 22:20 libgstreamer-0.10.so -> libgstreamer-0.10.so.0.23.0
    -Edit 2-
    Using another mirror solved the problem. Thanks!
    Last edited by skwo (2010-02-16 13:37:25)

  • Gstreamer, the easy way

    Since I like to have a way to install all gstreamer packages, I thought others might like to have them all displayed and formatted for a quick installation.
    All you need is current and extra repo's
    pacman -Sy gstreamer0.10 gstreamer0.10-a52dec gstreamer0.10-aalib gstreamer0.10-alsa gstreamer0.10-amrnb gstreamer0.10-annodex gstreamer0.10-bad gstreamer0.10-base gstreamer0.10-bz2 gstreamer0.10-cairo gstreamer0.10-cdio gstreamer0.10-cdparanoia gstreamer0.10-dts gstreamer0.10-dv gstreamer0.10-dv1394 gstreamer0.10-dvdread gstreamer0.10-esd gstreamer0.10-faac gstreamer0.10-faad gstreamer0.10-ffmpeg gstreamer0.10-flac gstreamer0.10-gconf gstreamer0.10-gdkpixbuf gstreamer0.10-gnomevfs gstreamer0.10-good gstreamer0.10-hal gstreamer0.10-jpeg gstreamer0.10-ladspa gstreamer0.10-lame gstreamer0.10-libcaca gstreamer0.10-libpng gstreamer0.10-libvisual gstreamer0.10-mad gstreamer0.10-mms gstreamer0.10-mpeg2dec gstreamer0.10-musepack gstreamer0.10-neon gstreamer0.10-ogg gstreamer0.10-pango gstreamer0.10-pitfdll gstreamer0.10-python gstreamer0.10-sdl gstreamer0.10-shout2 gstreamer0.10-sidplay gstreamer0.10-speex gstreamer0.10-swfdec gstreamer0.10-taglib gstreamer0.10-theora gstreamer0.10-ugly gstreamer0.10-vorbis gstreamer0.10-xvid

    It depends on the apps that you use. If you use a media player that use it (like listen in community repo), to play a certain file type, you need to have the corresponding plugin installed.  I assume that the advantages are that it's more lightweight and there are probably other reasons (performance?) that I'm not aware of.  Maybe the developers of  multimedia apps find it easier to use gstreamer than the default way.

  • Pipelining Audio input to CMUSphinx using Gstreamer

    The wikipage for CMUSphinx gives a python example (http://cmusphinx.sourceforge.net/wiki/gstreamer) - this is the pipeline setup with gst_parse_launch:
    self.pipeline = gst.parse_launch('gconfaudiosrc ! audioconvert ! audioresample '
    + '! vader name=vad auto_threshold=true '
    + '! pocketsphinx name=asr ! fakesink')
    The Gstreamer manual gives:
    Create a new pipeline based on command line syntax.
    I can't seem to get a hold on the pipeline though - here is the command line attempt:
    gst-launch-0.10 gconfaudiosrc ! audioconvert ! audioresample '
    + '! vader name=vad auto_threshold=true '
    + '! pocketsphinx name=asr ! fakesink
    INFO: cmd_ln.c(691): Parsing command line:
    gst-pocketsphinx \
    -samprate 8000 \
    -cmn prior \
    -fwdflat no \
    -bestpath no \
    -maxhmmpf 2000 \
    -maxwpf 20
    Current configuration:
    [NAME] [DEFLT] [VALUE]
    -agc none none
    -agcthresh 2.0 2.000000e+00
    -alpha 0.97 9.700000e-01
    -ascale 20.0 2.000000e+01
    -aw 1 1
    -backtrace no no
    -beam 1e-48 1.000000e-48
    -bestpath yes no
    -bestpathlw 9.5 9.500000e+00
    -bghist no no
    -ceplen 13 13
    -cmn current prior
    -cmninit 8.0 8.0
    -compallsen no no
    -debug 0
    -dict
    -dictcase no no
    -dither no no
    -doublebw no no
    -ds 1 1
    -fdict
    -feat 1s_c_d_dd 1s_c_d_dd
    -featparams
    -fillprob 1e-8 1.000000e-08
    -frate 100 100
    -fsg
    -fsgusealtpron yes yes
    -fsgusefiller yes yes
    -fwdflat yes no
    -fwdflatbeam 1e-64 1.000000e-64
    -fwdflatefwid 4 4
    -fwdflatlw 8.5 8.500000e+00
    -fwdflatsfwin 25 25
    -fwdflatwbeam 7e-29 7.000000e-29
    -fwdtree yes yes
    -hmm
    -input_endian little little
    -jsgf
    -kdmaxbbi -1 -1
    -kdmaxdepth 0 0
    -kdtree
    -latsize 5000 5000
    -lda
    -ldadim 0 0
    -lextreedump 0 0
    -lifter 0 0
    -lm
    -lmctl
    -lmname default default
    -logbase 1.0001 1.000100e+00
    -logfn
    -logspec no no
    -lowerf 133.33334 1.333333e+02
    -lpbeam 1e-40 1.000000e-40
    -lponlybeam 7e-29 7.000000e-29
    -lw 6.5 6.500000e+00
    -maxhmmpf -1 2000
    -maxnewoov 20 20
    -maxwpf -1 20
    -mdef
    -mean
    -mfclogdir
    -min_endfr 0 0
    -mixw
    -mixwfloor 0.0000001 1.000000e-07
    -mllr
    -mmap yes yes
    -ncep 13 13
    -nfft 512 512
    -nfilt 40 40
    -nwpen 1.0 1.000000e+00
    -pbeam 1e-48 1.000000e-48
    -pip 1.0 1.000000e+00
    -pl_beam 1e-10 1.000000e-10
    -pl_pbeam 1e-5 1.000000e-05
    -pl_window 0 0
    -rawlogdir
    -remove_dc no no
    -round_filters yes yes
    -samprate 16000 8.000000e+03
    -seed -1 -1
    -sendump
    -senlogdir
    -senmgau
    -silprob 0.005 5.000000e-03
    -smoothspec no no
    -svspec
    -tmat
    -tmatfloor 0.0001 1.000000e-04
    -topn 4 4
    -topn_beam 0 0
    -toprule
    -transform legacy legacy
    -unit_area yes yes
    -upperf 6855.4976 6.855498e+03
    -usewdphones no no
    -uw 1.0 1.000000e+00
    -var
    -varfloor 0.0001 1.000000e-04
    -varnorm no no
    -verbose no no
    -warp_params
    -warp_type inverse_linear inverse_linear
    -wbeam 7e-29 7.000000e-29
    -wip 0.65 6.500000e-01
    -wlen 0.025625 2.562500e-02
    Setting pipeline to PAUSED ...
    ** (gst-launch-0.10:790): WARNING **: No GConf default audio src key and alsasrc doesn't work
    ERROR: Pipeline doesn't want to pause.
    ERROR: from element /GstPipeline:pipeline0/GstGConfAudioSrc:gconfaudiosrc0: Could not configure supporting library.
    Additional debug info:
    gstgconfaudiosrc.c(152): do_toggle_element (): /GstPipeline:pipeline0/GstGConfAudioSrc:gconfaudiosrc0:
    Failed to render audio src from GConf
    Setting pipeline to NULL ...
    Freeing pipeline ...
    I really think I'm missing something very obvious about how these libraries and devices are supposed to interact. Hopefully someone can point me in the right direction.

    So there is a gstreamer plugin autodetect, which allows it to pipeline the default recording using
    gst-launch-0.10 autoaudiosrc
    . I'd like to mark this as solved but for future reference I actually still don't know where one normally gets the `audio source` name which gst_parse_launch expects (I'm looking at pactl list sources)

  • Use pacman to install all gstreamer plugins quickly

    I figure pacman is a great tool created by great people.  Is there a way to install a whole lot of packages that are similar, like gstreamer plugins for example, quickly, without typing each one individually?

    That doesn't quite work, Allan. The output of pacman -Ssq pkgname shows the size of the package also.
    > pacman -Ssq gstreamer0.10
    gstreamer0.10 [2.15 MB]
    gstreamer0.10-bad [1.02 MB]
    gstreamer0.10-bad-plugins [0.47 MB]
    gstreamer0.10-base [1.41 MB]
    gstreamer0.10-base-plugins [0.22 MB]
    gstreamer0.10-ffmpeg [2.51 MB]
    gstreamer0.10-good [1.05 MB]
    gstreamer0.10-good-plugins [0.40 MB]
    gstreamer0.10-python [0.36 MB]
    gstreamer0.10-ugly [0.22 MB]
    gstreamer0.10-ugly-plugins [0.12 MB]
    gstreamer0.10-pulse [0.03 MB]
    > pacman -S --needed $(pacman -Ssq gstreamer0.10)
    warning: gstreamer0.10-0.10.24-1 is up to date -- skipping
    [2.15 package not found, searching for group...
    error: '[2.15': not found in sync db

  • Gstreamer mp3 playback broken

    When I tried to play some mp3's today via Clementine, gstreamer gave me "data flow error"(everything worked yesterday,lol) , and then, when I reinstalled all possible gstreamer plugins(except "ugly") mp3 playback didn't change at all, some mp3 files were played but with (:03, :06, :09 second speed) like it is jumping, no sound of course. Does anybody know how to fix it, and why is this happening?

    [root@celestary wengophone-ng-svn]# pacman -Qs MP3
    local/lame 3.97-1
    An MP3 encoder and graphical frame analyzer
    local/mpg321 0.2.10-2
    A commandline mp3 player
    local/python-eyed3 0.6.12-1
    A Python module and program for processing information about mp3 files
    local/ripperx 2.7.0-1
    GTK program to rip and encode mp3 files
    Here it works perfectly. libmad and lame should be sufficient.
    OGG media plays flawlessly?
    Last edited by chaosgeisterchen (2007-06-17 21:08:14)

  • [solved] error: 'gstreamer': not found in sync db

    hi, i just did an -Syu and now i cant play videos with vlc!! it cant find the decoder!! For some reason, pacman cant find any gstreamer packages in the repos!!
    how do i solve this??
    [root@ArchLinux danny]# pacman -Ss gst
    [root@ArchLinux danny]# pacman -Sy gstreamer
    :: Synchronising package databases...
    core is up to date
    extra is up to date
    community is up to date
    gstreamer package not found, searching for group...
    error: 'gstreamer': not found in sync db
    [root@ArchLinux danny]#
    [root@ArchLinux danny]# pacman -Qs gstreamer
    local/gstreamer0.10 0.10.25-1
    GStreamer Multimedia Framework
    local/gstreamer0.10-base 0.10.25-1
    GStreamer Multimedia Framework Base plugin libraries
    local/gstreamer0.10-base-plugins 0.10.25-1 (gstreamer0.10-plugins)
    GStreamer Multimedia Framework Base Plugins (gst-plugins-base)
    local/gstreamer0.10-ffmpeg 0.10.9-1 (gstreamer0.10-plugins)
    Gstreamer FFMpeg Plugin
    local/gstreamer0.10-good 0.10.17-2
    GStreamer Multimedia Framework Good plugin libraries
    local/gstreamer0.10-good-plugins 0.10.17-2 (gstreamer0.10-plugins)
    GStreamer Multimedia Framework Good Plugins (gst-plugins-good)
    local/gstreamer0.10-python 0.10.17-1
    Python bindings for GStreamer 0.10
    local/gstreamer0.10-ugly 0.10.13-3
    GStreamer Multimedia Framework Ugly plugin libraries
    local/gstreamer0.10-ugly-plugins 0.10.13-3 (gstreamer0.10-plugins)
    GStreamer Multimedia Framework Ugly Plugins (gst-plugins-ugly)
    [root@ArchLinux danny]#
    Last edited by ninjaprawn (2010-02-11 20:49:03)

    wonder wrote:because the actual name is gstreamer0.10. the only thing that is missing is gstreamer0.10-bad-plugins and you might want to install them.
    hmmmmmm, I don't know? surely, if I do pacman -Ss gst, it should be listed from the repo in the output then?? As you can see from my first post, it isn't!!

  • Unable to capture stdout, stderr from python.

    I am trying to read the stdout and stderr of a python program.
    When I invoke anything else apart from python my class works fine.
    The python program takes ca 1 sec to start. It then prints one line of text, then it prints a promt and waits for input from user.
    I tryed with another program that behaves in the same way and there I got the first line. Not the prompt, that not a python but a native C program.
    I have tried using BufferedReader but without sucess.
    My class looks like this.
    import java.io.BufferedInputStream;
    import java.io.IOException;
    import java.io.OutputStream;
    public class Executer extends Thread {
        //read standard out output of the external executable
        //in seperate thread to avoid I/O deadlocks
        final int BUFFER = 2048;
        Process p;
        BufferedInputStream in;
        OutputStream out;
        StringBuffer strbuf;
        String[] cmdarr = null;
        public Executer(String path) {
            this.cmdarr = new String[] { path };
        public Executer(String[] path) {
            this.cmdarr = path;
        public void run() {
            try {
                System.out.println("doing call");
                p = Runtime.getRuntime().exec(cmdarr);
                in = new BufferedInputStream(p.getInputStream());
                strbuf = new StringBuffer();
                out = p.getOutputStream();
                int i;
                byte[] buf = new byte[BUFFER];
                String str;
                            while ((i = in.read(buf, 0, BUFFER)) != -1)
                                System.out.write(buf, 0, i);
            } catch (IOException e) {
                e.printStackTrace();
        public int killProcess() throws InterruptedException {
            p.destroy();
            try {
                in.close();
                System.out.println("Closed");
            } catch (IOException e) {
                // TODO Auto-generated catch block
                e.printStackTrace();
            return p.waitFor();
    }Any ideas is appreciated.

    When Runtime Exec Won't - a good article on running processes from a Java program...
    Hope that helps;
    lutha

  • Calling a .py script inside a .VI, using anaconda's Libraries or specific python version (SystemExec.vi(?), MAC OSX)

    Hi,
    I'm new to both mac and LabView, so it may well be something obvious I'm missing.
    I'm trying to use System Exec (http://zone.ni.com/reference/en-XX/help/371361L-01/glang/system_exec/ with LabVIEW 2014 on Mac OS X Mavericks) to call a python script to do some image processing after taking some data and saving images via LabView.
    My problem is that I cannot figure out how to point it to the correct version/install of python to use, as it seems to use the pre-installed 2.7.5 apple version no matter whether that's set to be my default or not (and hence, it can't see my SciPy, PIL etc. packages that come with my Anaconda install).
    It doesn't seem to matter whether I have certain packages installed for 2.7 accessable via the terminal, the LabView System Exec command line can't seem to find them either way and throws up an error if a script is called that imports them.
    I've tried changing the working directory to the relevant anaconda/bin folder, I've also tried
    cd /Applications/anaconda/bin; python <file.py> 
    as the CL input to system exec, but it's not wanting to use anything other than the apple install. I've tried Anaconda installs with both python 2.7 and 3.4, so it doesn't seem to be down to the 3.* compatibility issues alone.
    Printing the python version to a string indicator box in LV via python script gives the following:
    2.7.5 (default, Mar 9 2014, 22:15:05)
    [GCC 4.2.1 Compatible Apple LLVM 5.0 (clang-500.0.68)]
    Whereas via the terminal, the default version is the anaconda install I'd like to use, currently
    Python 3.4.1 |Anaconda 2.1.0 (x86_64)| (default, Sep 10 2014, 17:24:09)
    [GCC 4.2.1 (Apple Inc. build 5577)] on darwin
    I can do which python3.4 on the sys exec CL input to get the correct /anaconda/bin location, but if I try  python3.4 <file.py>, I just get a Seg fault.
    I've found examples for System Exec use and instructions for calling python scripts with specific versions, but neither works with Mac (frustratingly).
    I've also tried editing the Path Environment Variable, and tried getting rid of the python 2.7 install entirely, but none of these work either (the latter just causing errors all over the shop).
    So, in summary
    I'd just like to know how to specify the python version LabView uses and to have use of the corresponding python libraries.
    Either python version (2 or 3) will do, I'd just like to be able to use my libraries which came with Anaconda which I'll be writing my scripts with (which I installed as the correct packages are only compatible with a specific python version on Mac, which is not the specific version that Xcode was compatible with, argh).
    All packages work normally when using the Anaconda version with the terminal or with Spyder.
    Is there a function I can use other than System Exec? What am I missing?
    Please help.

    janedoe777 wrote:
    Accidental. Also, that's not terribly helpful.
    What exactly does that mean?
    I'm not debating whether it was accidental or intentional.  It certainly isn't helpful to post the same message twice.
    It is helpful to point out this message is a duplicate so people don't waste their time answering this one if you are already being helped in the other one.

Maybe you are looking for

  • Acrobat Hangs Creating PDF from Word Doc - Possible Solution

    For the last several months, I had been working on converting a 20MB Word document into a PDF. The Word doc has external hyperlinks as well as many internal hyperlinks. It also has many sections and uses the TOC generator. I found that when I convert

  • Very bad audio quality through Thunderbolt/HDMI

    The last year or so I had been using a Windows 7 laptop, connected to my HDTV as an extra display through an auxilary cable for the audio and a VGA for the video, then I plugged in another cable to the headphone socket on the TV which ran into my 2 c

  • SQL Server Agent Job steps

    I've searched and can't find the answer to this, would like to post it in the appropriate forum. (Using SQL Server 2008R2) I'm having trouble with a long string of email addresses in one of my SQL Server Agent Jobs. I'd like to edit it for readabilit

  • Material dtermination from r/3

    Hi, as a part of material determination download, we tried to download object  DNL_COND_D001 but we we are getting the following errors in middle ware filed content ";;;;" from field cannot be coverted Error in conversion of filed ocntents , KNUMH ca

  • Invoking RESTful service from OSB

    Hi I need to invoke Restful service from OSB11g in order to do that... 1. I have created Business service with the end point of the RESTful service. 2. Running the Business service and provided the XML as input in Transport Header--> query-string.. i