Discussion

Encoding sample in plain C

13 1324
finger  
I am about to start programming for the camera module and i would like to know if you have a bare bone encoding sample in Plain C to start from, and not resorting to the omx decoding sample (VDE), shall i call it VEE?

The goal is to grab YUV420/NV12 images , encode it (JPEG and H264) and serve the clients via rstp or just a simple tcp packets and display the video on linux / windows clients.

I just want a Lean and Mean c source, not the gstreamer overkill samples.
If there isn't such a bare minimum code sample, can you provide gstomx source so we could learn from that and try to use it?

Hi, I have one such code in my hand, but it's using the software encoding(not hardware encoding),about hardware encoding,Will be added in the future

finger  
Hayden.Hu replied at Jan 26, 2016 01:28
Hi, I have one such code in my hand, but it's using the software encoding(not hardware encoding),ab ...

Sounds great, but we need Hardware decoding so we can challenge TKaiser video surveillance best solution! (no promises here)
The 5MP camera is pretty good, i think it can be a really good video surveillance, just give us the tools and info.
How long can we expect?

finger  
Hi Hayden.Hu,

Any news about HW encoding sample in C?
I would like to work with the camera, if you have something to share, please do it.

Anything you have, from SW encoding to HW enconding skeleton or doc would help.

Thanks.

cxy  
Maybe the tutorial below is  helpful to you
http://wiki.lemaker.org/LeMaker_Guitar:Video_encoder_framework

finger  
cxy replied at Apr 21, 2016 19:43
Maybe the tutorial below is  helpful to you
http://wiki.lemaker.org/LeMaker_Guitar:Video_encoder_fr ...

Thank you cxy,

I have read this many times long ago and i would like to get rid of this gnome/oops and its tons of dependencies.
The idea is quite simple, grab a frame (from camera) and encode it with OMX (or call Actions code) and encapsulate it in a container, plain C, no Gstreamer, no cpp.

There is a sample for RPI that does somewhat what i need but it uses Gstreamer, and it is tied up to Broadcom in a way that i found it hard to try to make it work for guitar.
It is a complex subject and i have to master OpenMax if i want to use Gstreamer and change the things.

I wished  someone had done this, but seems i am out of lucky.

finger  
So, i decided to give Gstreamer a try.

I followed the tutorial http://wiki.lemaker.org/LeMaker_Guitar:Video_encoder_framework verbatim and found some problems, maybe someone with Gstreamer knowledge could help.

while running i got the following error:
export GST_OMX_CONFIG_DIR=/usr/lib/arm-linux-gnueabihf/gstreamer-1.0/config/bellagio
gst-inspect-1.0 omxh264enc

  1. (gst-plugin-scanner:4833): GStreamer-WARNING **: Failed to load plugin '/usr/lib/arm-linux-gnueabihf/gstreamer-1.0/libgsteglglessink.so': /usr/lib/arm-linux-gnueabihf/libgstegl-1.0.so.0: undefined symbol: eglDestroyImageKHR
  2. No such element or plugin 'omxh264enc'
Copy the Code


I checked the content of the file gstomx.conf:
[omxh264enc]
type-name=GstOMXH264Enc
core-name=/usr/lib/libOMX_Core.so
component-name=OMX.Action.Video.Encoder
rank=0
in-port-index=0
out-port-index=1
hacks=event-port-settings-changed-ndata-parameter-swap;video-framerate-integer;syncframe-flag-not-used;no-disable-outport

There is no '/usr/lib/libOMX_Core.so', so i changed it to: '/usr/lib/libOMX.Action.Video.Encoder.so'
but no luck, still have the missing plugin error:
gst-inspect-1.0 omxh264enc
  1. No such element or plugin 'omxh264enc'
Copy the Code


Anyone out there got this working?
Anything i should check?

finger replied at May 09, 2016 18:34
So, i decided to give Gstreamer a try.

I followed the tutorial http://wiki.lemaker.org/LeMaker_Guit ...

