How to determine / find "period_size" of ALSASRC (LATENCY of alsasrc)

Ashish Kumar Mishra ashish.kmishra at dexceldesigns.com
Thu Jan 28 04:53:36 PST 2016


Dear Sir , 

1) Any pointers / inputs as to how to solve this . 

2) Keeping ALSASRC as constant to ( 44.1K + Stereo + 2bytes/sample ) with
below mentioned setting :- 
    "buffer-time"   = 21769 
    "latency-time" = 10884 
    "blocksize"      = 4096 
    
I did few more debugging by changing the video file being used as FILESRC [
"blocksize",2048] :- 
              47kbps_with_640_480_resolution.mp4  --> Drops 768 / 896/ 1088
sample's randomly 
      2935kbps_with_1920_1080_resolution.mp4  --> Drops 589696 / 685056 /
99328 sample's randomly 
      3986kbps_with_1920_1080_resolution.mp4  --> Drops 32832   / 1024 /
275392 sample's randomly. 

This test help to derive an basic observation that keeping prorammable
parameters of ALSASRC + FILESRC 
if we change the file's i.e having different video bit rate / resolution , 
the sync in pipeline is affected . 

This brings to actual question , as to how to determine parameters when we
would require to support different 
video files. 
  
Please do let me know if i am wrong or missing any point . I am falling
short of pointers to debug the zone which is affecting synchronization 
between audio + video 


Thanks, 
Ashish Kumar Mishra 




--
View this message in context: http://gstreamer-devel.966125.n4.nabble.com/How-to-determine-find-period-size-of-ALSASRC-LATENCY-of-alsasrc-tp4675332p4675554.html
Sent from the GStreamer-devel mailing list archive at Nabble.com.


More information about the gstreamer-devel mailing list