Fwd: Synchronize multiple pipelines

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

Fwd: Synchronize multiple pipelines

IgalKroyter
This post was updated on .
Hi,

I am trying to built a GStemaer network in C which includes the following
items:
audio arc pipeline : alsasrc -> tee -> queue -> interaudiosink
encoding  pipeline: v4lsrc -> convert -> intervideosink ==== intervideosrc
-> ...->

                                                     mux -> filesink

                           interaudiosrc ->

I cannot use gstproxy as I am using an old Gstreamer version 1.8.x ( I had
problems with installing 1.14.2) on the Ubuntu 16.04.
The problem is that the audio and video are not synchronized and have a
constant gap of ~800[mSec]
I have tried to modify ts-offset and set do-timestamps parameters and
change queue values.

The problem is that until the video is starting to encode the audio lane
includes extra 800[mSec] of data which has to be dropped and the newlly
arriving timne stamp has to be reduced by 800[mSec] so the later mux will
sync them.

my constraints: there are multiple video streams and a single audio stream
which has to be merged with all these video streams. All video streams have
to be independent.

How should I synchronize multiple pipelines when one of them is running?

Igal

_______________________________________________
gstreamer-devel mailing list
gstreamer-devel@lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/gstreamer-devel
Reply | Threaded
Open this post in threaded view
|

Re: Fwd: Synchronize multiple pipelines

IgalKroyter
Isn't there anyone that can support me on this issue?
thanks.



--
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: Fwd: Synchronize multiple pipelines

IgalKroyter
Hi,

I have notinced that If I drop enogh audio samples (~800mSec]) and subtract
800000000[nSec] from PST and DST of each audio sample then the audio and
video get synchronized.

I wonder if there is a more robust muchanism that will support me on this
one?

Regards.



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