you can use the fellowing command to capture a camera video:
  1. gst-launch-1.0 v4l2src device=/dev/video0 ! video/x-raw,width=640,height=480,framerate=25/1 ! omxh264enc periodicty-idr=20 control-rate=1 target-bitrate=3000000 ! avimux ! filesink location=test-$( date --iso-8601=seconds ).avi
Copy the Code


But before do that, you should install


  1. sudo apt-get install gstreamer1.0*
Copy the Code


finger  
Thank you john.wen,

This is exactly what i did!

I should note i use Lubuntu 14.04 and i have OpenGL and GPU accel working which is nice and all my work is based on 14.04.

This Gstreamer is a nightmare, i just came to this bug:
https://bugs.launchpad.net/ubunt ... mer1.0/+bug/1174492

and also:
gst-launch v4l2src ! video/x-raw-yuv,format=\(fourcc\)YUY2,width=320,height=240 ! xvimagesink
  1. Setting pipeline to PAUSED ...
  2. ERROR: Pipeline doesn't want to pause.
  3. ERROR: from element /GstPipeline:pipeline0/GstXvImageSink:xvimagesink0: Could not initialise Xv output
  4. Additional debug info:
  5. xvimagesink.c(1443): gst_xvimagesink_get_xv_support (): /GstPipeline:pipeline0/GstXvImageSink:xvimagesink0:
  6. No port available
  7. Setting pipeline to NULL ...
  8. Freeing pipeline ...
Copy the Code


xvinfo
  1. X-Video Extension version 2.2
  2. screen #0
  3. no adaptors present
Copy the Code


So i get rid with:
gst-launch v4l2src ! video/x-raw-yuv,format=\(fourcc\)YUY2,width=320,height=240 ! autovideosink
  1. Setting pipeline to PAUSED ...
  2. ERROR: Pipeline doesn't want to pause.
  3. ERROR: from element /GstPipeline:pipeline0/GstV4l2Src:v4l2src0: Failed to query norm on device '/dev/video0'.
  4. Additional debug info:
  5. v4l2_calls.c(216): gst_v4l2_fill_lists (): /GstPipeline:pipeline0/GstV4l2Src:v4l2src0:
  6. Failed to get attributes for norm 0 on devide '/dev/video0'. (61 - No data available)
  7. Setting pipeline to NULL ...
  8. Freeing pipeline .
Copy the Code
..

ls /dev/video0
/dev/video0

Can you please tell me if gstomx.conf is correct, and is there any way i can check if the files are in the right place?

ls usr/lib/arm-linux-gnueabihf/gstreamer-1.0/config/bellagio
-rwxr-xr-x 1 root root  324 May  9 20:54 gstomx.conf*

