audiomixer with clock problem

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

audiomixer with clock problem

evaluat0r
Hi All,

I was testing out audio mixing from a network source in the following way:


Network sender:
gst-launch-1.0 audiotestsrc is-live=true freq=880 ! audioconvert !
audioresample ! opusenc ! rtpopuspay ! udpsink host=127.0.0.1 port=5000

Network receiver:
GST_DEBUG=6 gst-launch-1.0 -vvvv audiomixer name=mix mix. ! queue !
audioconvert ! audioresample ! autoaudiosink audiotestsrc is-live=true
volume=0.2 ! mix. udpsrc port=5000
caps="application/x-rtp,media=(string)audio,clock-rate=48000,encoding-params=2,encoding-name=(string)OPUS"
! rtpopusdepay ! opusdec ! mix.

Results in the following problem, but it is unclear where the source of the
issue is coming from:
GStreamer error: clock problem.

Any insights into correcting this?



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

Re: audiomixer with clock problem

Mathieu Duponchelle
Hey, run with GST_DEBUG=1, your problem should become more obvious :)

Cheers,

--
Mathieu Duponchelle ยท https://www.centricular.com <https://www.centricular.com>

On 2/12/21 6:49 PM, evaluat0r wrote:

> Hi All,
>
> I was testing out audio mixing from a network source in the following way:
>
>
> Network sender:
> gst-launch-1.0 audiotestsrc is-live=true freq=880 ! audioconvert !
> audioresample ! opusenc ! rtpopuspay ! udpsink host=127.0.0.1 port=5000
>
> Network receiver:
> GST_DEBUG=6 gst-launch-1.0 -vvvv audiomixer name=mix mix. ! queue !
> audioconvert ! audioresample ! autoaudiosink audiotestsrc is-live=true
> volume=0.2 ! mix. udpsrc port=5000
> caps="application/x-rtp,media=(string)audio,clock-rate=48000,encoding-params=2,encoding-name=(string)OPUS"
> ! rtpopusdepay ! opusdec ! mix.
>
> Results in the following problem, but it is unclear where the source of the
> issue is coming from:
> GStreamer error: clock problem.
>
> Any insights into correcting this?
>
>
>
> --
> Sent from: http://gstreamer-devel.966125.n4.nabble.com/
> _______________________________________________
> 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
Reply | Threaded
Open this post in threaded view
|

Re: audiomixer with clock problem

evaluat0r
I see the non negotiated error with udpsrc but it is unclear why. However,
removing audio mixer from the receiver pipeline and directing it to
autoaudiosink works. So there is some problem with the way the audiomixer
part of the pipeline is setup.



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