Encoding sample in plain C

13 1916
Still not finding it.


cat $GST_OMX_CONFIG_DIR/gstomx.conf
  1. [omxh264enc]
  2. type-name=GstOMXH264Enc
  3. core-name=/usr/lib/libOMX_Core.so
  4. component-name=OMX.Action.Video.Encoder
  5. rank=0
  6. in-port-index=0
  7. out-port-index=1
  8. hacks=event-port-settings-changed-ndata-parameter-swap;video-framerate-integer;syncframe-flag-not-used;no-disable-outport
Copy the Code

ls /usr/lib/libOMX_Core.so

gst-inspect-1.0 omxh264enc
No such element or plugin 'omxh264enc'

Anything else i should try/check?

* in the instructions i could not find any mention to copy the patched gst-inspect-1.0 and gst-launch-1.0, so i would suspect there are more info or binaries missing.

* i did cp to /usr/bin , even so the plugin is still missing.

What else?

Edited by finger at May 11, 2016 14:01

Today i repeated the installation process, no success.
I have OpenGLES2.0 and GPU HW working, no VPU at the moment.

If someone has this working, please leave a message!
Here is a confirmation that some components are missing:
Could not load plugin file: File "/usr/lib/arm-linux-gnueabihf/gstreamer-1.0/libgstomx.so" appears to be a GStreamer plugin, but it failed to initialize

  1. version omx-1.0.0
  2. file /etc/omx_codec.xml
  3. file /usr/lib/vd_xvid.so
  4. file /usr/lib/vd_mjpg.so
  5. file /usr/lib/vd_h264.so
  6. file /usr/lib/vd_h263.so
  7. file /usr/lib/vd_flv1.so
  8. file /usr/lib/vd_mpeg.so
  9. file /usr/lib/libOMX.Action.Video.Decoder.so
  10. file /usr/lib/libOMX_Core.so
  11. file /usr/lib/libion.so
  12. file /usr/lib/libvde_core.so
  13. file /usr/lib/libalc.so
  14. tree /usr/include/omx-include
  15. file /usr/lib/libavcodec.so.56.26.100
  16. link /usr/lib/libavcodec.so.56
  17. link /usr/lib/libavcodec.so
  18. file /usr/lib/libavdevice.so.56.4.100
  19. link /usr/lib/libavdevice.so.56
  20. link /usr/lib/libavdevice.so
  21. file /usr/lib/libavfilter.so.5.11.102
  22. link /usr/lib/libavfilter.so.5
  23. link /usr/lib/libavfilter.so
  24. file /usr/lib/libavformat.so.56.25.101
  25. link /usr/lib/libavformat.so.56
  26. link /usr/lib/libavformat.so
  27. file /usr/lib/libavutil.so.54.20.100
  28. link /usr/lib/libavutil.so.54
  29. link /usr/lib/libavutil.so
  30. file /usr/lib/libswresample.so.1.1.100
  31. link /usr/lib/libswresample.so.1
  32. link /usr/lib/libswresample.so
  33. tree /usr/include/libavcodec
  34. tree /usr/include/libavdevice
  35. tree /usr/include/libavfilter
  36. tree /usr/include/libavformat
  37. tree /usr/include/libavutil
  38. tree /home/owlplayer
Copy the Code

even i seem to have the exact same problem, but when i clear cache using

  1. rm ~/.cache/gstreamer-1.0/ -r
Copy the Code

i'm able to temporarily find omxh264enc, but on reboot its again the same. i noticed that it is getting blacklisted
  1. root@LeMaker:~/gstreamer_decoder# gst-inspect-1.0 -b
  2. Blacklisted files:
  3.   libgstomx.so

  4. Total count: 1 blacklisted file
Copy the Code

clearing cache and testing sometimes work, but not always. whats the solution to this?

You have to log in before you can reply Login | Sign Up

Points Rules