------=_Part_1779775_1315469.1713887191341 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: quoted-printable Try sending SR report. The NTP timestamp in the SR report will help in audi= o and video synchronization.Check rtpbin examples which have SR and RR reor= t Sent from Yahoo Mail. Get the app=20 On Monday, 22 April, 2024 at 03:20:51 pm GMT-5, cfd new via gstreamer-d= evel wrote: =20 =20 I guess you send out audio and video separately. If yes, you may try to s= end out audio first and then video. =C2=A0=C2=A0 Joe On Thursday, April 18, 2024, 08:13:43 a.m. EDT, Felix Sternkopf via gst= reamer-devel wrote: =20 =20 Dear GST Community, =20 i have implemented a rtsp server with the gst-rtsp-server module. The serve= r receives an audio signal via an interaudiosrc and a video signal via an i= ntervideosrc: =20 =C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0intervide= osrc channel=3Dvideosrc =C3=A0 videoconvert=C3=A0 vaapih264enc bitrate=3D50= 00 zerolatency=3Dtrue=C3=A0 rtph264pay pt=3D96 name=3Dpay0 =20 =C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0 interaud= iosrc channel=3Daudiosrc=C3=A0 opusenc bitrate=3D64=C3=A0 queue=C3=A0 rtpop= uspay pt=3D97 name=3Dpay1 =20 =C2=A0 =20 When I try to view the stream via an rtsp client, for example VLC Player th= e stream works, but the audio signal is about 1 second behind the video sig= nal. I already tried different audio encoders and different queue parameter= s like buffer size and leaky queues, but nothing solved the problem. =20 When I start the same pipeline as above but mux both signals and write them= into a filesink they are synchronized. =20 =C2=A0 =20 I know that the server module internally uses the multiudpsink element. Is = there any possibility to edit multiudpsink parameters from outside? =20 Does anybody have any ideas about this problem? I already read every google= result I could find about it. =20 =C2=A0 =20 Best Regards, =20 Felix Sternkopf =20 ------=_Part_1779775_1315469.1713887191341 Content-Type: text/html; charset=UTF-8 Content-Transfer-Encoding: quoted-printable
Try sending SR report. The N= TP timestamp in the SR report will help in audio and video synchronization.=
Check rtpbin examples which ha= ve SR and RR reort

=


Sent from Yahoo Mail. Get the app


=20
=20
On Monday, 22 April, 2024 at 03:20:51 pm GMT-5, cfd= new via gstreamer-devel <gstreamer-devel@lists.freedesktop.org> wrot= e:


=20 =20
I guess you send out audio and video separately. I= f yes, you may try to send out audio first and then video.

   Joe

=20
=20
On Thursday, April 18, 2024, 08:13:43 a.m. EDT, Fel= ix Sternkopf via gstreamer-devel <gstreamer-devel@lists.freedesktop.org&= gt; wrote:


=20 =20
=20 =20

Dear GST Community,

=20

i have implemented a rtsp server with the gst-rtsp-server= module. The server receives an audio signal via an interaudiosrc and a vid= eo signal via an intervideosrc:

=20

         &nb= sp;  intervideosrc channel=3Dvideosrc =C3=A0 videoconvert =C3= =A0 = vaapih264enc bitrate=3D5000 zerolatency=3Dtrue =C3= =A0 = rtph264pay pt=3D96 name=3Dpay0

=20

         =    interaudiosrc channel=3Daudiosrc =C3= =A0 = opusenc bitrate=3D64 =C3= =A0 = queue =C3= =A0 = rtpopuspay pt=3D97 name=3Dpay1

=20

 

=20

When I try to view the stream via an rtsp client, for exa= mple VLC Player the stream works, but the audio signal is about 1 second be= hind the video signal. I already tried different audio encoders and different queue parameters like buffer size and leaky q= ueues, but nothing solved the problem.

=20

When I start the same pipeline as above but mux both sign= als and write them into a filesink they are synchronized.

=20

 

=20

I know that the server module internally uses the multiud= psink element. Is there any possibility to edit multiudpsink parameters fro= m outside?

=20

Does anybody have any ideas about this problem? I already= read every google result I could find about it.

=20

 

=20

Best Regards,

=20

Felix Sternkopf

=20
------=_Part_1779775_1315469.1713887191341--