[gst-devel] could configure blocksize of filesrc in post plugin

zhangfei gao gaozhangfei at yahoo.com.cn
Sat Jun 2 06:11:52 CEST 2007


Hi,  
   
  Is there any method to configure blocksize of filesrc in encoder plguin, such as getcaps.
Does seting filesrc property is the only method. 
  Of couse application could set filesrc property, but this request user know some details.
   
  this is my command line.
gst-launch filesrc location=test.yuv ! h264enc frame_width=480 frame_height=640 frame_rate=30 ! avimux ! filesink location=test.avi
   
  Since encoder knows width and height, could know exactly bytes number of one frame, for example width*height*3/2 for YUV420.
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.
   
  Thanks in advance

 		
---------------------------------
 雅虎免费邮箱-3.5G容量,20M附件
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.freedesktop.org/archives/gstreamer-devel/attachments/20070602/9101ad4f/attachment.htm>


More information about the gstreamer-devel mailing list