gnlcomposition with 2 wav files

lsmithso at hare.demon.co.uk lsmithso at hare.demon.co.uk
Thu Mar 7 13:20:37 PST 2013


Hi:

    I'm trying to use gst-launch, gnlcomposition and gnlfilesource to
    concatenate wav files together.  I can get it working with one source
    file but not two.  Can someone please tell me what I'm doing wrong.
    This one works fine with either input file:
    gst-launch      gnlcomposition {\
    gnlfilesource location=file:///tmp/x1.wav media-start=0 media-duration=2000000000  start=0 duration=2000000000     } !\
      audioconvert    !  autoaudiosink
    This one fails:
    gst-launch      gnlcomposition   { \
    gnlfilesource location=file:///tmp/x1.wav media-start=0 media-duration=2000000000  start=0 duration=2000000000      \
    gnlfilesource location=file:///tmp/x2.wav media-start=0 media-duration=2000000000  start=2000000000 duration=2000000000     } ! \
      audioconvert    !  autoaudiosink
    The error is:
    etting pipeline to PAUSED ...
    Pipeline is PREROLLING ...

- Ignored:
    ERROR: from element /GstPipeline:pipeline0/GnlFileSource:gnlfilesource0/GstURIDecodeBin:internal-uridecodebin/GstDecodeBin2:decodebin21/GstWavParse:wavparse1: Internal data flow error.
    Additional debug info:
    gstwavparse.c(2104): gst_wavparse_loop (): /GstPipeline:pipeline0/GnlFileSource:gnlfilesource0/GstURIDecodeBin:internal-uridecodebin/GstDecodeBin2:decodebin21/GstWavParse:wavparse1:
    streaming task paused, reason not-linked (-1)
    ERROR: pipeline doesn't want to preroll.
    Setting pipeline to NULL ...
    Freeing pipeline ...
    
    The wav files:
    /tmp/x1.wav: RIFF (little-endian) data, WAVE audio, Microsoft PCM, 16 bit, stereo 44100 Hz
    
    
    Thanks for any help you can give.
    
    -- 
    Les Smithson

- Done.


----------------------------------------------------------------------
From: <lsmithso at hare.demon.co.uk>
To: gstreamer-devel-request <gstreamer-devel-request at lists.freedesktop.org>
Subject: gnlcompositionwith 2 wav files 
Date: Thu, 7 Mar 2013 21:15:27 +0000


Hi:

I'm trying to use gst-launch, gnlcomposition and gnlfilesource to
concatenate wav files together.  I can get it working with one source
file but not two.  Can someone please tell me what I'm doing wrong.

This one works fine with either input file:

gst-launch      gnlcomposition {\
gnlfilesource location=file:///tmp/x1.wav media-start=0 media-duration=2000000000  start=0 duration=2000000000     } !\
  audioconvert    !  autoaudiosink


This one fails:

gst-launch      gnlcomposition   { \
gnlfilesource location=file:///tmp/x1.wav media-start=0 media-duration=2000000000  start=0 duration=2000000000      \
gnlfilesource location=file:///tmp/x2.wav media-start=0 media-duration=2000000000  start=2000000000 duration=2000000000     } ! \
  audioconvert    !  autoaudiosink

The error is:

etting pipeline to PAUSED ...
Pipeline is PREROLLING ...
ERROR: from element /GstPipeline:pipeline0/GnlFileSource:gnlfilesource0/GstURIDecodeBin:internal-uridecodebin/GstDecodeBin2:decodebin21/GstWavParse:wavparse1: Internal data flow error.
Additional debug info:
gstwavparse.c(2104): gst_wavparse_loop (): /GstPipeline:pipeline0/GnlFileSource:gnlfilesource0/GstURIDecodeBin:internal-uridecodebin/GstDecodeBin2:decodebin21/GstWavParse:wavparse1:
streaming task paused, reason not-linked (-1)
ERROR: pipeline doesn't want to preroll.
Setting pipeline to NULL ...
Freeing pipeline ...

The wav files:
/tmp/x1.wav: RIFF (little-endian) data, WAVE audio, Microsoft PCM, 16 bit, stereo 44100 Hz


Thanks for any help you can give.

-- 
Les Smithson


More information about the gstreamer-devel mailing list