No sound from scheduler
  • Hi Campcasters !

    Everything goes well execpt some problems with the scheduler output. As I've read it in a previous post, I've tried:

    /opt/campcaster/bin/gst-launch filesrc location="/home/john/Musique/James Brown - The Big Payback.mp3" ! decodebin ! audioconvert ! audioscale ! alsasink device="hw:0,0"
    $1 =
    $1 =
    [... etc. ...]
    $2 =
    $1 =
    RUNNING pipeline ...
    ERROR: from element /pipeline0/alsasink0: Internal GStreamer error: state change failed. File a bug.
    Execution ended after 29 iterations (sum 196806000 ns, average 6786413 ns, min 18000 ns, max 148480000 ns).
    I have sound this way using hw:1,0 and 2,0. Cowbells are here in CampStudio, and the M2496 works well in other apps.

    Any ideas or did I really have to file a bug in GStreamer tracker?
    Thanks for any help.
    I'm a Python developer, testing Campcaster-* (versus Liquidsoap) for a French radio,
    which is broadcasting for more than 25 years now here in Rennes, western France.
    We are member of the "Ferarock" (a French Federation of 23 indies radios),
    and I'll be proud to present your solution to the next technical "big board". Wink

    #################################################################################
    Here some config infos:

    john@canalb:/opt/campcaster/etc$ aplay -l
    **** Liste des PLAYBACK périphériques ****
    carte 0: M2496 [M Audio Audiophile 24/96], périphérique 0 : ICE1712 multi [ICE1712 multi]
    Sous-périphériques: 1/1
    Sous-périphérique: #0: subdevice #0
    carte 1: UA1A [EDIROL UA-1A], périphérique 0 : USB Audio [USB Audio]
    Sous-périphériques: 1/1
    Sous-périphérique: #0: subdevice #0
    carte 2: nForce2 [NVidia nForce2], périphérique 0 : Intel ICH [NVidia nForce2]
    Sous-périphériques: 1/1
    Sous-périphérique: #0: subdevice #0
    carte 2: nForce2 [NVidia nForce2], périphérique 2 : Intel ICH - IEC958 [NVidia nForce2 - IEC958]
    Sous-périphériques: 1/1
    Sous-périphérique: #0: subdevice #0

    john@canalb:/opt/campcaster/etc$ uname -a
    Linux canalb 2.6.22-14-rt #1 SMP PREEMPT RT Mon Oct 15 01:05:51 GMT 2007 i686 GNU/Linux

    john@canalb:/opt/campcaster/etc$ more /home/john/.asoundrc.asoundconf
    # ALSA library configuration file managed by asoundconf(1).
    #
    # MANUAL CHANGES TO THIS FILE WILL BE OVERWRITTEN!
    #
    # Manual changes to the ALSA library configuration should be implemented
    # by editing the ~/.asoundrc file, not by editing this file.
    !defaults.pcm.card nForce2
    defaults.ctl.card nForce2
    defaults.pcm.device 0
    defaults.pcm.subdevice -1
    defaults.pcm.nonblock 1
    defaults.pcm.ipc_key 5678293
    defaults.pcm.ipc_gid audio
    defaults.pcm.ipc_perm 0660
    defaults.pcm.dmix.max_periods 0
    defaults.pcm.dmix.rate 48000
    defaults.pcm.dmix.format S16_LE
    defaults.pcm.dmix.card defaults.pcm.card
    defaults.pcm.dmix.device defaults.pcm.device
    [...]


    Thanks for reading,
    John Lejeune,
    canalb.fr Technical Comittee