No G.726 decode support in GStreamer

sam shmayev shmayev at gmail.com
Fri Sep 28 12:57:27 PDT 2012


Hi,

*GStreamer gst-launch-0.10 version 0.10.36
doesn't support speech codec G.726 on Linux machines.*

But it still works on Windows one with OSS builds.
So there's no way to get audio from IP cameras.

gst-launch --gst-debug=2 audiotestsrc ! ffenc_g726 ! ffdec_g726 !
audioconvert ! audioresample ! autoaudiosink
Could not open log file '/home/sam/gst_log' for writing: Is a directory
Setting pipeline to PAUSED ...
Pipeline is PREROLLING ...
0:00:00.122044503  2798      0x22f36d0 WARN                  ffmpeg
gstffmpegcodecmap.c:140:gst_ff_channel_layout_to_gst: Unknown channels in
channel layout - assuming NONE layout
0:00:00.122571805  2798      0x22f36d0 ERROR                 ffmpeg :0::
Invalid number of bits 0
0:00:00.122605608  2798      0x22f36d0 WARN                 basesrc
gstbasesrc.c:2625:gst_base_src_loop:<audiotestsrc0> error: Internal data
flow error.
0:00:00.122625303  2798      0x22f36d0 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 ...


Any suggestion is appreciated.


-- 
*Sam Shmayev*
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.freedesktop.org/archives/gstreamer-devel/attachments/20120928/8d1bcac0/attachment.html>


More information about the gstreamer-devel mailing list