No G.726 decode support in GStreamer

classic Classic list List threaded Threaded
6 messages Options
Reply | Threaded
Open this post in threaded view
|

No G.726 decode support in GStreamer

sam shmayev
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
[hidden email]
http://lists.freedesktop.org/mailman/listinfo/gstreamer-devel
Reply | Threaded
Open this post in threaded view
|

Re: No G.726 decode support in GStreamer

Nezer Zaidenberg
Is it from all cameras

Nezer J Zaidenberg 

On Sep 28, 2012, at 9:57 PM, sam shmayev <[hidden email]> 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
[hidden email]
http://lists.freedesktop.org/mailman/listinfo/gstreamer-devel

_______________________________________________
gstreamer-devel mailing list
[hidden email]
http://lists.freedesktop.org/mailman/listinfo/gstreamer-devel
Reply | Threaded
Open this post in threaded view
|

Re: No G.726 decode support in GStreamer

Nezer Zaidenberg
In reply to this post by sam shmayev
Is there newer supported version of gstreamer

Nezer J Zaidenberg 

On Sep 28, 2012, at 9:57 PM, sam shmayev <[hidden email]> 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
[hidden email]
http://lists.freedesktop.org/mailman/listinfo/gstreamer-devel

_______________________________________________
gstreamer-devel mailing list
[hidden email]
http://lists.freedesktop.org/mailman/listinfo/gstreamer-devel
Reply | Threaded
Open this post in threaded view
|

Re: No G.726 decode support in GStreamer

sam shmayev
In reply to this post by Nezer Zaidenberg
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 <[hidden email]> wrote:
Is it from all cameras

Nezer J Zaidenberg 

On Sep 28, 2012, at 9:57 PM, sam shmayev <[hidden email]> 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
[hidden email]
http://lists.freedesktop.org/mailman/listinfo/gstreamer-devel

_______________________________________________
gstreamer-devel mailing list
[hidden email]
http://lists.freedesktop.org/mailman/listinfo/gstreamer-devel




--
S.Shmayev

Office:  +972-72-2777239
Mobile: +972-54-6216356


_______________________________________________
gstreamer-devel mailing list
[hidden email]
http://lists.freedesktop.org/mailman/listinfo/gstreamer-devel
Reply | Threaded
Open this post in threaded view
|

Re: No G.726 decode support in GStreamer

Tim-Philipp Müller-2
On Fri, 2012-09-28 at 16:16 -0400, sam shmayev wrote:

> 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!

I think you should file a bug in bugzilla (if there isn't one already).

It might depend on the gst-ffmpeg version used and/or on the libav
version used (in-tree one vs. external, etc.)

 Cheers
  -Tim


_______________________________________________
gstreamer-devel mailing list
[hidden email]
http://lists.freedesktop.org/mailman/listinfo/gstreamer-devel
Reply | Threaded
Open this post in threaded view
|

Re: No G.726 decode support in GStreamer

Nicolas Dufresne
In reply to this post by sam shmayev
Le vendredi 28 septembre 2012 à 15:57 -0400, sam shmayev a écrit :
> 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.

Please file a bug:
https://bugzilla.gnome.org/enter_bug.cgi?product=GStreamer

Component is gst-ffmpeg.

regards,
Nicolas

_______________________________________________
gstreamer-devel mailing list
[hidden email]
http://lists.freedesktop.org/mailman/listinfo/gstreamer-devel