<div><BR>Hi,&nbsp; </div>  <div>&nbsp;</div>  <div>Is there any method to configure blocksize of filesrc in encoder plguin, such as getcaps.<BR>Does seting filesrc property is the only method. </div>  <div>Of couse application could set filesrc property, but this request user know some details.</div>  <div>&nbsp;</div>  <div>this is my command line.<BR>gst-launch filesrc location=test.yuv ! h264enc frame_width=480 frame_height=640 frame_rate=30 ! avimux ! filesink location=test.avi</div>  <div>&nbsp;</div>  <div>Since encoder knows width and height, could know exactly bytes number of one frame, for example width*height*3/2 for YUV420.<BR>It would be more efficient, if encoder could set property of filesrc blocksize, then no buffer is needed to repack input data. Instead encoder could use input buffer directly.</div>  <div>&nbsp;</div>  <div>Thanks in advance</div><p>&#32;
                <hr size=1><a href="http://cn.mail.yahoo.com/" target=blank> 
ÑÅ»¢Ãâ·ÑÓÊÏä-3.5GÈÝÁ¿£¬20M¸½¼þ
</a>