erroneous pipeline

classic Classic list List threaded Threaded
4 messages Options
Reply | Threaded
Open this post in threaded view
|

erroneous pipeline

Kip Warner
Hey list,

Can anyone help me get the following correct for gst-launch-1.0? I'm
getting an "erroneous pipeline: could not link audioconvert0 to wavenc0
error" if I swap the x-raw-int for x-raw,format=int:

    $ gst-launch-1.0 filesrc location="song.mp3" ! decodebin ! audioconvert ! audio/x-raw-int,format=int,channels=1,rate=44100 ! wavenc ! filesink location=/tmp/dec-QCgBTc

Thank you,

--
Kip Warner -- Senior Software Engineer
OpenPGP encrypted/signed mail preferred
http://www.thevertigo.com


_______________________________________________
gstreamer-devel mailing list
[hidden email]
https://lists.freedesktop.org/mailman/listinfo/gstreamer-devel

signature.asc (188 bytes) Download Attachment
Reply | Threaded
Open this post in threaded view
|

Re: erroneous pipeline

Kip Warner
On Mon, 2016-05-23 at 19:21 -0700, Kip Warner wrote:

> Hey list,
>
> Can anyone help me get the following correct for gst-launch-1.0? I'm
> getting an "erroneous pipeline: could not link audioconvert0 to
> wavenc0
> error" if I swap the x-raw-int for x-raw,format=int:
>
>     $ gst-launch-1.0 filesrc location="song.mp3" ! decodebin !
> audioconvert ! audio/x-raw-int,format=int,channels=1,rate=44100 !
> wavenc ! filesink location=/tmp/dec-QCgBTc
>
> Thank you,
>
Thanks everyone, but figured it out. The format should be set to S16LE.

--
Kip Warner -- Senior Software Engineer
OpenPGP encrypted/signed mail preferred
http://www.thevertigo.com


_______________________________________________
gstreamer-devel mailing list
[hidden email]
https://lists.freedesktop.org/mailman/listinfo/gstreamer-devel

signature.asc (188 bytes) Download Attachment
Reply | Threaded
Open this post in threaded view
|

Re: erroneous pipeline

Nicolas Dufresne-4
In reply to this post by Kip Warner
Le lundi 23 mai 2016 à 19:21 -0700, Kip Warner a écrit :
> Hey list,
>
> Can anyone help me get the following correct for gst-launch-1.0? I'm
> getting an "erroneous pipeline: could not link audioconvert0 to
> wavenc0
> error" if I swap the x-raw-int for x-raw,format=int:

"int" is not a valid format. You probably want something like 16bit
signed integer ? If so, the format name is "S16LE". Follow this link
for a complete list of formats:

https://gstreamer.freedesktop.org/data/doc/gstreamer/head/gst-plugins-b
ase-libs/html/gst-plugins-base-libs-gstaudio.html#GstAudioFormat

In caps string syntax, we remove the namespace GST_AUDIO_FORMAT_.

cheers,
Nicolas
_______________________________________________
gstreamer-devel mailing list
[hidden email]
https://lists.freedesktop.org/mailman/listinfo/gstreamer-devel
Reply | Threaded
Open this post in threaded view
|

Re: erroneous pipeline

Kip Warner
On Tue, 2016-05-24 at 14:27 -0400, Nicolas Dufresne wrote:

> Le lundi 23 mai 2016 à 19:21 -0700, Kip Warner a écrit :
> "int" is not a valid format. You probably want something like 16bit
> signed integer ? If so, the format name is "S16LE". Follow this link
> for a complete list of formats:
>
> https://gstreamer.freedesktop.org/data/doc/gstreamer/head/gst-plugins
> -b
> ase-libs/html/gst-plugins-base-libs-gstaudio.html#GstAudioFormat
>
> In caps string syntax, we remove the namespace GST_AUDIO_FORMAT_.
Thanks Nicolas.

--
Kip Warner -- Senior Software Engineer
OpenPGP encrypted/signed mail preferred
http://www.thevertigo.com


_______________________________________________
gstreamer-devel mailing list
[hidden email]
https://lists.freedesktop.org/mailman/listinfo/gstreamer-devel

signature.asc (188 bytes) Download Attachment