Hello!
I write programm for capture, encode and streaming video with GStreamer 0.10.28 and gst-fsl-plugin-2.0.3 from LTIB.
Now I need start it after boot system. Programm started, but stoped work with next error - Failed build encoder element!
Follow my code for building encoder element:
enc = gst_element_factory_make("mfw_vpuencoder", "encoder");
if (NULL == enc) {
ERROR("Failed build encoder element!");
return FALSE;
}
Because programm start and work if I start it manually I think problem in enviroment. I try set enviroment GST_REGISTRY on /root/.gstreamer-0.10, LD_LIBRARY_PATH in /usr/lib and GST_PLUGIN_PATH in /usr/lib/gstreamer-0.10, but this is not solve problem.
~ # ls -al /root/.gstreamer-0.10/
| -rw------- | 1 root | 1000 | 269611 Jan 1 00:00 registry.arm.bin |
~ # ls /usr/lib/gstreamer-0.10/
| libgstaacparse.so | libgstmultipart.so |
.........................
~ # ls -F /usr/lib
gstreamer-0.10/
libIpuScreenLayer.so.0
lib_H264_dec_arm11_elinux.so
......................
libvpu.so@
libvpu.so.0
How should I modify my programm for solve this problem?
Thank you and excuse my bad english.