After an evaluation, GNOME has moved from Bugzilla to GitLab. Learn more about GitLab.
No new issues can be reported in GNOME Bugzilla anymore.
To report an issue in a GNOME project, go to GNOME GitLab.
Do not go to GNOME Gitlab for: Bluefish, Doxygen, GnuCash, GStreamer, java-gnome, LDTP, NetworkManager, Tomboy.
Bug 422917 - G729 payloader/depayloader
G729 payloader/depayloader
Status: RESOLVED FIXED
Product: GStreamer
Classification: Platform
Component: gst-plugins-good
git master
Other All
: Normal enhancement
: 0.10.9
Assigned To: GStreamer Maintainers
GStreamer Maintainers
Depends on:
Blocks:
 
 
Reported: 2007-03-26 08:20 UTC by Laurent Glayal
Modified: 2008-06-10 11:30 UTC
See Also:
GNOME target: ---
GNOME version: Unversioned Enhancement


Attachments
G729 payloader/depayloader (3.65 KB, application/x-compressed-tar)
2007-03-26 08:21 UTC, Laurent Glayal
Details

Description Laurent Glayal 2007-03-26 08:20:09 UTC
Hi,
G729 RTP payloader/depayloader. Most code is from rtp(pcma|amr)(pay|depay).
Please consider it for integration into CVS code.
Regards
Comment 1 Laurent Glayal 2007-03-26 08:21:06 UTC
Created attachment 85301 [details]
G729 payloader/depayloader
Comment 2 Wim Taymans 2007-03-29 08:13:29 UTC
the attachement is empty?

Also a bunch of payloaders can be found here, they are waiting for inclusion in the GStreamer CVS:

http://projects.collabora.co.uk/darcs/farsight/gst-plugins-farsight/gst/rtppayloads/
Comment 3 Laurent Glayal 2007-04-18 06:25:35 UTC
Hi,
wanted to test the g729 payloader/depayloader provided in gst-plugins-farsight but I can't make it work ::

the following cmd line

 GST_DEBUG=3 GST_DEBUG_NO_COLOR=1 gst-launch audiotestsrc freq=600 ! identity sync=true ! g729enc ! rtpg729pay  ! rtpg729depay ! fakesink 2>&1

always return the same errors ::

0:00:00.233999000 22641 0x813d1d8 INFO              GST_PADS gstpad.c:2919:gst_pad_event_default_dispatch:<rtpg729pay0:sink> Sending event 0x8077aa0 (newsegment) to all internally linked pads
0:00:00.235065000 22641 0x813d1d8 WARN      basertpdepayload gstbasertpdepayload.c:224:gst_base_rtp_depayload_chain:<rtpg729depay0> error: no clock rate was specified, likely incomplete input caps
0:00:00.235192000 22641 0x813d1d8 INFO      GST_ERROR_SYSTEM gstelement.c:1619:gst_element_message_full:<rtpg729depay0> posting message: The stream is in the wrong format.
0:00:00.235303000 22641 0x813d1d8 INFO      GST_ERROR_SYSTEM gstelement.c:1642:gst_element_message_full:<rtpg729depay0> posted error message: The stream is in the wrong format.

Regards.
Comment 4 Olivier Crête 2007-04-19 01:59:21 UTC
that problem is fixed in our darcs tree.  There is a audio/G729 that you have to replace with audio/g729 in the depayloader element.
Comment 5 Laurent Glayal 2007-04-19 07:29:48 UTC
Hi,

i don't think so, i also have troubles with standard payloader/depayloader found in gstreamer CVS tree ::

GST_DEBUG=2 gst-launch audiotestsrc ! "audio/x-raw-int, rate=8000, clock-rate=8000" ! identity sync=true ! alawenc ! rtppcmapay min-ptime=20000000 max-ptime=40000000 !  rtppcmadepay ! filesink  location=/tmp/toto.raw
0:00:00.129160000  6753 0x804e0b0 WARN    GST_PLUGIN_LOADING gstplugin.c:414:gst_plugin_load_file: module_open failed: /usr/audio/dev/User/lglayal/GStreamer/Revision_Avril2007/Binaires//lib/gstreamer-0.10/libgstmsgsm.so: undefined symbol: gst_msgsmenc_get_type
Setting pipeline to PAUSED ...
Pipeline is PREROLLING ...
0:00:00.279859000  6752 0x80d05c8 WARN      basertpdepayload gstbasertpdepayload.c:224:gst_base_rtp_depayload_chain:<rtppcmadepay0> error: no clock rate was specified, likely incomplete input caps
0:00:00.280182000  6752 0x80d05c8 WARN      basertpdepayload gstbasertpdepayload.c:224:gst_base_rtp_depayload_chain:<rtppcmadepay0> error: no clock rate was specified, likely incomplete input caps
0:00:00.280254000  6752 0x80d05c8 WARN      basertpdepayload gstbasertpdepayload.c:224:gst_base_rtp_depayload_chain:<rtppcmadepay0> error: no clock rate was specified, likely incomplete input caps
0:00:00.280378000  6752 0x80d05c8 WARN               basesrc gstbasesrc.c:1775:gst_base_src_loop:<audiotestsrc0> error: Internal data flow error.
0:00:00.280439000  6752 0x80d05c8 WARN               basesrc gstbasesrc.c:1775:gst_base_src_loop:<audiotestsrc0> error: streaming task paused, reason not-negotiated (-4)
ERROR: from element /pipeline0/rtppcmadepay0: The stream is in the wrong format.
Additional debug info:
gstbasertpdepayload.c(224): gst_base_rtp_depayload_chain (): /pipeline0/rtppcmadepay0:
no clock rate was specified, likely incomplete input caps
ERROR: pipeline doesn't want to preroll.
Setting pipeline to NULL ...
FREEING pipeline ...

The same error, seems to be linked to new base Rtp payload management. The error is always from base RTP class not finding clock rate information.

Regards.

Comment 6 Laurent Glayal 2007-04-19 15:24:22 UTC
Hi,
submitted bug regarding this problemm :
http://bugzilla.gnome.org/show_bug.cgi?id=431282
regards.
Comment 7 Wim Taymans 2007-10-10 20:18:59 UTC
does this bug still makes sense now that Bug #431282 is fixed?
Comment 8 Laurent Glayal 2007-10-16 09:44:30 UTC
I don't think so, the trouble was a duplication of Bug #431282, i can't test right now but i think it's ok, may be Olivier can confirm it.
Comment 9 Olivier Crête 2007-10-16 14:12:32 UTC
I think this bug means...take the g729 payloaders from gst-plugins-farsight and put them into good, which hasn't been done yet. You probably want the CN payloader.
Comment 10 Wim Taymans 2008-06-10 11:30:55 UTC
They are in CVS now.