RTP: MPA or AC3 Encoding
Alex Waterman
imnotlistening at gmail.com
Sat Apr 21 17:20:47 PDT 2012
Hi List,
I have been trying to develop an RTP streaming back end for a project. I
have managed to set it up based off the examples in the plugins-good
distribution using alaw and PCMA, e.g: my working server + client first
encodes some music in alaw and then uses the rtppcmapay element to prep the
stream for the rtpbin. The client then does the reverse and plays the music.
However, since the alaw encoding is not ideal for music I have tried to use
different a encoding. I have tried AC3 and MPA, but both with no luck. On
the client I changed the caps and depayloader accordingly. The caps I have
tried for AC3 and MPA are, respectively,
application/x-rtp, media=(string)audio, payload=(int)127,
clock-rate=(int)44100, encoding-name=(string)AC3
application/x-rtp, media=(string)audio, clock-rate=(int)90000,
encoding-name=(string)MPA
I have then been using a decodebin2 to decode the audio once depayloaded,
which worked for the alaw. I am pretty much at a loss as to what could be
wrong at this point. When I run the client with alaw, I get some nice
messages printing info about the stream; however, for the MPA and AC3 I
don't get anything. The client just sits and does nothing.
If anyone has any idea or suggestions, they would be much appreciated.
Best Regards,
Alex Waterman
--
Alex Waterman - Computer Engineer (215-896-4920)
imnotlistening at gmail.com
amw2813 at rit.edu
Support or create OpenSource
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.freedesktop.org/archives/gstreamer-devel/attachments/20120421/c0ab2d97/attachment.html>
More information about the gstreamer-devel
mailing list