No G.726 decode support in GStreamer

sam shmayev shmayev at gmail.com
Fri Sep 28 13:16:48 PDT 2012


All cameras use speech codec g726 (Axis, Panasonic, Brickom).
There's some strange bug in g726 decoder (ffdec_g726).

And more strange! On Windows builds it works!


On Fri, Sep 28, 2012 at 4:02 PM, Nezer J Zaidenberg <nezer at videocells.com>wrote:

> Is it from all cameras
>
> Nezer J Zaidenberg
>
> On Sep 28, 2012, at 9:57 PM, sam shmayev <shmayev at gmail.com> wrote:
>
> 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*
>
> _______________________________________________
> gstreamer-devel mailing list
> gstreamer-devel at lists.freedesktop.org
> http://lists.freedesktop.org/mailman/listinfo/gstreamer-devel
>
>
> _______________________________________________
> gstreamer-devel mailing list
> gstreamer-devel at lists.freedesktop.org
> http://lists.freedesktop.org/mailman/listinfo/gstreamer-devel
>
>


-- 
*S.Shmayev*
*
*
*Office:*  +972-72-2777239
*Mobile:* +972-54-6216356
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.freedesktop.org/archives/gstreamer-devel/attachments/20120928/27c80f0b/attachment-0001.html>


More information about the gstreamer-devel mailing list