Hi,<br><br>gstreamer-0.10; gstreamer-1.0 don't support G726 decoder.<div><br></div><div>May be there is some alternative to ffmpeg decoder?</div><div><br>Simple example:<br><b>gstreamer-0.10</b><br><br><div><font size="4">gst-launch --gst-debug=2 audiotestsrc ! ffenc_g726 bitrate=16000 ! ffdec_g726 ! fakesink</font></div>
<div><br></div><div>Setting pipeline to PAUSED ...</div><div>Pipeline is PREROLLING ...</div><div>0:00:00.025874694 10089      0x1f67000 WARN                  ffmpeg gstffmpegcodecmap.c:140:gst_ff_channel_layout_to_gst: Unknown channels in channel layout - assuming NONE layout</div>
<div><b>0:00:00.027835740 10089      0x1f67000 ERROR                 ffmpeg :0:: Invalid number of bits 0</b></div><div>0:00:00.027877653 10089      0x1f67000 WARN                 basesrc gstbasesrc.c:2625:gst_base_src_loop:<audiotestsrc0> error: Internal data flow error.</div>
<div>0:00:00.027897475 10089      0x1f67000 WARN                 basesrc gstbasesrc.c:2625:gst_base_src_loop:<audiotestsrc0> error: streaming task paused, reason not-negotiated (-4)</div><div>ERROR: from element /GstPipeline:pipeline0/GstAudioTestSrc:audiotestsrc0: Internal data flow error.</div>
<div>Additional debug info:</div><div>gstbasesrc.c(2625): gst_base_src_loop (): /GstPipeline:pipeline0/GstAudioTestSrc:audiotestsrc0:</div><div>streaming task paused, reason not-negotiated (-4)</div><div>ERROR: pipeline doesn't want to preroll.</div>
<div>Setting pipeline to NULL ...</div><div>Freeing pipeline ...</div><div><br></div><div><br></div><div>..........................................................................................................................................................................</div>
<div><br></div><div><b><br></b></div><div><b>gstreamer-1.0</b></div><div><b><br></b></div><div><div><font size="4">gst-launch-1.0 --gst-debug=2 audiotestsrc ! avenc_g726 bitrate=8000 ! avdec_g726 ! fakesink </font></div><div style="font-weight:bold">
<br></div><div>Setting pipeline to PAUSED ...</div><div>Pipeline is PREROLLING ...</div><div><b>0:00:00.020818856 10064      0x1c5e8f0 ERROR                  libav :0:: Invalid number of bits 0</b></div><div><b>0:00:00.021230707 10064      0x1c5e8f0 ERROR                  libav :0:: Invalid number of bits 0</b></div>
<div><b>0:00:00.021272267 10064      0x1c5e8f0 ERROR                  libav :0:: Invalid number of bits 0</b></div><div><b>0:00:00.023178051 10064      0x1c5e8f0 ERROR                  libav :0:: Invalid number of bits 0</b></div>
<div>0:00:00.023231964 10064      0x1c5e8f0 WARN                 basesrc gstbasesrc.c:2791:gst_base_src_loop:<audiotestsrc0> error: Internal data flow error.</div><div>0:00:00.023284766 10064      0x1c5e8f0 WARN                 basesrc gstbasesrc.c:2791:gst_base_src_loop:<audiotestsrc0> error: streaming task paused, reason not-negotiated (-4)</div>
<div>0:00:00.023362115 10064      0x1c5e8f0 ERROR                  libav :0:: Invalid number of bits 0</div><div>ERROR: from element /GstPipeline:pipeline0/GstAudioTestSrc:audiotestsrc0: Internal data flow error.</div><div>
Additional debug info:</div><div>gstbasesrc.c(2791): gst_base_src_loop (): /GstPipeline:pipeline0/GstAudioTestSrc:audiotestsrc0:</div><div>streaming task paused, reason not-negotiated (-4)</div><div>ERROR: pipeline doesn't want to preroll.</div>
<div>Setting pipeline to NULL ...</div><div>Freeing pipeline ...</div><div style="font-weight:bold"><br></div></div><div><br>Summing it up:<div>gstreamer-0.10 -> ERROR    ffmpeg :0:: Invalid number of bits 0</div><div>
gstreamer-1.0 -> ERROR    ffmpeg :0:: Invalid number of bits 0<br><div><br><br>Any ideas appreciated</div></div></div></div><div>Thanks</div>