filesrc problem with text files ?

Glenn Pierce glennpierce at gmail.com
Wed Feb 15 12:05:09 PST 2012


Sorry the output of gst-launch -v is below.


Setting pipeline to PAUSED ...
Pipeline is PREROLLING ...
/GstPipeline:pipeline0/GstCapsFilter:capsfilter0.GstPad:src: caps = text/plain
/GstPipeline:pipeline0/GstFestival:festival0.GstPad:sink: caps = text/plain
/GstPipeline:pipeline0/GstAudioConvert:audioconvert0.GstPad:src: caps
= audio/x-raw-int, endianness=(int)1234, channels=(int)1,
width=(int)16, depth=(int)16, signed=(boolean)true, rate=(int)16000
/GstPipeline:pipeline0/GstAudioConvert:audioconvert0.GstPad:sink: caps
= audio/x-raw-int, endianness=(int)1234, channels=(int)1,
width=(int)16, depth=(int)16, signed=(boolean)true, rate=(int)16000
/GstPipeline:pipeline0/GstAlsaSink:alsasink0.GstPad:sink: caps =
audio/x-raw-int, endianness=(int)1234, channels=(int)1, width=(int)16,
depth=(int)16, signed=(boolean)true, rate=(int)16000
Pipeline is PREROLLED ...
Setting pipeline to PLAYING ...
New clock: GstAudioSinkClock
Got EOS from element "pipeline0".
Execution ended after 3576607 ns.
Setting pipeline to PAUSED ...
Setting pipeline to READY ...
/GstPipeline:pipeline0/GstAlsaSink:alsasink0.GstPad:sink: caps = NULL
/GstPipeline:pipeline0/GstAudioConvert:audioconvert0.GstPad:src: caps = NULL
/GstPipeline:pipeline0/GstAudioConvert:audioconvert0.GstPad:sink: caps = NULL
/GstPipeline:pipeline0/GstWavParse:wavparse0.GstPad:src: caps = NULL
/GstPipeline:pipeline0/GstFestival:festival0.GstPad:sink: caps = NULL
/GstPipeline:pipeline0/GstCapsFilter:capsfilter0.GstPad:src: caps = NULL
Setting pipeline to NULL ...
Freeing pipeline ...






On 15 February 2012 14:28, Glenn Pierce <glennpierce at gmail.com> wrote:
> Hi
>
> I am trying to get the festival element to work with gstreamer.
>
> The example gst-launch command works ie
>
> echo 'Hello G-Streamer!' | gst-launch fdsrc fd=0 ! festival ! wavparse
> ! audioconvert ! alsasink
>
> piping a file also works ie
>
> cat scripts/jaws.txt | gst-launch fdsrc fd=0 ! festival ! wavparse !
> audioconvert ! alsasink
>
>
> However, I cant get this to work with filesrc unless the file only
> contains less than around 42 characters.
> It's utf-8 encoded.
>
> For example this fails
>
> gst-launch -v filesrc location=jaws.txt ! text/plain ! festival !
> wavparse ! audioconvert ! alsasink
>
>
> Am I doing something obviously wrong ?
>
> Thanks


More information about the gstreamer-devel mailing list