mixing text spoken streams and white noise
Andrea König
andrea.koenig at gmatic.de
Mon May 16 04:17:23 PDT 2011
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: 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
> _______________________________________________
> gstreamer-devel mailing list
> gstreamer-devel at lists.freedesktop.org
> 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: 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
More information about the gstreamer-devel
mailing list