thank you for your answer
but i can`f find gstreamer`s source code, i can only do it by command.so i want to know where is gstreamer`s source code i can use.
gstreamer`s command is to fetch data from camera,but i need to add OSD in data stream.
so i don `t know how to use gstreamer add OSD and capture video by command.
i thought i can use mxc_vpu_test to capture h264 ,after that, i use h264 to encapsulate avi video by myself.
after hearing you say, i think i am wrong. Neither gstreamer or mxc_vpu_test, all is hard coded? i thank gstreamer is soft coded.
but i think that can use h264 to encapsulate avi video in mxc_cpu_test through their own code.
i will try to capture avi with either way,
please,can you tell me that if i using gstreamer to capture avi ,what routines are available for reference in yocto project.not commmand such as gst-launch and so on.
thank you very much!!!