Advertisement
vliaskov

omx tizonia gst-omx test

Jun 15th, 2018
2,728
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. 03:00.0 VGA compatible controller: Advanced Micro Devices, Inc. [AMD/ATI] Baffin [Radeon RX 550 640SP / RX 560] (rev cf
  2. Mesa-1.18 compiled with --enable-omx-tizonia --with-omx-tizonia-libdir=/usr/local/lib64/
  3.  
  4. gstreamer-1.14.1
  5. tizonia-openmax-il compiled from source https://github.com/tizonia/tizonia-openmax-il
  6. gst-omx compiled from source https://github.com/GStreamer/gst-omx
  7.  
  8. I get a '/usr/local/lib64/libtizcore.so': OMX_ErrorComponentNotFound error
  9.  
  10. MESA_DEBUG=1 GST_DEBUG=3 MESA_ENABLE_OMX_EGLIMAGE=1 GST_GL_API=gles2 GST_GL_PLATFORM=egl gst-launch-1.0 filesrc location=/opt/Videos/SampleVideo_1280x720_30mb.mp4 ! qtdemux ! h264parse ! omxh264dec ! glimagesink
  11. Setting pipeline to PAUSED ...
  12.  
  13. 0:00:00.177779955 16023 0x556c808f2c90 ERROR omx gstomx.c:799:gst_omx_component_new:<omxh264dec-omxh264dec0> Failed to get component handle 'OMX.mesa.video.all' from core '/usr/local/lib64/libtizcore.so': 0x80001003
  14. 0:00:00.177904460 16023 0x556c808f2c90 WARN videodecoder gstvideodecoder.c:2535:gst_video_decoder_change_state:<omxh264dec-omxh264dec0> error: Failed to open decoder
  15. ERROR: Pipeline doesn't want to pause.
  16. Got context from element 'sink': gst.gl.GLDisplay=context, gst.gl.GLDisplay=(GstGLDisplay)"\(GstGLDisplayX11\)\ gldisplayx11-0";
  17. ERROR: from element /GstPipeline:pipeline0/GstOMXH264Dec-omxh264dec:omxh264dec-omxh264dec0: Could not initialize supporting library.
  18. Additional debug info:
  19. gstvideodecoder.c(2535): gst_video_decoder_change_state (): /GstPipeline:pipeline0/GstOMXH264Dec-omxh264dec:omxh264dec-omxh264dec0:
  20.  
  21. Failed to open decoder
  22. Setting pipeline to NULL ...
  23. Freeing pipeline ...
  24.  
  25.  
  26. cat /etc/xdg/gstomx.conf
  27. [omxmp3dec]
  28. type-name=GstOMXMP3Dec
  29. core-name=/usr/local/lib64/libtizcore.so
  30. component-name=OMX.Aratelia.audio_decoder.mp3
  31. rank=0
  32. in-port-index=0
  33. out-port-index=1
  34.  
  35. [omxmp3enc]
  36. type-name=GstOMXMP3Enc
  37. core-name=/usr/local/lib64/libtizcore.so
  38. component-name=OMX.Aratelia.audio_encoder.mp3
  39. rank=0
  40. in-port-index=0
  41. out-port-index=1
  42.  
  43. [omxaacdec]
  44. type-name=GstOMXAACDec
  45. core-name=/usr/local/lib64/libtizcore.so
  46. component-name=OMX.Aratelia.audio_decoder.aac
  47. rank=0
  48. in-port-index=0
  49. out-port-index=1
  50.  
  51. [omxvp8dec]
  52. type-name=GstOMXVP8Dec
  53. core-name=/usr/local/lib64/libtizcore.so
  54. component-name=OMX.Aratelia.video_decoder.vp8
  55. rank=0
  56. in-port-index=0
  57. out-port-index=1
  58.  
  59. [omxh264dec]
  60. type-name=GstOMXH264Dec
  61. core-name=/usr/local/lib64/libtizcore.so
  62. component-name=OMX.mesa.video.all
  63. component-role=video_decoder.avc
  64. rank=0
  65. in-port-index=0
  66. out-port-index=1
  67.  
  68. [omxh264enc]
  69. type-name=GstOMXH264Enc
  70. core-name=/usr/local/lib64/libtizcore.so
  71. component-name=OMX.mesa.video.all
  72. component-role=video_encoder.avc
  73. rank=0
  74. in-port-index=0
  75. out-port-index=1
  76.  
  77.  
  78.  
  79. cat /etc/xdg/tizonia/tizonia.conf
  80. # -*-Mode: conf; -*-
  81. # tizonia-config v0.14.0 configuration file
  82.  
  83. [ilcore]
  84. # Tizonia OpenMAX IL Core section
  85.  
  86. # Component plugins discovery
  87. # -------------------------------------------------------------------------
  88. # A comma-separated list of paths to be scanned by the Tizonia IL Core when
  89. # searching for component plugins
  90. component-paths = /mnt/devel/tizonia-build/lib64/tizonia0-plugins12;
  91.  
  92. # IL Core extension plugins discovery
  93. # -------------------------------------------------------------------------
  94. # A comma-separated list of paths to be scanned by the Tizonia IL Core when
  95. # searching for IL Core extensions (not implemented yet)
  96. extension-paths =
  97.  
  98.  
  99. [resource-management]
  100. # Tizonia OpenMAX IL Resource Management (RM) section
  101.  
  102. # Resource Manager (RM) daemon interface enable/disable switch
  103. # -------------------------------------------------------------------------
  104. # Whether the IL RM functionality is enabled or not
  105. enabled = false
  106.  
  107. # RM database
  108. # -------------------------------------------------------------------------
  109. # This is the path to the Resource Manager database
  110. rmdb = /mnt/devel/tizonia-build/share/tizrmd/tizrm.db
  111.  
  112.  
  113. [plugins]
  114. # OpenMAX IL Component plugins section
  115.  
  116. # Each key-value pair represents a list of any data that a
  117. # specific component might need. The entries here must honor the following
  118. # format: OMX.component.name.key = <semi-colon-separated list of items>
  119.  
  120. # ALSA Audio Renderer
  121. # -------------------------------------------------------------------------
  122. #
  123. # OMX.Aratelia.audio_renderer.alsa.pcm.preannouncements_disabled.port0 = false
  124. OMX.Aratelia.audio_renderer.alsa.pcm.alsa_device = default
  125. OMX.Aratelia.audio_renderer.alsa.pcm.alsa_mixer = Master
  126.  
  127.  
  128. [tizonia]
  129. # Tizonia player section
  130.  
  131. # The default audio renderer used by the tizonia player
  132. # -------------------------------------------------------------------------
  133. # Valid values are:
  134. # - OMX.Aratelia.audio_renderer.pulseaudio.pcm
  135. # - OMX.Aratelia.audio_renderer.alsa.pcm
  136. default-audio-renderer = OMX.Aratelia.audio_renderer.pulseaudio.pcm
  137.  
  138. # MPRIS v2 interface enable/disable switch
  139. # -------------------------------------------------------------------------
  140. # Valid values are: true | false
  141. #
  142. mpris-enabled = false
  143.  
  144.  
  145. # Spotify configuration
  146. # -------------------------------------------------------------------------
  147. # To avoid passing this information on the command line, uncomment
  148. # and configure accordingly
  149. #
  150. # spotify.user = user
  151. # spotify.password = pass
  152.  
  153.  
  154. # Google Play Music configuration
  155. # -------------------------------------------------------------------------
  156. # To avoid passing this information on the command line, uncomment and
  157. # configure here.
  158. #
  159. # gmusic.user = user@gmail.com
  160. # gmusic.password = pass (account password or app-specific password for
  161. # 2-factor users)
  162. # gmusic.device_id = deviceid (16 hex digits, e.g. '1234567890abcdef')
  163.  
  164.  
  165. # SoundCloud configuration
  166. # -------------------------------------------------------------------------
  167. # To avoid passing this information on the command line, uncomment and
  168. # configure your SoundCloud OAuth token here.
  169. #
  170. # To obtain your OAuth token, Tizonia needs to be granted access to your
  171. # SoundCloud account. Visit http://tizonia.org/docs/soundcloud/ for the
  172. # details.
  173. #
  174. # soundcloud.oauth_token = X-XXXXXX-XXXXXXXX-XXXXXXXXXXXXXX
  175.  
  176.  
  177. # Dirble configuration
  178. # -------------------------------------------------------------------------
  179. # To avoid passing this information on the command line, uncomment and
  180. # configure your Dirble Api Key here.
  181. #
  182. # To obtain your Dirble API key, go to https://dirble.com/developer/
  183. #
  184. # dirble.api_key = xxxxxxxxxxxxxx
  185.  
  186.  
  187. # Plex configuration
  188. # -------------------------------------------------------------------------
  189. # To avoid passing this information on the command line, uncomment and
  190. # configure your Plex server and account auth token here.
  191. #
  192. # To find how to obtain a Plex user authentication token, see:
  193. # https://support.plex.tv/articles/204059436-finding-an-authentication-token-x-plex-token/
  194. #
  195. # plex.base_url = xxxxxxxxxxxxxx (e.g. http://plexserver:32400)
  196. # plex.auth_token = xxxxxxxxxxxxxx (e.g. SrPEojhap3H5Qj2DmjhX)
Advertisement
Advertisement
Advertisement
RAW Paste Data Copied
Advertisement