Hi,
I have a video captured from NDI in audio format F32LE and I want to output to webrtc in vp8 video and opus audio format.
I have no problems converting the video, but when converting the audio to opus I only get very loud and distorted audio.
My pipeline would be something like this:
gst-launch-1.0 ndisrc url-address=192.168.1.33:5961 ! ndisrcdemux name=demux demux.audio ! queue ! audioconvert ! audio/x-raw,channels=2 ! audioresample ! opusenc bitrate=20000 ! rtpopuspay ! udpsink host=127.0.0.1 port=10001 demux.video ! queue ! deinterlace ! videoconvert ! videoscale! video/x-raw,width=1280,height=720 ! videorate ! video/x-raw,framerate=25/1 ! vp8enc target-bitrate=2000000 deadline=1 cpu-used=10 threads=6 error-resilient=1 ! rtpvp8pay ! udpsink host=127.0.0.1 port=10002
I have tried different combinations of audioconvert parameters without success.
Does anyone know if it is possible to convert F32LE to opus with good sound quality?
I have tried converting to mp3 and I also have the same problem.
Thanks in advance.