Bandwidth-Efficient Mode for AMR/AMR-WB

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

Bandwidth-Efficient Mode for AMR/AMR-WB

Samer Al Hakim
Hello to all members,

Using GStreamer, I would like to create two RTP ends that that are capable of sending and receiving RTP audio streams in AMR/AMR-WB codecs. I already checked and tested the available GStreamer elements (rtpamrpay and rtpamrdepay). They seem fine but I was surprised to find out these elements only support the AMR/AMR-WB codecs in octet-align mode. But for my application I definitely need the mentioned codecs in bandwidth-efficient mode.

The differences between these 2 modes can be found in the respective RFC 3267:

http://www.ietf.org/rfc/rfc3267.txt

I was wondering if there are other GStreamer elements that support the bandwidth-efficient mode? Or perhaps someone has already some examples or prototype elements?

Thanks & regards,
Samer Al Hakim


--
Keynote SIGOS GmbH
- TESTING IS OUR COMPETENCE -

Klingenhofstrasse 50d
D-90411 Nuernberg
Fon +49 911 95168-0
www.keynote-sigos.com

Follow us on: linked.in | xing.com | twitter.com | facebook.com

HRB 9323 Nuernberg
Gerichtsstand: Nuernberg
Geschaeftsfuehrer: Adil Kaya, Jennifer Tejada, Curtis Smith


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

Re: Bandwidth-Efficient Mode for AMR/AMR-WB

Sebastian Dröge-3
On Mi, 2013-12-11 at 16:12 +0100, Samer Al Hakim wrote:
> Hello to all members,
>
> Using GStreamer, I would like to create two RTP ends that that are capable of sending and receiving RTP audio streams in AMR/AMR-WB codecs. I already checked and tested the available GStreamer elements (rtpamrpay and rtpamrdepay). They seem fine but I was surprised to find out these elements only support the AMR/AMR-WB codecs in octet-align mode. But for my application I definitely need the mentioned codecs in bandwidth-efficient mode.
>
> The differences between these 2 modes can be found in the respective RFC 3267:
>
> http://www.ietf.org/rfc/rfc3267.txt
>
> I was wondering if there are other GStreamer elements that support the bandwidth-efficient mode? Or perhaps someone has already some examples or prototype elements?

Hi,

there's (to my knowledge) no (de)payloader available currently that
implements the bandwidth-efficient mode for the AMR codecs. I don't see
a reason why it couldn't be implemented in the existing GStreamer
elements as an optional mode though.

Note however that the bandwidth-efficient mode has some disadvantages as
outlined in the RFC and the bandwidth savings seem rather minimal to me.

--
Sebastian Dröge <[hidden email]>
Centricular Ltd - http://www.centricular.com
Expertise, Straight from the Source

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

signature.asc (985 bytes) Download Attachment
Reply | Threaded
Open this post in threaded view
|

Re: Bandwidth-Efficient Mode for AMR/AMR-WB

piyush
Hey

I know its rude to open an old thread but i am a little helpless here.

Has this bandwidth efficient thing now included in gstremer?

Output of gst-inspect-1.5 rtpamrdepay

gst-inspect-1.5 rtpamrdepay
Factory Details:
  Rank                     secondary (128)
  Long-name                RTP AMR depayloader
  Klass                    Codec/Depayloader/Network/RTP
  Description              Extracts AMR or AMR-WB audio from RTP packets
(RFC 3267)
  Author                   Wim Taymans <[hidden email]>

Plugin Details:
  Name                     rtp
  Description              Real-time protocol plugins
  Filename                
/usr/lib/x86_64-linux-gnu/gstreamer-1.5/libgstrtp.so
  Version                  1.8.1.1
  License                  LGPL
  Source module            gst-plugins-good
  Source release date      2020-07-23 12:21 (UTC)
  Binary package           GStreamer Good Plugins (Ubuntu)
  Origin URL              
https://launchpad.net/distros/ubuntu/+source/gst-plugins-good1.5

GObject
 +----GInitiallyUnowned
       +----GstObject
             +----GstElement
                   +----GstRTPBaseDepayload
                         +----GstRtpAMRDepay

Pad Templates:
  SRC template: 'src'
    Availability: Always
    Capabilities:
      audio/AMR
               channels: 1
                   rate: 8000
      audio/AMR-WB
               channels: 1
                   rate: 16000

  SINK template: 'sink'
    Availability: Always
    Capabilities:
      application/x-rtp
                  media: audio
             clock-rate: 8000
          encoding-name: AMR
            octet-align: 1
      application/x-rtp
                  media: audio
             clock-rate: 16000
          encoding-name: AMR-WB
            octet-align: 1


Element Flags:
  no flags set

Element Implementation:
  Has change_state() function: 0x151f3b69c190

Element has no clocking capabilities.
Element has no URI handling capabilities.

Pads:
  SINK: 'sink'
    Pad Template: 'sink'
  SRC: 'src'
    Pad Template: 'src'

Element Properties:
  name                : The name of the object
                        flags: readable, writable
                        String. Default: "rtpamrdepay0"
  parent              : The parent of the object
                        flags: readable, writable
                        Object of type "GstObject"
  stats               : Various statistics
                        flags: readable
                        Boxed pointer of type "GstStructure"                                
clock_rate: 0
                                   npt-start: 0
                                    npt-stop: 18446744073709551615
                                  play-speed: 1
                                  play-scale: 1
                             running-time-dts: 18446744073709551615
                             running-time-pts: 18446744073709551615
                                      seqnum: 0
                                   timestamp: 0





--
Sent from: http://gstreamer-devel.966125.n4.nabble.com/
_______________________________________________
gstreamer-devel mailing list
[hidden email]
https://lists.freedesktop.org/mailman/listinfo/gstreamer-devel