AV synchronization for Audio and Video
Manoj89
manoj89vcet at gmail.com
Mon Jun 2 02:15:32 PDT 2014
Hi,
I have exactly same use case as following
http://gstreamer-devel.966125.n4.nabble.com/attachment/4661132/1/201307191600456_UIXHLLKJ.gif
If I have two appsrc then the feed the data to appsrc using following
signals:
g_signal_connect
(gdata.videoappsrc,"need-data",(GCallback)start_videofeed,context);
g_signal_connect(gdata.videoappsrc,"enough-data",(GCallback)stop_videofeed,context);
g_signal_connect(gdata.videoappsrc,"seek-data",(GCallback)seek_videofeed,context);
g_signal_connect
(gdata.audioappsrc,"need-data",(GCallback)start_audiofeed,context);
g_signal_connect(gdata.audioappsrc,"enough-data",(GCallback)stop_audiofeed,context);
g_signal_connect(gdata.audioappsrc,"seek-data",(GCallback)seek_audiofeed,context);
g_main_loop_run (gdata.loop);
Is above is the right way to feed the data to two appsrc in a single
pipeline.Even if I timestamp the buffers properly with PTS obtained along
with frame AV sync does not happen in my case.Can anyone know how above use
case exactly work?
Regards
Manoj
--
View this message in context: http://gstreamer-devel.966125.n4.nabble.com/AV-synchronization-for-Audio-and-Video-tp4667337.html
Sent from the GStreamer-devel mailing list archive at Nabble.com.
More information about the gstreamer-devel
mailing list