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 _______________________________________________ gstreamer-devel mailing list [hidden email] http://lists.freedesktop.org/mailman/listinfo/gstreamer-devel |
On Wed, 2012-02-15 at 14:28 +0000, Glenn Pierce 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 ? You should mention the error you're getting to make it easier for other people to help you. -- Thiago > > Thanks > _______________________________________________ > gstreamer-devel mailing list > [hidden email] > http://lists.freedesktop.org/mailman/listinfo/gstreamer-devel _______________________________________________ gstreamer-devel mailing list [hidden email] http://lists.freedesktop.org/mailman/listinfo/gstreamer-devel |
In reply to this post by Glenn Pierce
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 <[hidden email]> 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 gstreamer-devel mailing list [hidden email] http://lists.freedesktop.org/mailman/listinfo/gstreamer-devel |
Free forum by Nabble | Edit this page |