G.726 + MPEG-TS support.

Tim-Philipp Müller t.i.m at zen.co.uk
Thu Jan 31 14:52:03 PST 2013


On Wed, 2013-01-30 at 23:02 -0800, RamgopalKota wrote:

Hi,

> we are able to stream G.726 voice using RTP but we want to use MPEG-TS but
> the pipeline is faling.
> 
> Pipe line ...
> gst-launch --gst-debug=2 -v alsasrc !
> audio/x-raw-int,rate=8000,channels=1,depth=16,width=16,endianness=1234,signed=true
> ! ffenc_g726 bitrate=32000 ! mpegtsmux ! udpsink host=192.168.20.10
> port=5544
> 
> We are getting following error.
> 
> (gst-launch-0.10:1013): GStreamer-CRITICAL **: gst_pad_set_caps: assertion
> `caps == NULL || gst_caps_is_fixed (caps)' failed
> 
> Not sure where is the error ? We checked the caps for MPEG-TS & ffenc_g726
> both looks Ok.
> Please provide some pointers ..

Well, it shouldn't fail like this, but it is not unexpected that it
fails. You should get a not-linked or not-negotiated error instead.

I don't think G.726 can be put into MPEG-TS, or can it? (which spec
defines the mapping?).

 Cheers 
  -Tim



More information about the gstreamer-devel mailing list