Pipeline syntax error | unable to find the root cause

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

Pipeline syntax error | unable to find the root cause

Rohan0993
Hi all,
I am unable to make this pipeline work.

*gst-launch-1.0 filesrc=/path/to/fle/Tornado.wav ! wavparse !
autoaudioconvert ! audio/x-raw,channels=1,depth=16,width=16,rate=44100 !
rtpL16pay ! udpsink host=xxx.xxx.xxx.xxx port=yyyy*

I am trying to take a wave file from a local location and throw it on the ip
xxx.xxx.xxx.xxx (my system ip) and port yyyy.

I am getting syntax erroras:

*WARNING: erroneous pipeline: syntax error*

I have checked with *gst-inspect-1.0 *for *filesrc, wavparse,
autoaudioconvert, and udpsink. *All are installed (apparently).

What might have gone wrong? any suggestion on how to go ahead?



--
Sent from: http://gstreamer-devel.966125.n4.nabble.com/
_______________________________________________
gstreamer-devel mailing list
[hidden email]
https://lists.freedesktop.org/mailman/listinfo/gstreamer-devel
Reply | Threaded
Open this post in threaded view
|

Re: Pipeline syntax error | unable to find the root cause

mahesh mane
Add a decoder element after wavparse.

On Mon, 11 Feb, 2019, 5:12 PM Rohan0993 <[hidden email] wrote:
Hi all,
I am unable to make this pipeline work.

*gst-launch-1.0 filesrc=/path/to/fle/Tornado.wav ! wavparse !
autoaudioconvert ! audio/x-raw,channels=1,depth=16,width=16,rate=44100 !
rtpL16pay ! udpsink host=xxx.xxx.xxx.xxx port=yyyy*

I am trying to take a wave file from a local location and throw it on the ip
xxx.xxx.xxx.xxx (my system ip) and port yyyy.

I am getting syntax erroras:

*WARNING: erroneous pipeline: syntax error*

I have checked with *gst-inspect-1.0 *for *filesrc, wavparse,
autoaudioconvert, and udpsink. *All are installed (apparently).

What might have gone wrong? any suggestion on how to go ahead?



--
Sent from: http://gstreamer-devel.966125.n4.nabble.com/
_______________________________________________
gstreamer-devel mailing list
[hidden email]
https://lists.freedesktop.org/mailman/listinfo/gstreamer-devel

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

Re: Pipeline syntax error | unable to find the root cause

Tim Müller
In reply to this post by Rohan0993
On Mon, 2019-02-11 at 04:45 -0600, Rohan0993 wrote:

Hi,

> gst-launch-1.0 filesrc=/path/to/fle/Tornado.wav ! wavparse !

This should be: filesrc location=/path/to/fle/Tornado.wav

> autoaudioconvert !

Use audioconvert instead. Maybe also add an audioresample if needed (in
front of the audioconvert, not after it, because you may need to work
in non-native endianness because of the payloader).

> audio/x-raw,channels=1,depth=16,width=16,rate=44100 !

depth and width are expressed in the "format" now, so replace
depth=16,width=16 with something like format=S16BE or S16LE (rtpL16pay
needs big-endian, so use BE here, or just don't specify the format at
all, it will figure it out automatically).

Cheers
 Tim

--
Tim Müller, Centricular Ltd - http://www.centricular.com

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