bad audio stream when using gsm over network (using rtpgsmpay)

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

bad audio stream when using gsm over network (using rtpgsmpay)

Aurele Traynard
Hi everyone,

I was trying to send a stream gsm encoded over network using rtp, I had problems with the audio stream, it was not good at all.
I made several tests with some equipements and finally I made those tests on my ubuntu 16.04 :

this pipeline works well :
gst-launch-1.0 -v alsasrc ! gsmenc ! gsmdec ! alsasink
this one doesn't work :
gst-launch-1.0 -v alsasrc ! gsmenc ! rtpgsmpay ! rtpgsmdepay ! gsmdec ! alsasink

I used a SIP phone to get a rtp gsm stream and I could decode it without any problem, so my guess is that the gsmenc and the rtpgsmpay are not working well together... (or maybe rtpgsmpay/rtpgsmdepay). Of course the SIP phone is not able to decode the rtp stream generated by gstreamer.

I made the test on arm platform with GStreamer 1.10.4 and on my Ubuntu with GStreamer 1.8.3 the result is quite similar... The sound is really bad

if anyone has any suggestion, or knows where to start looking...

Thanks for any help
Aurèle



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

Re: bad audio stream when using gsm over network (using rtpgsmpay)

Yasushi SHOJI-2
Hi

On Wed, Jul 5, 2017 at 5:48 PM, Aurele Traynard <[hidden email]> wrote:
>
> I was trying to send a stream gsm encoded over network using rtp, I had problems with the audio stream, it was not good at all.
> I made several tests with some equipements and finally I made those tests on my ubuntu 16.04 :
>
> this pipeline works well :
> gst-launch-1.0 -v alsasrc ! gsmenc ! gsmdec ! alsasink
> this one doesn't work :
> gst-launch-1.0 -v alsasrc ! gsmenc ! rtpgsmpay ! rtpgsmdepay ! gsmdec ! alsasink

would you mind to test the patch I just added to

Thanks,
-- 
              yashi


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

Re: bad audio stream when using gsm over network (using rtpgsmpay)

Aurele Traynard
Hi yashi,

Just to get every thread, as mentioned in the ticket, your patch fixed the problem. (tested with gstreamer-plugins-bad 1.10.4)
Many thanks for this quick fix

Aurele

2017-07-07 14:26 GMT+02:00 Yasushi SHOJI <[hidden email]>:
Hi

On Wed, Jul 5, 2017 at 5:48 PM, Aurele Traynard <[hidden email]> wrote:
>
> I was trying to send a stream gsm encoded over network using rtp, I had problems with the audio stream, it was not good at all.
> I made several tests with some equipements and finally I made those tests on my ubuntu 16.04 :
>
> this pipeline works well :
> gst-launch-1.0 -v alsasrc ! gsmenc ! gsmdec ! alsasink
> this one doesn't work :
> gst-launch-1.0 -v alsasrc ! gsmenc ! rtpgsmpay ! rtpgsmdepay ! gsmdec ! alsasink

would you mind to test the patch I just added to

Thanks,
-- 
              yashi


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



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