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 |
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, > -- 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 |
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 |
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_. -- 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 |
Free forum by Nabble | Edit this page |