[gst-devel] interleaving two audios -link error
Stefan Kost
ensonic at hora-obscura.de
Fri Feb 26 08:13:35 CET 2010
Am 21.02.2010 06:55, schrieb cppb:
>
> hi,
>
> I am trying to interleave two audio files as given in the interleave
> GStremerer documentation:
>
> gst-launch interleave name=i ! audioconvert ! wavenc ! filesink
> location=file.wav filesrc location=file1.wav ! \
> decodebin ! audioconvert ! "audio/x-raw-int,channels=1" ! queue ! i.sink0
> filesrc location=file2.wav ! \
> decodebin ! audioconvert ! "audio/x-raw-int,channels=1" ! queue ! i.sink1
>
> But executing this command gives the following error:
>
> 0:00:00.125000000 2264 00332BC0 ERROR GST_PIPELINE
> grammar.tab.c:656:gst_parse_perform_link: could not link queue0 to i
>
Could it be that the two wav files have different samplingrate or depth. Whats
does the "file" command report on both input files. Does it work if you use the
*same* input file twice?
Stefan
> If I remove the second filesrc related commands i.e. all the command after
> "filesrc location=file2.wav, the command runs fine. What is wrong with the
> above command?
>
> Thanks
More information about the gstreamer-devel
mailing list