ls /usr/lib/arm-linux-gnueabihf/gstreamer-1.0/
  1. rwxr-xr-x  3 root root    4096 May  9 20:03 config/
  2. -rw-r--r--  1 root root  104804 Mar 31  2014 libgnl.so
  3. -rw-r--r--  1 root root   34860 May 13  2014 libgst1394.so
  4. -rw-r--r--  1 root root   18228 Mar 24  2014 libgsta52dec.so
  5. -rw-r--r--  1 root root   18164 May 13  2014 libgstaasink.so
  6. -rw-r--r--  1 root root   13904 May 13  2014 libgstaccurip.so
  7. -rw-r--r--  1 root root   38984 Oct 14  2015 libgstadder.so
  8. -rw-r--r--  1 root root   13924 May 13  2014 libgstadpcmdec.so
  9. -rw-r--r--  1 root root   14012 May 13  2014 libgstadpcmenc.so
  10. -rw-r--r--  1 root root   38944 May 13  2014 libgstaiff.so
  11. -rw-r--r--  1 root root   18244 May 13  2014 libgstalaw.so
  12. -rw-r--r--  1 root root   13908 May 13  2014 libgstalphacolor.so
  13. -rw-r--r--  1 root root   38728 May 13  2014 libgstalpha.so
  14. -rw-r--r--  1 root root   55556 Oct 14  2015 libgstalsa.so
  15. -rw-r--r--  1 root root   14132 Mar 24  2014 libgstamrnb.so
  16. -rw-r--r--  1 root root    9836 Mar 24  2014 libgstamrwbdec.so
  17. -rw-r--r--  1 root root   80228 May 13  2014 libgstandroidmedia.so
  18. -rw-r--r--  1 root root   13992 May 13  2014 libgstapetag.so
  19. -rw-r--r--  1 root root    5540 Oct 14  2015 libgstapp.so
  20. -rw-r--r--  1 root root   59772 May 13  2014 libgstasfmux.so
  21. -rw-r--r--  1 root root   96940 Mar 24  2014 libgstasf.so
  22. -rw-r--r--  1 root root   34896 May 13  2014 libgstassrender.so
  23. -rw-r--r--  1 root root   59316 Oct 14  2015 libgstaudioconvert.so
  24. -rw-r--r--  1 root root    9796 May 13  2014 libgstaudiofxbad.so
  25. -rw-r--r--  1 root root   92324 May 13  2014 libgstaudiofx.so
  26. -rw-r--r--  1 root root   92816 May 13  2014 libgstaudioparsers.so
  27. -rw-r--r--  1 root root   18156 Oct 14  2015 libgstaudiorate.so
  28. -rw-r--r--  1 root root   51368 Oct 14  2015 libgstaudioresample.so
  29. -rw-r--r--  1 root root   30592 Oct 14  2015 libgstaudiotestsrc.so
  30. -rw-r--r--  1 root root   43300 May 13  2014 libgstaudiovisualizers.so
  31. -rw-r--r--  1 root root   22328 May 13  2014 libgstauparse.so
  32. -rw-r--r--  1 root root   22576 May 13  2014 libgstautoconvert.so
  33. -rw-r--r--  1 root root   26556 May 13  2014 libgstautodetect.so
  34. -rw-r--r--  1 root root  125740 May 13  2014 libgstavi.so
  35. -rw-r--r--  1 root root   18120 May 13  2014 libgstbayer.so
  36. -rw-r--r--  1 root root   34888 May 13  2014 libgstbluez.so
  37. -rw-r--r--  1 root root   14088 May 13  2014 libgstbz2.so
  38. -rw-r--r--  1 root root    9904 May 13  2014 libgstcacasink.so
  39. -rw-r--r--  1 root root    5688 May 13  2014 libgstcairo.so
  40. -rw-r--r--  1 root root   55688 May 13  2014 libgstcamerabin2.so
  41. -rw-r--r--  1 root root   13932 Mar 24  2014 libgstcdio.so
  42. -rw-r--r--  1 root root   14020 Oct 14  2015 libgstcdparanoia.so
  43. -rw-r--r--  1 root root   13936 May 13  2014 libgstchromaprint.so
  44. -rw-r--r--  1 root root   35548 Jan 14  2014 libgstclutter.so
  45. -rw-r--r--  1 root root   22292 May 13  2014 libgstcoloreffects.so
  46. -rw-r--r--  1 root root  205024 May 13  2014 libgstcoreelements.so
  47. -rw-r--r--  1 root root   46928 May 13  2014 libgstcurl.so
  48. -rw-r--r--  1 root root   18172 May 13  2014 libgstcutter.so
  49. -rw-r--r--  1 root root   92476 May 13  2014 libgstdashdemux.so
  50. -rw-r--r--  1 root root   14004 May 13  2014 libgstdataurisrc.so
  51. -rw-r--r--  1 root root   43852 May 13  2014 libgstdebug.so
  52. -rw-r--r--  1 root root   39340 May 13  2014 libgstdebugutilsbad.so
  53. -rw-r--r--  1 root root   39036 May 13  2014 libgstdecklink.so
  54. -rw-r--r--  1 root root   88228 May 13  2014 libgstdeinterlace.so
  55. -rw-r--r--  1 root root   39068 May 13  2014 libgstdtmf.so
  56. -rw-r--r--  1 root root   14056 May 13  2014 libgstdtsdec.so
  57. -rw-r--r--  1 root root   64508 May 13  2014 libgstdvb.so
  58. -rw-r--r--  1 root root   43028 May 13  2014 libgstdvbsuboverlay.so
  59. -rw-r--r--  1 root root   18204 Mar 24  2014 libgstdvdlpcmdec.so
  60. -rw-r--r--  1 root root   34660 Mar 24  2014 libgstdvdread.so
  61. -rw-r--r--  1 root root   34728 May 13  2014 libgstdvdspu.so
  62. -rw-r--r--  1 root root   26524 Mar 24  2014 libgstdvdsub.so
  63. -rw-r--r--  1 root root   39236 May 13  2014 libgstdv.so
  64. -rw-r--r--  1 root root   43580 May 13  2014 libgsteffectv.so
  65. -rw-r--r--  1 root root   55568 May 13  2014 libgsteglglessink.so
  66. -rw-r--r--  1 root root   51788 Oct 14  2015 libgstencodebin.so
  67. -rw-r--r--  1 root root   22236 May 13  2014 libgstequalizer.so
  68. -rw-r--r--  1 root root   18132 May 13  2014 libgstfaad.so
  69. -rw-r--r--  1 root root    9844 May 13  2014 libgstfbdevsink.so
  70. -rw-r--r--  1 root root   13996 May 13  2014 libgstfestival.so
  71. -rw-r--r--  1 root root   30592 May 13  2014 libgstfieldanalysis.so
  72. -rw-r--r--  1 root root   51848 May 13  2014 libgstflac.so
  73. -rw-r--r--  1 root root   14004 May 13  2014 libgstflite.so
  74. -rw-r--r--  1 root root   18316 May 13  2014 libgstfluidsynthmidi.so
  75. -rw-r--r--  1 root root  177940 Sep  6  2013 libgstflump3dec.so
  76. -rw-r--r--  1 root root   84632 May 13  2014 libgstflv.so
  77. -rw-r--r--  1 root root   18188 May 13  2014 libgstflxdec.so
  78. -rw-r--r--  1 root root   51516 May 13  2014 libgstfragmented.so
  79. -rw-r--r--  1 root root   18172 May 13  2014 libgstfreeverb.so
  80. -rw-r--r--  1 root root   34904 May 13  2014 libgstfrei0r.so
  81. -rw-r--r--  1 root root   26796 May 13  2014 libgstgaudieffects.so
  82. -rw-r--r--  1 root root   30916 May 13  2014 libgstgdkpixbuf.so
  83. -rw-r--r--  1 root root   38948 May 13  2014 libgstgdp.so
  84. -rw-r--r--  1 root root   38680 May 13  2014 libgstgeometrictransform.so
  85. -rw-r--r--  1 root root   34684 Oct 14  2015 libgstgio.so
  86. -rw-r--r--  1 root root   18256 May 13  2014 libgstgme.so
  87. -rw-r--r--  1 root root   26508 May 13  2014 libgstgoom2k1.so
  88. -rw-r--r--  1 root root   85992 May 13  2014 libgstgoom.so
  89. -rw-r--r--  1 root root    9940 May 13  2014 libgstgsm.so
  90. -rw-r--r--  1 root root   14124 May 13  2014 libgsticydemux.so
  91. -rw-r--r--  1 root root    9800 May 13  2014 libgstid3demux.so
  92. -rw-r--r--  1 root root   26464 May 13  2014 libgstid3tag.so
  93. -rw-r--r--  1 root root   22400 May 13  2014 libgstimagefreeze.so
  94. -rw-r--r--  1 root root   18252 May 13  2014 libgstinterlace.so
  95. -rw-r--r--  1 root root   34980 May 13  2014 libgstinterleave.so
  96. -rw-r--r--  1 root root   26572 May 13  2014 libgstinter.so
  97. -rw-r--r--  1 root root  282600 May 13  2014 libgstisomp4.so
  98. -rw-r--r--  1 root root   18200 May 13  2014 libgstivtc.so
  99. -rw-r--r--  1 root root   38888 May 13  2014 libgstjack.so
  100. -rw-r--r--  1 root root   30756 May 13  2014 libgstjpegformat.so
  101. -rw-r--r--  1 root root   30772 May 13  2014 libgstjpeg.so
  102. -rw-r--r--  1 root root   72124 May 13  2014 libgstkate.so
  103. -rw-r--r--  1 root root   34856 May 13  2014 libgstladspa.so
  104. -rw-r--r--  1 root root   22396 Mar 24  2014 libgstlame.so
  105. -rw-r--r--  1 root root   18164 May 13  2014 libgstlevel.so
  106. -rw-r--r--  1 root root  167676 May 13  2014 libgstlibav.so
  107. -rw-r--r--  1 root root   30896 Oct 14  2015 libgstlibvisual.so
  108. -rw-r--r--  1 root root   30716 May 13  2014 libgstliveadder.so
  109. -rw-r--r--  1 root root   14004 Mar 24  2014 libgstmad.so
  110. -rw-r--r--  1 root root  216420 May 13  2014 libgstmatroska.so
  111. -rw-r--r--  1 root root   26532 May 13  2014 libgstmidi.so
  112. -rw-r--r--  1 root root   22444 May 13  2014 libgstmimic.so
  113. -rw-r--r--  1 root root   22320 May 13  2014 libgstmirsink.so
  114. -rw-r--r--  1 root root   18200 May 13  2014 libgstmms.so
  115. -rw-r--r--  1 root root   22536 May 13  2014 libgstmodplug.so
  116. -rw-r--r--  1 root root   18240 May 13  2014 libgstmonoscope.so
  117. -rw-r--r--  1 root root   22372 Mar 24  2014 libgstmpeg2dec.so
  118. -rw-r--r--  1 root root   67736 May 13  2014 libgstmpegpsdemux.so
  119. -rw-r--r--  1 root root   34744 May 13  2014 libgstmpegpsmux.so
  120. -rw-r--r--  1 root root   84332 May 13  2014 libgstmpegtsdemux.so
  121. -rw-r--r--  1 root root   47196 May 13  2014 libgstmpegtsmux.so
  122. -rw-r--r--  1 root root   13984 May 13  2014 libgstmpg123.so
  123. -rw-r--r--  1 root root    9924 May 13  2014 libgstmulaw.so
  124. -rw-r--r--  1 root root   34948 May 13  2014 libgstmultifile.so
  125. -rw-r--r--  1 root root   26704 May 13  2014 libgstmultipart.so
  126. -rw-r--r--  1 root root  281556 May 13  2014 libgstmxf.so
  127. -rw-r--r--  1 root root    9804 May 13  2014 libgstnavigationtest.so
  128. -rw-r--r--  1 root root   13920 Jun  6  2013 libgstnice.so
  129. -rw-r--r--  1 root root    9796 May 13  2014 libgstofa.so
  130. -rw-r--r--  1 root root  166960 Oct 14  2015 libgstogg.so
  131. -rwxr-xr-x  1 root root 1016051 May  9 20:06 libgstomx.so*
  132. -rw-r--r--  1 root root   30692 May 13  2014 libgstopenal.so
  133. -rw-r--r--  1 root root  102156 May 13  2014 libgstopencv.so
  134. -rw-r--r--  1 root root   30676 May 13  2014 libgstopenjpeg.so
  135. -rw-r--r--  1 root root   47628 May 13  2014 libgstopus.so
  136. -rw-r--r--  1 root root   38700 May 13  2014 libgstoss4audio.so
  137. -rw-r--r--  1 root root   26364 May 13  2014 libgstossaudio.so
  138. -rw-r--r--  1 root root   51684 Oct 14  2015 libgstpango.so
  139. -rw-r--r--  1 root root   18256 May 13  2014 libgstpcapparse.so
  140. -rw-r--r--  1 root root  241560 Oct 14  2015 libgstplayback.so
  141. -rw-r--r--  1 root root   22452 May 13  2014 libgstpng.so
  142. -rw-r--r--  1 root root   14124 May 13  2014 libgstpnm.so
  143. -rw-r--r--  1 root root   80488 May 13  2014 libgstpulse.so
  144. -rw-r--r--  1 root root   34900 May 13  2014 libgstrawparse.so
  145. -rw-r--r--  1 root root    9812 May 13  2014 libgstremovesilence.so
  146. -rw-r--r--  1 root root   30640 May 13  2014 libgstreplaygain.so
  147. -rw-r--r--  1 root root  134684 May 13  2014 libgstresindvd.so
  148. -rw-r--r--  1 root root   34680 May 13  2014 libgstrfbsrc.so
  149. -rw-r--r--  1 root root   97192 Mar 24  2014 libgstrmdemux.so
  150. -rw-r--r--  1 root root   18320 May 13  2014 libgstrsvg.so
  151. -rw-r--r--  1 root root   22360 May 13  2014 libgstrtmp.so
  152. -rw-r--r--  1 root root  188420 May 13  2014 libgstrtpmanager.so
  153. -rw-r--r--  1 root root  294796 May 13  2014 libgstrtp.so
  154. -rw-r--r--  1 root root  105524 May 13  2014 libgstrtsp.so
  155. -rw-r--r--  1 root root   14084 May 13  2014 libgstsbc.so
  156. -rw-r--r--  1 root root   26736 May 13  2014 libgstschro.so
  157. -rw-r--r--  1 root root   26568 May 13  2014 libgstsdpelem.so
  158. -rw-r--r--  1 root root   18236 May 13  2014 libgstsegmentclip.so
  159. -rw-r--r--  1 root root   26508 May 13  2014 libgstshapewipe.so
  160. -rw-r--r--  1 root root   30688 May 13  2014 libgstshm.so
  161. -rw-r--r--  1 root root   18272 May 13  2014 libgstshout2.so
  162. -rw-r--r--  1 root root   18452 Mar 24  2014 libgstsid.so
  163. -rw-r--r--  1 root root   57188 May 13  2014 libgstsiren.so
  164. -rw-r--r--  1 root root    9800 May 13  2014 libgstsmooth.so
  165. -rw-r--r--  1 root root   39116 May 13  2014 libgstsmoothstreaming.so
  166. -rw-r--r--  1 root root   55448 May 13  2014 libgstsmpte.so
  167. -rw-r--r--  1 root root   22456 May 13  2014 libgstsoundtouch.so
  168. -rw-r--r--  1 root root   39024 May 13  2014 libgstsouphttpsrc.so
  169. -rw-r--r--  1 root root   14116 May 13  2014 libgstspandsp.so
  170. -rw-r--r--  1 root root   18120 May 13  2014 libgstspectrum.so
  171. -rw-r--r--  1 root root   18172 May 13  2014 libgstspeed.so
  172. -rw-r--r--  1 root root   26744 May 13  2014 libgstspeex.so
  173. -rw-r--r--  1 root root   31028 May 13  2014 libgstsrtp.so
  174. -rw-r--r--  1 root root   14104 May 13  2014 libgstsubenc.so
  175. -rw-r--r--  1 root root   57704 Oct 14  2015 libgstsubparse.so
  176. -rw-r--r--  1 root root   30832 May 13  2014 libgsttaglib.so
  177. -rw-r--r--  1 root root   72016 Oct 14  2015 libgsttcp.so
  178. -rw-r--r--  1 root root   43464 Oct 14  2015 libgsttheora.so
  179. -rw-r--r--  1 root root   22516 Mar 24  2014 libgsttwolame.so
  180. -rw-r--r--  1 root root   69160 Oct 14  2015 libgsttypefindfunctions.so
  181. -rw-r--r--  1 root root   51424 May 13  2014 libgstudp.so
  182. -rw-r--r--  1 root root   59844 May 13  2014 libgstuvch264.so
  183. -rw-r--r--  1 root root   76772 Feb 27  2014 libgstvaapi.so
  184. -rw-r--r--  1 root root  109164 May 13  2014 libgstvideo4linux2.so
  185. -rw-r--r--  1 root root   47000 May 13  2014 libgstvideobox.so
  186. -rw-r--r--  1 root root   59224 Oct 14  2015 libgstvideoconvert.so
  187. -rw-r--r--  1 root root   22420 May 13  2014 libgstvideocrop.so
  188. -rw-r--r--  1 root root   13848 May 13  2014 libgstvideofiltersbad.so
  189. -rw-r--r--  1 root root   34896 May 13  2014 libgstvideofilter.so
  190. -rw-r--r--  1 root root  113240 May 13  2014 libgstvideomixer.so
  191. -rw-r--r--  1 root root  101200 May 13  2014 libgstvideoparsersbad.so
  192. -rw-r--r--  1 root root   26460 Oct 14  2015 libgstvideorate.so
  193. -rw-r--r--  1 root root   71588 Oct 14  2015 libgstvideoscale.so
  194. -rw-r--r--  1 root root   34832 Oct 14  2015 libgstvideotestsrc.so
  195. -rw-r--r--  1 root root   14060 May 13  2014 libgstvoaacenc.so
  196. -rw-r--r--  1 root root    9976 May 13  2014 libgstvoamrwbenc.so
  197. -rw-r--r--  1 root root   22192 Oct 14  2015 libgstvolume.so
  198. -rw-r--r--  1 root root   39220 Oct 14  2015 libgstvorbis.so
  199. -rw-r--r--  1 root root   68024 May 13  2014 libgstvpx.so
  200. -rw-r--r--  1 root root   22536 May 13  2014 libgstwavenc.so
  201. -rw-r--r--  1 root root   30828 May 13  2014 libgstwavpack.so
  202. -rw-r--r--  1 root root   47184 May 13  2014 libgstwavparse.so
  203. -rw-r--r--  1 root root   13992 May 13  2014 libgstwebp.so
  204. -rw-r--r--  1 root root   22436 May 13  2014 libgstwildmidi.so
  205. -rw-r--r--  1 root root   43156 Mar 24  2014 libgstx264.so
  206. -rw-r--r--  1 root root   39100 Oct 14  2015 libgstximagesink.so
  207. -rw-r--r--  1 root root   30660 May 13  2014 libgstximagesrc.so
  208. -rw-r--r--  1 root root   18148 Mar 24  2014 libgstxingmux.so
  209. -rw-r--r--  1 root root   51472 Oct 14  2015 libgstxvimagesink.so
  210. -rw-r--r--  1 root root   22380 May 13  2014 libgsty4mdec.so
  211. -rw-r--r--  1 root root    9884 May 13  2014 libgsty4menc.so
  212. -rw-r--r--  1 root root    9888 May 13  2014 libgstyadif.so
  213. -rw-r--r--  1 root root    9868 May 13  2014 libgstzbar.so
Copy the Code


  1. -rwxr-xr-x 1 root root 493094 May  9 20:06 /usr/lib/libOMX.Action.Video.Encoder.so*
Copy the Code
  1. -rwxr-xr-x 1 root root 277562 May  9 20:06 /usr/lib//libACT_EncAPI.so*
Copy the Code
  1. -rwxr-xr-x 1 root root 1016051 May  9 20:06 /usr/lib/arm-linux-gnueabihf/gstreamer-1.0/libgstomx.so
Copy the Code


It is still not finding omxh264enc , something wrong with gstomx.conf or maybe some user privileges i am missing?

finger  
sorry for the double post, site was slow.

I think i missed: http://wiki.lemaker.org/LeMaker_Guitar:Video_decoder_engine
libOMX_Core.so is in there.

Will try and post the results, for the v4l2 gstreamer i will try to fix it.

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

Points Rules