mixing text spoken streams and white noise

Stefan Kost ensonic at hora-obscura.de
Wed May 11 07:17:52 PDT 2011


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: Andrea.Koenig at gmatic.de
> 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
> gstreamer-devel at lists.freedesktop.org
> http://lists.freedesktop.org/mailman/listinfo/gstreamer-devel



More information about the gstreamer-devel mailing list