Appsrc question
Wim Taymans
wim.taymans at gmail.com
Fri Jul 19 05:16:42 PDT 2013
On 07/19/2013 01:01 PM, Deepak Jain wrote:
>
>
> On Fri, Jul 19, 2013 at 4:11 PM, Wim Taymans <wim.taymans at gmail.com
> <mailto:wim.taymans at gmail.com>> wrote:
>
> On 07/19/2013 12:33 PM, Deepak Jain wrote:
>
> Hi,
> I am getting demuxed audio and video elementary streams from
> the server for a audio/video file.
> I am getting buffer, its size and PTS information. Data is
> H264 video and AAC audio.
> I am looking at below two approaches to get it working.
>
> _Approach 1:_
>
> _Approach 2:_
>
>
> Now here are some of my questions on which I need help:
> (1) If above two approaches at all would work for me?
>
> Yes, the difference is that the second one creates a second thread.
>
> So which approach do you think is easier to manage if we think of the
> whole system?
The second one
Wim
>
>
>
> (2) If yes, then how audio video sync would be achieved?
>
>
> By placing the same buffer running-time on buffers that need to be
> synchronized. The rules for
> placing timestamps are here
> http://cgit.freedesktop.org/gstreamer/gstreamer/tree/docs/design/part-synchronisation.txt
> and
> http://cgit.freedesktop.org/gstreamer/gstreamer/tree/docs/design/part-element-source.txt
>
> Wim
>
> (3) If not, then what is the alternative approach?
>
> Thanks,
>
> Deepak
>
>
>
>
> _______________________________________________
> gstreamer-devel mailing list
> gstreamer-devel at lists.freedesktop.org
> <mailto:gstreamer-devel at lists.freedesktop.org>
> http://lists.freedesktop.org/mailman/listinfo/gstreamer-devel
>
>
> _______________________________________________
> gstreamer-devel mailing list
> gstreamer-devel at lists.freedesktop.org
> <mailto:gstreamer-devel at lists.freedesktop.org>
> http://lists.freedesktop.org/mailman/listinfo/gstreamer-devel
>
>
>
>
> _______________________________________________
> gstreamer-devel mailing list
> gstreamer-devel at lists.freedesktop.org
> http://lists.freedesktop.org/mailman/listinfo/gstreamer-devel
More information about the gstreamer-devel
mailing list