Hi all,
I want to mix text spoken streams with white noise stream. For all streams I created wav files and try to mix the files. The pipeline is configured as followed: gst-launch.exe adder name=mix ! audioconvert ! lamemp3enc ! filesink location="C:/tmp/result.mp3" filesrc location="C:/tmp/tmp_audio_2.wav" ! wavparse ! audioconvert ! mix. filesrc location="C:/tmp/whiteNoise-2db-5s.wav" ! wavparse ! audioconvert ! mix. I get the error /GstPipeline:pipeline0/GstWavParse:wavparse0: streaming task paused, reason not-linked (-1) ERROR: pipeline doesn't want to preroll. If I mix to text spoken wav files - the white noice file replaced by a text spoken wav the pipeline works fine. Is there anybody could give a hint? Best regards Dr. Andrea König (Teamleiter Entwicklung) G.punkt - medical services Ihre Wünsche sind unser Konzept Halberstädter Str. 115 A 39112 Magdeburg fon: +49 391 280380 fax: +49 391 2803822 mail: [hidden email] inet: www.gmatic.de Institutskennzeichen: IK331530332, OID: 1.2.276.0.76.3.1.51; (c) 2011 by G.punkt; G.punkt ist Trust center zertifiziert für elektronischen Datenaustausch mit Leistungserbringern; GF: Tino Graßhof; ST-ID: DE210661356; Nr.: 101-225-04463; Großhandelserlaubnis nach § 52a Arzneimittelgesetz; G.punkt ist Mitglied im N.I.R. Netzwerk für innovative Rheumadiagnostik und -therapie; Neoscreen, NIQ und gmatic sind eingetragene Warenzeichen _______________________________________________ gstreamer-devel mailing list [hidden email] http://lists.freedesktop.org/mailman/listinfo/gstreamer-devel |
Can you please run the pipeline with -v after gst-launch, that will show the caps that are getting negotiated ?
Also I suspect there is a mismatch between the formats of two wav files, hence not-linked error, you might want to add appropriate capsfillter audioconvert of both wavfiles. Also its a good habit to use queue before mix on each branch. Best Luck kapil 2011/5/11 Andrea König <[hidden email]> Hi all, -- www.mediamagictechnologies.com (Gstreamer, ffmpeg, Red5, Streaming) twitter handle: @gst_kaps http://www.linkedin.com/in/kapilagrawal _______________________________________________ gstreamer-devel mailing list [hidden email] http://lists.freedesktop.org/mailman/listinfo/gstreamer-devel |
In reply to this post by Andrea König
Hi Andrea,
In case it is useful I thought I should mention that you can also generate white gaussian noise using audiotestsrc with the wave property set to 9 rather than reading it from a wav file. best, Chad 2011/5/11 Andrea König <[hidden email]>: > Hi all, > I want to mix text spoken streams with white noise stream. For all streams I > created wav files and try to mix the files. The pipeline is configured as > followed: > > gst-launch.exe adder name=mix ! audioconvert ! lamemp3enc ! filesink > location="C:/tmp/result.mp3" filesrc location="C:/tmp/tmp_audio_2.wav" ! > wavparse ! audioconvert ! mix. filesrc location="C:/tmp/whiteNoise-2db-5s.wav" > ! wavparse ! audioconvert ! mix. > > I get the error > /GstPipeline:pipeline0/GstWavParse:wavparse0: > streaming task paused, reason not-linked (-1) > ERROR: pipeline doesn't want to preroll. > > If I mix to text spoken wav files - the white noice file replaced by a text > spoken wav the pipeline works fine. > > Is there anybody could give a hint? > > Best regards > > Dr. Andrea König > (Teamleiter Entwicklung) > > G.punkt - medical services > Ihre Wünsche sind unser Konzept > Halberstädter Str. 115 A > 39112 Magdeburg > > fon: +49 391 280380 > fax: +49 391 2803822 > > mail: [hidden email] > inet: www.gmatic.de > > Institutskennzeichen: IK331530332, OID: 1.2.276.0.76.3.1.51; (c) 2011 by G.punkt; > G.punkt ist Trust center zertifiziert für elektronischen Datenaustausch mit Leistungserbringern; > GF: Tino Graßhof; ST-ID: DE210661356; Nr.: 101-225-04463; Großhandelserlaubnis nach § 52a Arzneimittelgesetz; > G.punkt ist Mitglied im N.I.R. Netzwerk für innovative Rheumadiagnostik und -therapie; > Neoscreen, NIQ und gmatic sind eingetragene Warenzeichen > _______________________________________________ > gstreamer-devel mailing list > [hidden email] > http://lists.freedesktop.org/mailman/listinfo/gstreamer-devel > -- Chad Hanna Perimeter Institute for Theoretical Physics 31 Caroline St. N. Waterloo, Ontario, Canada N2L 2Y5 Ph: (519) 569-7600 x7511 _______________________________________________ gstreamer-devel mailing list [hidden email] http://lists.freedesktop.org/mailman/listinfo/gstreamer-devel |
In reply to this post by Kapil Agrawal
Hi kapil,
many thanks for your reply. I run my pipeline with -v option and got the following output: /GstPipeline:pipeline0/GstAdder:mix.GstPad:sink1: caps = NULL /GstPipeline:pipeline0/GstAdder:mix.GstPad:sink0: caps = NULL /GstPipeline:pipeline0/GstAdder:mix.GstPad:src: caps = NULL /GstPipeline:pipeline0/GstAudioConvert:audioconvert1.GstPad:src: caps = NULL /GstPipeline:pipeline0/GstAudioConvert:audioconvert1.GstPad:sink: caps = NULL /GstPipeline:pipeline0/GstWavParse:wavparse0.GstPad:src: caps = NULL /GstPipeline:pipeline0/GstWavParse:wavparse1.GstPad:src: caps = NULL Could you give a hint. Caps filter I set. -- With best regards Dr. Andrea König (Development) Am Mittwoch 11 Mai 2011, 12:35:42 schrieben Sie: > Can you please run the pipeline with -v after gst-launch, that will show > the caps that are getting negotiated ? Also I suspect there is a mismatch > between the formats of two wav files, hence not-linked error, you might > want to add appropriate capsfillter audioconvert of both wavfiles. > > Also its a good habit to use queue before mix on each branch. > > Best Luck > kapil > > 2011/5/11 Andrea König > <[hidden email]<mailto:[hidden email]>> Hi all, > I want to mix text spoken streams with white noise stream. For all streams > I created wav files and try to mix the files. The pipeline is configured > as followed: > > gst-launch.exe adder name=mix ! audioconvert ! lamemp3enc ! filesink > location="C:/tmp/result.mp3" filesrc location="C:/tmp/tmp_audio_2.wav" ! > wavparse ! audioconvert ! mix. filesrc > location="C:/tmp/whiteNoise-2db-5s.wav" ! wavparse ! audioconvert ! mix. > > I get the error > /GstPipeline:pipeline0/GstWavParse:wavparse0: > streaming task paused, reason not-linked (-1) > ERROR: pipeline doesn't want to preroll. > > If I mix to text spoken wav files - the white noice file replaced by a text > spoken wav the pipeline works fine. > > Is there anybody could give a hint? > > Best regards > > Dr. Andrea König > (Teamleiter Entwicklung) > > G.punkt - medical services > Ihre Wünsche sind unser Konzept > Halberstädter Str. 115 A > 39112 Magdeburg > > fon: +49 391 280380 > fax: +49 391 2803822 > > mail: [hidden email]<mailto:[hidden email]> > inet: www.gmatic.de<http://www.gmatic.de> > > Institutskennzeichen: IK331530332, OID: 1.2.276.0.76.3.1.51; (c) 2011 by > G.punkt; G.punkt ist Trust center zertifiziert für elektronischen > Datenaustausch mit Leistungserbringern; GF: Tino Graßhof; ST-ID: > DE210661356; Nr.: 101-225-04463; Großhandelserlaubnis nach § 52a > Arzneimittelgesetz; G.punkt ist Mitglied im N.I.R. Netzwerk für innovative > Rheumadiagnostik und -therapie; Neoscreen, NIQ und gmatic sind > eingetragene Warenzeichen > _______________________________________________ > gstreamer-devel mailing list > [hidden email]<mailto:[hidden email] > top.org> http://lists.freedesktop.org/mailman/listinfo/gstreamer-devel > > > > -- > www.mediamagictechnologies.com<http://www.mediamagictechnologies.com> > (Gstreamer, ffmpeg, Red5, Streaming) twitter handle: @gst_kaps > http://www.linkedin.com/in/kapilagrawal G.punkt - medical services Ihre Wünsche sind unser Konzept Halberstädter Str. 115 A 39112 Magdeburg fon: +49 391 280380 fax: +49 391 2803822 mail: [hidden email] inet: www.gmatic.de Institutskennzeichen: IK331530332, OID: 1.2.276.0.76.3.1.51; (c) 2011 by G.punkt; G.punkt ist Trust center zertifiziert für elektronischen Datenaustausch mit Leistungserbringern; GF: Tino Graßhof; ST-ID: DE210661356; Nr.: 101-225-04463; Großhandelserlaubnis nach § 52a Arzneimittelgesetz; G.punkt ist Mitglied im N.I.R. Netzwerk für innovative Rheumadiagnostik und -therapie; Neoscreen, NIQ und gmatic sind eingetragene Warenzeichen _______________________________________________ gstreamer-devel mailing list [hidden email] http://lists.freedesktop.org/mailman/listinfo/gstreamer-devel |
In reply to this post by chad hanna
Am Mittwoch 11 Mai 2011, 15:13:39 schrieb chad hanna:
Hi Chad, many thanks for your reply. This hint is really great. I had a look at the audiotestsrc element properties. One item I didn't find I need red/brown noise too. Is there also apossibility to generate red/brown noise by audiotestsrc? -- Best, Andrea > Hi Andrea, > > In case it is useful I thought I should mention that you can also > generate white gaussian noise using audiotestsrc with the wave > property set to 9 rather than reading it from a wav file. > > best, > > Chad > > 2011/5/11 Andrea König <[hidden email]>: > > Hi all, > > I want to mix text spoken streams with white noise stream. For all > > streams I created wav files and try to mix the files. The pipeline is > > configured as followed: > > > > gst-launch.exe adder name=mix ! audioconvert ! lamemp3enc ! filesink > > location="C:/tmp/result.mp3" filesrc location="C:/tmp/tmp_audio_2.wav" ! > > wavparse ! audioconvert ! mix. filesrc > > location="C:/tmp/whiteNoise-2db-5s.wav" ! wavparse ! audioconvert ! mix. > > > > I get the error > > /GstPipeline:pipeline0/GstWavParse:wavparse0: > > streaming task paused, reason not-linked (-1) > > ERROR: pipeline doesn't want to preroll. > > > > If I mix to text spoken wav files - the white noice file replaced by a > > text spoken wav the pipeline works fine. > > > > Is there anybody could give a hint? > > > > Best regards > > > > Dr. Andrea König > > (Teamleiter Entwicklung) > > > > G.punkt - medical services > > Ihre Wünsche sind unser Konzept > > Halberstädter Str. 115 A > > 39112 Magdeburg > > > > fon: +49 391 280380 > > fax: +49 391 2803822 > > > > mail: [hidden email] > > inet: www.gmatic.de > > > > Institutskennzeichen: IK331530332, OID: 1.2.276.0.76.3.1.51; (c) 2011 by > > G.punkt; G.punkt ist Trust center zertifiziert für elektronischen > > Datenaustausch mit Leistungserbringern; GF: Tino Graßhof; ST-ID: > > DE210661356; Nr.: 101-225-04463; Großhandelserlaubnis nach § 52a > > Arzneimittelgesetz; G.punkt ist Mitglied im N.I.R. Netzwerk für > > innovative Rheumadiagnostik und -therapie; Neoscreen, NIQ und gmatic > > sind eingetragene Warenzeichen > > _______________________________________________ > > gstreamer-devel mailing list > > [hidden email] > > http://lists.freedesktop.org/mailman/listinfo/gstreamer-devel G.punkt - medical services Ihre Wünsche sind unser Konzept Halberstädter Str. 115 A 39112 Magdeburg fon: +49 391 280380 fax: +49 391 2803822 mail: [hidden email] inet: www.gmatic.de Institutskennzeichen: IK331530332, OID: 1.2.276.0.76.3.1.51; (c) 2011 by G.punkt; G.punkt ist Trust center zertifiziert für elektronischen Datenaustausch mit Leistungserbringern; GF: Tino Graßhof; ST-ID: DE210661356; Nr.: 101-225-04463; Großhandelserlaubnis nach § 52a Arzneimittelgesetz; G.punkt ist Mitglied im N.I.R. Netzwerk für innovative Rheumadiagnostik und -therapie; Neoscreen, NIQ und gmatic sind eingetragene Warenzeichen _______________________________________________ gstreamer-devel mailing list [hidden email] http://lists.freedesktop.org/mailman/listinfo/gstreamer-devel |
In reply to this post by Andrea König
On 11.05.2011 11:32, Andrea König wrote:
> Hi all, > I want to mix text spoken streams with white noise stream. For all streams I > created wav files and try to mix the files. The pipeline is configured as > followed: > > gst-launch.exe adder name=mix ! audioconvert ! lamemp3enc ! filesink > location="C:/tmp/result.mp3" filesrc location="C:/tmp/tmp_audio_2.wav" ! > wavparse ! audioconvert ! mix. filesrc location="C:/tmp/whiteNoise-2db-5s.wav" > ! wavparse ! audioconvert ! mix. > > I get the error > /GstPipeline:pipeline0/GstWavParse:wavparse0: > streaming task paused, reason not-linked (-1) > ERROR: pipeline doesn't want to preroll. Make sure all source files have the same format. You can ensure that by adding capsfilter between audioconvert and mix. fmt="audio/x-raw-int,channels=2,rate=44100,width=16,depth=16" gst-launch.exe adder name=mix ! audioconvert ! lamemp3enc ! filesink location="C:/tmp/result.mp3" filesrc location="C:/tmp/tmp_audio_2.wav" ! wavparse ! audioconvert ! $fmt ! mix. filesrc location="C:/tmp/whiteNoise-2db-5s.wav" ! wavparse ! audioconvert ! $fmt ! mix. Stefan > If I mix to text spoken wav files - the white noice file replaced by a text > spoken wav the pipeline works fine. > > Is there anybody could give a hint? > > Best regards > > Dr. Andrea König > (Teamleiter Entwicklung) > > G.punkt - medical services > Ihre Wünsche sind unser Konzept > Halberstädter Str. 115 A > 39112 Magdeburg > > fon: +49 391 280380 > fax: +49 391 2803822 > > mail: [hidden email] > inet: www.gmatic.de > > Institutskennzeichen: IK331530332, OID: 1.2.276.0.76.3.1.51; (c) 2011 by G.punkt; > G.punkt ist Trust center zertifiziert für elektronischen Datenaustausch mit Leistungserbringern; > GF: Tino Graßhof; ST-ID: DE210661356; Nr.: 101-225-04463; Großhandelserlaubnis nach § 52a Arzneimittelgesetz; > G.punkt ist Mitglied im N.I.R. Netzwerk für innovative Rheumadiagnostik und -therapie; > Neoscreen, NIQ und gmatic sind eingetragene Warenzeichen > _______________________________________________ > 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 Andrea König
On 11.05.2011 16:54, Andrea König wrote:
> Am Mittwoch 11 Mai 2011, 15:13:39 schrieb chad hanna: > > Hi Chad, > many thanks for your reply. This hint is really great. I had a look at the > audiotestsrc element properties. One item I didn't find I need red/brown noise > too. Is there also apossibility to generate red/brown noise by audiotestsrc? > Right now it does (5): white-noise - White uniform noise (6): pink-noise - Pink noise (9): gaussian-noise - White Gaussian noise According to http://en.wikipedia.org/wiki/Colors_of_noise red is a synonym to pink or brownian noise. Anyway, I filed https://bugzilla.gnome.org/show_bug.cgi?id=649969 which would be an easy one for someone who would like to start contributing to gstreamer (hint hint). Stefan > -- > Best, > Andrea > >> Hi Andrea, >> >> In case it is useful I thought I should mention that you can also >> generate white gaussian noise using audiotestsrc with the wave >> property set to 9 rather than reading it from a wav file. >> >> best, >> >> Chad >> >> 2011/5/11 Andrea König <[hidden email]>: >>> Hi all, >>> I want to mix text spoken streams with white noise stream. For all >>> streams I created wav files and try to mix the files. The pipeline is >>> configured as followed: >>> >>> gst-launch.exe adder name=mix ! audioconvert ! lamemp3enc ! filesink >>> location="C:/tmp/result.mp3" filesrc location="C:/tmp/tmp_audio_2.wav" ! >>> wavparse ! audioconvert ! mix. filesrc >>> location="C:/tmp/whiteNoise-2db-5s.wav" ! wavparse ! audioconvert ! mix. >>> >>> I get the error >>> /GstPipeline:pipeline0/GstWavParse:wavparse0: >>> streaming task paused, reason not-linked (-1) >>> ERROR: pipeline doesn't want to preroll. >>> >>> If I mix to text spoken wav files - the white noice file replaced by a >>> text spoken wav the pipeline works fine. >>> >>> Is there anybody could give a hint? >>> >>> Best regards >>> >>> Dr. Andrea König >>> (Teamleiter Entwicklung) >>> >>> G.punkt - medical services >>> Ihre Wünsche sind unser Konzept >>> Halberstädter Str. 115 A >>> 39112 Magdeburg >>> >>> fon: +49 391 280380 >>> fax: +49 391 2803822 >>> >>> mail: [hidden email] >>> inet: www.gmatic.de >>> >>> Institutskennzeichen: IK331530332, OID: 1.2.276.0.76.3.1.51; (c) 2011 by >>> G.punkt; G.punkt ist Trust center zertifiziert für elektronischen >>> Datenaustausch mit Leistungserbringern; GF: Tino Graßhof; ST-ID: >>> DE210661356; Nr.: 101-225-04463; Großhandelserlaubnis nach § 52a >>> Arzneimittelgesetz; G.punkt ist Mitglied im N.I.R. Netzwerk für >>> innovative Rheumadiagnostik und -therapie; Neoscreen, NIQ und gmatic >>> sind eingetragene Warenzeichen >>> _______________________________________________ >>> gstreamer-devel mailing list >>> [hidden email] >>> http://lists.freedesktop.org/mailman/listinfo/gstreamer-devel > > > G.punkt - medical services > Ihre Wünsche sind unser Konzept > Halberstädter Str. 115 A > 39112 Magdeburg > > fon: +49 391 280380 > fax: +49 391 2803822 > > mail: [hidden email] > inet: www.gmatic.de > > Institutskennzeichen: IK331530332, OID: 1.2.276.0.76.3.1.51; (c) 2011 by G.punkt; > G.punkt ist Trust center zertifiziert für elektronischen Datenaustausch mit Leistungserbringern; > GF: Tino Graßhof; ST-ID: DE210661356; Nr.: 101-225-04463; Großhandelserlaubnis nach § 52a Arzneimittelgesetz; > G.punkt ist Mitglied im N.I.R. Netzwerk für innovative Rheumadiagnostik und -therapie; > Neoscreen, NIQ und gmatic sind eingetragene Warenzeichen > _______________________________________________ > 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 Stefan Sauer
Hi Stefan,
many thanks for your help. I added capsfilter between audioconvert and mix but still got the same error. If I run gst-launch with -v option the caps properties are displayed. It seems there are the same caps for the elements. gst-launch -v adder name=mix ! audioconvert ! lamemp3enc ! filesink location=/test_noise.mp3 filesrc location="/whiteNoise-vol001.wav" ! wavparse ! audioconvert ! mix. filesrc location="/tmp_audio_0.wav" ! wavparse ! audioconvert ! mix. /GstPipeline:pipeline0/GstAudioConvert:audioconvert2.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:audioconvert2.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/GstAdder:mix.GstPad:sink0: caps = audio/x-raw-int, endianness=(int)1234, channels=(int)1, width=(int)16, depth=(int)16, signed=(boolean)true, rate=(int)16000 FEHLER: Von Element /GstPipeline:pipeline0/GstWavParse:wavparse0: Internal data flow error. Zusätzliche Fehlerdiagnoseinformation: gstwavparse.c(2091): gst_wavparse_loop (): /GstPipeline:pipeline0/GstWavParse:wavparse0: streaming task paused, reason not-linked (-1) Can you tell me what goes wrong? Thanks in advanced. Best Andrea Am 11.05.2011 16:17, schrieb Stefan Kost: > On 11.05.2011 11:32, Andrea König wrote: >> Hi all, >> I want to mix text spoken streams with white noise stream. For all streams I >> created wav files and try to mix the files. The pipeline is configured as >> followed: >> >> gst-launch.exe adder name=mix ! audioconvert ! lamemp3enc ! filesink >> location="C:/tmp/result.mp3" filesrc location="C:/tmp/tmp_audio_2.wav" ! >> wavparse ! audioconvert ! mix. filesrc location="C:/tmp/whiteNoise-2db-5s.wav" >> ! wavparse ! audioconvert ! mix. >> >> I get the error >> /GstPipeline:pipeline0/GstWavParse:wavparse0: >> streaming task paused, reason not-linked (-1) >> ERROR: pipeline doesn't want to preroll. > Make sure all source files have the same format. You can ensure that by > adding capsfilter between audioconvert and mix. > > fmt="audio/x-raw-int,channels=2,rate=44100,width=16,depth=16" > gst-launch.exe adder name=mix ! audioconvert ! lamemp3enc ! filesink > location="C:/tmp/result.mp3" filesrc location="C:/tmp/tmp_audio_2.wav" > ! wavparse ! audioconvert ! $fmt ! mix. filesrc > location="C:/tmp/whiteNoise-2db-5s.wav" ! wavparse ! audioconvert ! $fmt > ! mix. > > Stefan >> If I mix to text spoken wav files - the white noice file replaced by a text >> spoken wav the pipeline works fine. >> >> Is there anybody could give a hint? >> >> Best regards >> >> Dr. Andrea König >> (Teamleiter Entwicklung) >> >> G.punkt - medical services >> Ihre Wünsche sind unser Konzept >> Halberstädter Str. 115 A >> 39112 Magdeburg >> >> fon: +49 391 280380 >> fax: +49 391 2803822 >> >> mail: [hidden email] >> inet: www.gmatic.de >> >> Institutskennzeichen: IK331530332, OID: 1.2.276.0.76.3.1.51; (c) 2011 by G.punkt; >> G.punkt ist Trust center zertifiziert für elektronischen Datenaustausch mit Leistungserbringern; >> GF: Tino Graßhof; ST-ID: DE210661356; Nr.: 101-225-04463; Großhandelserlaubnis nach § 52a Arzneimittelgesetz; >> G.punkt ist Mitglied im N.I.R. Netzwerk für innovative Rheumadiagnostik und -therapie; >> Neoscreen, NIQ und gmatic sind eingetragene Warenzeichen >> _______________________________________________ >> 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 G.punkt - medical services Ihre Wünsche sind unser Konzept Halberstädter Str. 115 A 39112 Magdeburg fon: +49 391 280380 fax: +49 391 2803822 mail: [hidden email] inet: www.gmatic.de Institutskennzeichen: IK331530332, OID: 1.2.276.0.76.3.1.51; (c) 2011 by G.punkt; G.punkt ist Trust center zertifiziert für elektronischen Datenaustausch mit Leistungserbringern; GF: Tino Graßhof; ST-ID: DE210661356; Nr.: 101-225-04463; Großhandelserlaubnis nach § 52a Arzneimittelgesetz; G.punkt ist Mitglied im N.I.R. Netzwerk für innovative Rheumadiagnostik und -therapie; Neoscreen, NIQ und gmatic sind eingetragene Warenzeichen _______________________________________________ gstreamer-devel mailing list [hidden email] http://lists.freedesktop.org/mailman/listinfo/gstreamer-devel |
Hi Stefan,
I found out why the pipeline didn't work. One of the sources hadn't the right format. I set the right format to this source and it seems to work fine. Many thanks for your help. Best regards Andrea Am 16.05.2011 13:17, schrieb Andrea König: > Hi Stefan, > many thanks for your help. I added capsfilter between audioconvert and > mix but still got the same error. If I run gst-launch with -v option the > caps properties are displayed. It seems there are the same caps for the > elements. > > gst-launch -v adder name=mix ! audioconvert ! lamemp3enc ! filesink > location=/test_noise.mp3 filesrc location="/whiteNoise-vol001.wav" ! > wavparse ! audioconvert ! mix. filesrc location="/tmp_audio_0.wav" ! > wavparse ! audioconvert ! mix. > > /GstPipeline:pipeline0/GstAudioConvert:audioconvert2.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:audioconvert2.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/GstAdder:mix.GstPad:sink0: caps = > audio/x-raw-int, endianness=(int)1234, channels=(int)1, width=(int)16, > depth=(int)16, signed=(boolean)true, rate=(int)16000 > > FEHLER: Von Element /GstPipeline:pipeline0/GstWavParse:wavparse0: > Internal data flow error. > Zusätzliche Fehlerdiagnoseinformation: > gstwavparse.c(2091): gst_wavparse_loop (): > /GstPipeline:pipeline0/GstWavParse:wavparse0: > streaming task paused, reason not-linked (-1) > > Can you tell me what goes wrong? > > Thanks in advanced. > Best > Andrea > > Am 11.05.2011 16:17, schrieb Stefan Kost: >> On 11.05.2011 11:32, Andrea König wrote: >>> Hi all, >>> I want to mix text spoken streams with white noise stream. For all >>> streams I >>> created wav files and try to mix the files. The pipeline is >>> configured as >>> followed: >>> >>> gst-launch.exe adder name=mix ! audioconvert ! lamemp3enc ! filesink >>> location="C:/tmp/result.mp3" filesrc >>> location="C:/tmp/tmp_audio_2.wav" ! >>> wavparse ! audioconvert ! mix. filesrc >>> location="C:/tmp/whiteNoise-2db-5s.wav" >>> ! wavparse ! audioconvert ! mix. >>> >>> I get the error >>> /GstPipeline:pipeline0/GstWavParse:wavparse0: >>> streaming task paused, reason not-linked (-1) >>> ERROR: pipeline doesn't want to preroll. >> Make sure all source files have the same format. You can ensure that by >> adding capsfilter between audioconvert and mix. >> >> fmt="audio/x-raw-int,channels=2,rate=44100,width=16,depth=16" >> gst-launch.exe adder name=mix ! audioconvert ! lamemp3enc ! filesink >> location="C:/tmp/result.mp3" filesrc location="C:/tmp/tmp_audio_2.wav" >> ! wavparse ! audioconvert ! $fmt ! mix. filesrc >> location="C:/tmp/whiteNoise-2db-5s.wav" ! wavparse ! audioconvert ! $fmt >> ! mix. >> >> Stefan >>> If I mix to text spoken wav files - the white noice file replaced by >>> a text >>> spoken wav the pipeline works fine. >>> >>> Is there anybody could give a hint? >>> >>> Best regards >>> >>> Dr. Andrea König >>> (Teamleiter Entwicklung) >>> >>> G.punkt - medical services >>> Ihre Wünsche sind unser Konzept >>> Halberstädter Str. 115 A >>> 39112 Magdeburg >>> >>> fon: +49 391 280380 >>> fax: +49 391 2803822 >>> >>> mail: [hidden email] >>> inet: www.gmatic.de >>> >>> Institutskennzeichen: IK331530332, OID: 1.2.276.0.76.3.1.51; (c) >>> 2011 by G.punkt; >>> G.punkt ist Trust center zertifiziert für elektronischen >>> Datenaustausch mit Leistungserbringern; >>> GF: Tino Graßhof; ST-ID: DE210661356; Nr.: 101-225-04463; >>> Großhandelserlaubnis nach § 52a Arzneimittelgesetz; >>> G.punkt ist Mitglied im N.I.R. Netzwerk für innovative >>> Rheumadiagnostik und -therapie; >>> Neoscreen, NIQ und gmatic sind eingetragene Warenzeichen >>> _______________________________________________ >>> 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 > > > G.punkt - medical services > Ihre Wünsche sind unser Konzept > Halberstädter Str. 115 A > 39112 Magdeburg > > fon: +49 391 280380 > fax: +49 391 2803822 > > mail: [hidden email] > inet: www.gmatic.de > > Institutskennzeichen: IK331530332, OID: 1.2.276.0.76.3.1.51; (c) 2011 > by G.punkt; > G.punkt ist Trust center zertifiziert für elektronischen > Datenaustausch mit Leistungserbringern; > GF: Tino Graßhof; ST-ID: DE210661356; Nr.: 101-225-04463; > Großhandelserlaubnis nach § 52a Arzneimittelgesetz; > G.punkt ist Mitglied im N.I.R. Netzwerk für innovative > Rheumadiagnostik und -therapie; > Neoscreen, NIQ und gmatic sind eingetragene Warenzeichen > _______________________________________________ > gstreamer-devel mailing list > [hidden email] > http://lists.freedesktop.org/mailman/listinfo/gstreamer-devel G.punkt - medical services Ihre Wünsche sind unser Konzept Halberstädter Str. 115 A 39112 Magdeburg fon: +49 391 280380 fax: +49 391 2803822 mail: [hidden email] inet: www.gmatic.de Institutskennzeichen: IK331530332, OID: 1.2.276.0.76.3.1.51; (c) 2011 by G.punkt; G.punkt ist Trust center zertifiziert für elektronischen Datenaustausch mit Leistungserbringern; GF: Tino Graßhof; ST-ID: DE210661356; Nr.: 101-225-04463; Großhandelserlaubnis nach § 52a Arzneimittelgesetz; G.punkt ist Mitglied im N.I.R. Netzwerk für innovative Rheumadiagnostik und -therapie; Neoscreen, NIQ und gmatic sind eingetragene Warenzeichen _______________________________________________ gstreamer-devel mailing list [hidden email] http://lists.freedesktop.org/mailman/listinfo/gstreamer-devel |
Free forum by Nabble | Edit this page |