[gst-devel] gst-launch filesrc location=sample.wav ! wavparse ! audioconvert ! filesink location=output -- NOT WORKING for 0.10 version
Stefan Kost
ensonic at hora-obscura.de
Wed Mar 22 23:56:03 CET 2006
Hi,
rong wang wrote:
> Hi,
>
> I had problem here.
>
> I used version gstreamer 0.10.4,
> gst-plugins-base-0.10.5, gst-plugins-good-0.10.2
>
> gst-launch filesrc location=sample.wav ! wavparse
> ! audioconvert ! filesink location=test.wav
>
> it never copied the file like 0.8.11
I seems you still have not fully understand the fundaments of gstreamer:
copy *any* file:
gst-launch filesrc location=sample.wav ! filesink location=test.wav
copy the file only if it is a wav (decode and reencode):
gst-launch filesrc location=sample.wav ! wavparse ! audioconvert ! wavenc !
filesink location=test.wav
>
> if I used
> gst-launch audiotestsrc ! audioconvert ! filesink
> location=output
>
> then, I got copied.
>
> What is wrong? for wav file, how should I link the
> plugins together? any special format restriction?
In you first example you forgot the encoder, thus it would only write out raw data.
>
> I feel frustrated, for 0.8.11, basic thing just works
> out of box, now, for 0.10, I cannot even get the basic
> thing working.
>
It works, you need to understand how to use the tools.
Stefan
>
> Thanks in advance
>
> Rong
> --- Tim Müller <t.i.m at zen.co.uk> wrote:
>
>
>>On Wed, 2006-03-22 at 07:33 -0800, rong wang wrote:
>>
>>Hi,
>>
>>
>>>Anybody can tell me what wrong with alsasink?
>>>I used command
>>>gst-launch audiotestsrc ! alsasink
>>
>>Try
>>
>> gst-launch-0.10 audiotestsrc ! audioconvert !
>>alsasink
>>
>>
>>
>>>I installed 0.10.0 gstreamer and
>>>gst-plugins-base-0.10.0. It is enough to do this
>>
>>test.
>>
>>gstreamer 0.10.0 and gst-plugins-0.10.0 were
>>released almost four months
>>ago - maybe you could try an up-to-date version if
>>things still don't
>>work with the audioconvert element added.
>>
>>Cheers
>> -Tim
>>
>>
>>
>
>
>
> __________________________________________________
> Do You Yahoo!?
> Tired of spam? Yahoo! Mail has the best spam protection around
> http://mail.yahoo.com
>
>
> -------------------------------------------------------
> This SF.Net email is sponsored by xPML, a groundbreaking scripting language
> that extends applications into web and mobile media. Attend the live webcast
> and join the prime developer group breaking into this new coding territory!
> http://sel.as-us.falkag.net/sel?cmd=lnk&kid=110944&bid=241720&dat=121642
> _______________________________________________
> gstreamer-devel mailing list
> gstreamer-devel at lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/gstreamer-devel
More information about the gstreamer-devel
mailing list