Bad sound when using opus inband-fec and changing opus's bitrate

classic Classic list List threaded Threaded
1 message Options
Reply | Threaded
Open this post in threaded view
|

Bad sound when using opus inband-fec and changing opus's bitrate

Jonas Licht
Hi,

I'm creating a RTP audio streaming application with the opus audio codec.
Additional I use the scream algorithmus to control the opus bitrate
depending on the network condition.

Without the opus inband-fec this working fine.
But when I enable the fec, after a short period the decoded audio sounds
terrible.
Maybe it decoding only the inband-fec additional data.
If I disable the bitrate control the sound sound good.

Send pipeline: gst-launch-1.0 rtpbin name=rtpbin jackaudiosrc
port-pattern=\"playout:out_jackaudiosink0_1\" ! audio/x-raw,channels=1 !
audioconvert ! opusenc name=encoder inband-fec=1
packet-loss-percentage=10 bandwidth=wideband ! rtpopuspay ! gscreamtx
media-src=5 ! rtpbin.send_rtp_sink_0 rtpbin.send_rtp_src_0 ! udpsink
host=127.0.0.1 port=5000  udpsrc port=5001 ! rtpbin.recv_rtcp_sink_0

Receive pipeline: gst-launch-1.0 rtpbin name=rtpbin do-lost=1 udpsrc
port=5000 ! gscreamrx !
application/x-rtp,media=audio,clock-rate=48000,encoding-name=OPUS,pt=96
! rtpbin.recv_rtp_sink_0 rtpbin.send_rtcp_src_0 ! udpsink host=127.0.0.1
port=5001 sync=false async=false rtpbin. ! rtpopusdepay ! opusdec plc=1
use-inband-fec=1 ! autoaudiosink

Thanks for your help.
Best regards,
Jonas



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

signature.asc (849 bytes) Download Attachment