G.726 decoder critical error

Denis Green zagre.torez at gmail.com
Wed Mar 6 08:50:43 PST 2013


Hi,

gstreamer-0.10; gstreamer-1.0 don't support G726 decoder.

May be there is some alternative to ffmpeg decoder?

Simple example:
*gstreamer-0.10*

gst-launch --gst-debug=2 audiotestsrc ! ffenc_g726 bitrate=16000 !
ffdec_g726 ! fakesink

Setting pipeline to PAUSED ...
Pipeline is PREROLLING ...
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
*0:00:00.027835740 10089      0x1f67000 ERROR                 ffmpeg :0::
Invalid number of bits 0*
0:00:00.027877653 10089      0x1f67000 WARN                 basesrc
gstbasesrc.c:2625:gst_base_src_loop:<audiotestsrc0> error: Internal data
flow error.
0:00:00.027897475 10089      0x1f67000 WARN                 basesrc
gstbasesrc.c:2625:gst_base_src_loop:<audiotestsrc0> error: streaming task
paused, reason not-negotiated (-4)
ERROR: from element /GstPipeline:pipeline0/GstAudioTestSrc:audiotestsrc0:
Internal data flow error.
Additional debug info:
gstbasesrc.c(2625): gst_base_src_loop ():
/GstPipeline:pipeline0/GstAudioTestSrc:audiotestsrc0:
streaming task paused, reason not-negotiated (-4)
ERROR: pipeline doesn't want to preroll.
Setting pipeline to NULL ...
Freeing pipeline ...


..........................................................................................................................................................................

*
*
*gstreamer-1.0*
*
*
gst-launch-1.0 --gst-debug=2 audiotestsrc ! avenc_g726 bitrate=8000 !
avdec_g726 ! fakesink

Setting pipeline to PAUSED ...
Pipeline is PREROLLING ...
*0:00:00.020818856 10064      0x1c5e8f0 ERROR                  libav :0::
Invalid number of bits 0*
*0:00:00.021230707 10064      0x1c5e8f0 ERROR                  libav :0::
Invalid number of bits 0*
*0:00:00.021272267 10064      0x1c5e8f0 ERROR                  libav :0::
Invalid number of bits 0*
*0:00:00.023178051 10064      0x1c5e8f0 ERROR                  libav :0::
Invalid number of bits 0*
0:00:00.023231964 10064      0x1c5e8f0 WARN                 basesrc
gstbasesrc.c:2791:gst_base_src_loop:<audiotestsrc0> error: Internal data
flow error.
0:00:00.023284766 10064      0x1c5e8f0 WARN                 basesrc
gstbasesrc.c:2791:gst_base_src_loop:<audiotestsrc0> error: streaming task
paused, reason not-negotiated (-4)
0:00:00.023362115 10064      0x1c5e8f0 ERROR                  libav :0::
Invalid number of bits 0
ERROR: from element /GstPipeline:pipeline0/GstAudioTestSrc:audiotestsrc0:
Internal data flow error.
Additional debug info:
gstbasesrc.c(2791): gst_base_src_loop ():
/GstPipeline:pipeline0/GstAudioTestSrc:audiotestsrc0:
streaming task paused, reason not-negotiated (-4)
ERROR: pipeline doesn't want to preroll.
Setting pipeline to NULL ...
Freeing pipeline ...


Summing it up:
gstreamer-0.10 -> ERROR    ffmpeg :0:: Invalid number of bits 0
gstreamer-1.0 -> ERROR    ffmpeg :0:: Invalid number of bits 0


Any ideas appreciated
Thanks
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.freedesktop.org/archives/gstreamer-devel/attachments/20130306/39cff1b2/attachment.html>


More information about the gstreamer-devel mailing list