the source code is generated by gst-project-maker whick locates in gst-plugin-bad/tools/gst-project-maker Step 0 cd gst-plugins-bad/tools Step 1 ./gst-project-maker MyProject Step 2 ./gst-element-maker MyProject basetransform mv gstmyproject.h gst-MyProject/plugins/gstMyProject.h mv gstMyProject.c gst-MyProject/plugins/gstMyProject.c Step 3 ./gst-app-maker MyProject Step 4 rename the plugin dynamic library name , it must be same with the 3rd argument in the GST_PLUGIN_DEFINE