How many time PIPELINE fetches the data from FILESOURCE plugin [ if pipeline runs for 10sec] ?

Ashish Kumar Mishra ashish.kmishra at dexceldesigns.com
Fri Jan 22 03:28:21 PST 2016


Dear Tim , 

*".....if you told us why you want to know this...."*
Yes sure , please find the details & do let me know if i am missing / wrong
for any point. 

1) I am trying to build an logic with audio - video splitter . 
    I am using Audio ( ALSASRC ) and for video i am using FILESRC . 

2) My default code had Audio - Video sync problem . 
    Through forum ( Mr Sebastian ) provided an feedback to look at the
time-stamp of buffers . 
 
    Based on his valuable input , i configured ALSA [ 44.1KHZ + 2 Channels +
2Byte / sample]  with ;-
    "buffer-time"    ---> (gint64) 21769
    "latency-time"  ---> (gint64)10884 
    "blocksize"      ---> (gint64) 4096     This value were by trial & error
method + some sample (from google)

    This improved the sync , but not completely. 

3) Now , here the basic idea is to know how to calculate blocksize ( which
in turns affect latency ) of ALSASRC 
    when it is to be used with different video source plugin ?
    I have tried to get some help from group members here 
http://gstreamer-devel.966125.n4.nabble.com/How-to-determine-find-quot-period-size-quot-of-ALSASRC-LATENCY-of-alsasrc-td4675332.html#a4675431

4) On parallel , i was trying how much data videosrc would generate in 1sec
to try and logically sync the amount of 
    data that is generated by both source .

Based on my limited exposure i am falling short of pointers.
My main aim is to properly understand , how to sync audio + video ( can be
from different source ) in pipeline. 


Thanks ,
Ashish Kumar Mishra.




--
View this message in context: http://gstreamer-devel.966125.n4.nabble.com/How-many-time-PIPELINE-fetches-the-data-from-FILESOURCE-plugin-if-pipeline-runs-for-10sec-tp4675433p4675440.html
Sent from the GStreamer-devel mailing list archive at Nabble.com.


More information about the gstreamer-devel mailing list