Advertisement
vliaskov

omx tizonia gst-omx test 2

Jun 25th, 2018
4,324
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 10.39 KB | None | 0 0
  1. 03:00.0 VGA compatible controller: Advanced Micro Devices, Inc. [AMD/ATI] Baffin [Radeon RX 550 640SP / RX 560] (rev cf)
  2.  
  3. GST_DEBUG=3 MESA_ENABLE_OMX_EGLIMAGE=1 GST_GL_API=gles2 GST_GL_PLATFORM=egl gst-launch-1.0 filesrc location=/opt/Videos/simpsons.mp4 ! qtdemux ! h264parse ! omxh264dec ! autovideosink
  4. vliaskovitis@linux-nq5u:/mnt/mybugs/mesa-omx> ./run-gst.sh ~/Videos/simpsons.mp4 autovideosink
  5. Setting pipeline to PAUSED ...
  6. 0:00:00.185019812 28124 0x55c6cdc87c30 WARN basesrc gstbasesrc.c:3583:gst_base_src_start_complete:<filesrc0> pad not activated yet
  7. Pipeline is PREROLLING ...
  8. Got context from element 'autovideosink0-actual-sink-vaapi': gst.vaapi.Display=context, gst.vaapi.Display=(GstVaapiDisplay)"\(GstVaapiDisplayGLX\)\ vaapidisplayglx1";
  9. 0:00:00.185354641 28124 0x55c6cdb5ff20 WARN qtdemux qtdemux_types.c:233:qtdemux_type_get: unknown QuickTime node type iods
  10. 0:00:00.185441237 28124 0x55c6cdb5ff20 WARN qtdemux qtdemux.c:3031:qtdemux_parse_trex:<qtdemux0> failed to find fragment defaults for stream 1
  11. 0:00:00.185575968 28124 0x55c6cdb5ff20 WARN qtdemux qtdemux.c:3031:qtdemux_parse_trex:<qtdemux0> failed to find fragment defaults for stream 2
  12. 0:00:00.185660741 28124 0x55c6cdb5ff20 WARN basesrc gstbasesrc.c:2445:gst_base_src_update_length:<filesrc0> processing at or past EOS
  13. radeonsi: driver missing
  14. radeonsi: driver missing
  15. 0:00:00.191969429 28124 0x7f17b0013120 ERROR omx gstomx.c:565:EventHandler:<omxh264dec-omxh264dec0> all got error: Insufficient resources (0x80001000)
  16. 0:00:00.192311796 28124 0x55c6cdb5ff20 ERROR omx gstomx.c:294:gst_omx_component_handle_messages:<omxh264dec-omxh264dec0> all got error: Insufficient resources (0x80001000)
  17. 0:00:00.192392579 28124 0x55c6cdb5ff20 ERROR omx gstomx.c:982:gst_omx_component_get_state:<omxh264dec-omxh264dec0> Component all in error state: Insufficient resources (0x80001000)
  18. 0:00:00.192413471 28124 0x55c6cdb5ff20 WARN omxvideodec gstomxvideodec.c:3011:gst_omx_video_dec_handle_frame:<omxh264dec-omxh264dec0> error: Failed to enable OMX decoder: Insufficient resources (0x80001000)
  19. 0:00:00.192497304 28124 0x55c6cdb5ff20 WARN qtdemux qtdemux.c:6073:gst_qtdemux_loop:<qtdemux0> error: Internal data stream error.
  20. 0:00:00.192513742 28124 0x55c6cdb5ff20 WARN qtdemux qtdemux.c:6073:gst_qtdemux_loop:<qtdemux0> error: streaming stopped, reason error (-5)
  21. ERROR: from element /GstPipeline:pipeline0/GstOMXH264Dec-omxh264dec:omxh264dec-omxh264dec0: GStreamer encountered a general supporting library error.
  22. Additional debug info:
  23. gstomxvideodec.c(3011): gst_omx_video_dec_handle_frame (): /GstPipeline:pipeline0/GstOMXH264Dec-omxh264dec:omxh264dec-omxh264dec0:
  24. Failed to enable OMX decoder: Insufficient resources (0x80001000)
  25. 0:00:00.192579955 28124 0x55c6cdb5ff20 WARN videodecoder gstvideodecoder.c:1161:gst_video_decoder_sink_event_default:<omxh264dec-omxh264dec0> error: No valid frames decoded before end of stream
  26. ERROR: pipeline doesn't want to preroll.
  27. Setting pipeline to NULL ...
  28. 0:00:00.192612390 28124 0x55c6cdb5ff20 WARN videodecoder gstvideodecoder.c:1161:gst_video_decoder_sink_event_default:<omxh264dec-omxh264dec0> error: no valid frames found
  29. 0:00:00.192908873 28124 0x55c6cdc87c30 ERROR omx gstomx.c:982:gst_omx_component_get_state:<omxh264dec-omxh264dec0> Component all in error state: Insufficient resources (0x80001000)
  30. 0:00:00.192926612 28124 0x55c6cdc87c30 ERROR omx gstomx.c:982:gst_omx_component_get_state:<omxh264dec-omxh264dec0> Component all in error state: Insufficient resources (0x80001000)
  31. 0:00:00.192949309 28124 0x55c6cdc87c30 ERROR omx gstomx.c:982:gst_omx_component_get_state:<omxh264dec-omxh264dec0> Component all in error state: Insufficient resources (0x80001000)
  32. 0:00:00.192961392 28124 0x55c6cdc87c30 ERROR omx gstomx.c:955:gst_omx_component_set_state:<omxh264dec-omxh264dec0> Error setting all state from Loaded to Loaded: Insufficient resources (0x80001000)
  33. 0:00:00.192971373 28124 0x55c6cdc87c30 ERROR omx gstomx.c:2054:gst_omx_port_deallocate_buffers_unlocked:<omxh264dec-omxh264dec0> Component all in error state: Insufficient resources (0x80001000)
  34. 0:00:00.193159889 28124 0x55c6cdc87c30 ERROR omx gstomx.c:2106:gst_omx_port_deallocate_buffers_unlocked:<omxh264dec-omxh264dec0> Deallocated buffers of all port 0: Insufficient resources (0x80001000)
  35. 0:00:00.193203660 28124 0x55c6cdc87c30 ERROR omx gstomx.c:982:gst_omx_component_get_state:<omxh264dec-omxh264dec0> Component all in error state: Insufficient resources (0x80001000)
  36. 0:00:00.193215274 28124 0x55c6cdc87c30 ERROR omx gstomx.c:955:gst_omx_component_set_state:<omxh264dec-omxh264dec0> Error setting all state from Loaded to Loaded: Insufficient resources (0x80001000)
  37. Freeing pipeline ...
  38.  
  39.  
  40. root@linux-nq5u:/root/> cat /usr/local/etc/xdg/gstomx.conf
  41.  
  42. [omxmp3dec]
  43. type-name=GstOMXMP3Dec
  44. core-name=/usr/local/lib64/libtizcore.so
  45. component-name=OMX.Aratelia.audio_decoder.mp3
  46. rank=0
  47. in-port-index=0
  48. out-port-index=1
  49.  
  50. [omxmp3enc]
  51. type-name=GstOMXMP3Enc
  52. core-name=/usr/local/lib64/libtizcore.so
  53. component-name=OMX.Aratelia.audio_encoder.mp3
  54. rank=0
  55. in-port-index=0
  56. out-port-index=1
  57.  
  58. [omxaacdec]
  59. type-name=GstOMXAACDec
  60. core-name=/usr/local/lib64/libtizcore.so
  61. component-name=OMX.Aratelia.audio_decoder.aac
  62. rank=0
  63. in-port-index=0
  64. out-port-index=1
  65.  
  66. [omxvp8dec]
  67. type-name=GstOMXVP8Dec
  68. core-name=/usr/local/lib64/libtizcore.so
  69. component-name=OMX.Aratelia.video_decoder.vp8
  70. rank=0
  71. in-port-index=0
  72. out-port-index=1
  73.  
  74. [omxh264dec]
  75. type-name=GstOMXH264Dec
  76. core-name=/usr/local/lib64/libtizcore.so
  77. library-name=/usr/local/lib64/libomx_mesa.so
  78. component-name=OMX.mesa.video.all
  79. component-role=video_decoder.avc
  80. rank=0
  81. in-port-index=0
  82. out-port-index=1
  83.  
  84. [omxh264enc]
  85. type-name=GstOMXH264Enc
  86. core-name=/usr/local/lib64/libtizcore.so
  87. library-name=/usr/local/lib64/libomx_mesa.so
  88. component-name=OMX.mesa.video.all
  89. component-role=video_encoder.avc
  90. rank=0
  91. in-port-index=0
  92. out-port-index=1
  93.  
  94.  
  95.  
  96. root@linux-nq5u:/root/> cat /usr/local/etc/xdg/tizonia/tizonia.conf
  97.  
  98. # -*-Mode: conf; -*-
  99. # tizonia-config v0.14.0 configuration file
  100.  
  101. [ilcore]
  102. # Tizonia OpenMAX IL Core section
  103.  
  104. # Component plugins discovery
  105. # -------------------------------------------------------------------------
  106. # A comma-separated list of paths to be scanned by the Tizonia IL Core when
  107. # searching for component plugins
  108. component-paths = /usr/local/lib64/tizonia0-plugins12;
  109.  
  110. # IL Core extension plugins discovery
  111. # -------------------------------------------------------------------------
  112. # A comma-separated list of paths to be scanned by the Tizonia IL Core when
  113. # searching for IL Core extensions (not implemented yet)
  114. extension-paths =
  115.  
  116.  
  117. [resource-management]
  118. # Tizonia OpenMAX IL Resource Management (RM) section
  119.  
  120. # Resource Manager (RM) daemon interface enable/disable switch
  121. # -------------------------------------------------------------------------
  122. # Whether the IL RM functionality is enabled or not
  123. enabled = false
  124.  
  125. # RM database
  126. # -------------------------------------------------------------------------
  127. # This is the path to the Resource Manager database
  128. rmdb = /usr/local/share/tizrmd/tizrm.db
  129.  
  130.  
  131. [plugins]
  132. # OpenMAX IL Component plugins section
  133.  
  134. # Each key-value pair represents a list of any data that a
  135. # specific component might need. The entries here must honor the following
  136. # format: OMX.component.name.key = <semi-colon-separated list of items>
  137.  
  138. # ALSA Audio Renderer
  139. # -------------------------------------------------------------------------
  140. #
  141. # OMX.Aratelia.audio_renderer.alsa.pcm.preannouncements_disabled.port0 = false
  142. OMX.Aratelia.audio_renderer.alsa.pcm.alsa_device = default
  143. OMX.Aratelia.audio_renderer.alsa.pcm.alsa_mixer = Master
  144.  
  145.  
  146. [tizonia]
  147. # Tizonia player section
  148.  
  149. # The default audio renderer used by the tizonia player
  150. # -------------------------------------------------------------------------
  151. # Valid values are:
  152. # - OMX.Aratelia.audio_renderer.pulseaudio.pcm
  153. # - OMX.Aratelia.audio_renderer.alsa.pcm
  154. default-audio-renderer = OMX.Aratelia.audio_renderer.pulseaudio.pcm
  155.  
  156. # MPRIS v2 interface enable/disable switch
  157. # -------------------------------------------------------------------------
  158. # Valid values are: true | false
  159. #
  160. mpris-enabled = false
  161.  
  162.  
  163. # Spotify configuration
  164. # -------------------------------------------------------------------------
  165. # To avoid passing this information on the command line, uncomment
  166. # and configure accordingly
  167. #
  168. # spotify.user = user
  169. # spotify.password = pass
  170.  
  171.  
  172. # Google Play Music configuration
  173. # -------------------------------------------------------------------------
  174. # To avoid passing this information on the command line, uncomment and
  175. # configure here.
  176. #
  177. # gmusic.user = user@gmail.com
  178. # gmusic.password = pass (account password or app-specific password for
  179. # 2-factor users)
  180. # gmusic.device_id = deviceid (16 hex digits, e.g. '1234567890abcdef')
  181.  
  182.  
  183. # SoundCloud configuration
  184. # -------------------------------------------------------------------------
  185. # To avoid passing this information on the command line, uncomment and
  186. # configure your SoundCloud OAuth token here.
  187. #
  188. # To obtain your OAuth token, Tizonia needs to be granted access to your
  189. # SoundCloud account. Visit http://tizonia.org/docs/soundcloud/ for the
  190. # details.
  191. #
  192. # soundcloud.oauth_token = X-XXXXXX-XXXXXXXX-XXXXXXXXXXXXXX
  193.  
  194.  
  195. # Dirble configuration
  196. # -------------------------------------------------------------------------
  197. # To avoid passing this information on the command line, uncomment and
  198. # configure your Dirble Api Key here.
  199. #
  200. # To obtain your Dirble API key, go to https://dirble.com/developer/
  201. #
  202. # dirble.api_key = xxxxxxxxxxxxxx
  203.  
  204.  
  205. # Plex configuration
  206. # -------------------------------------------------------------------------
  207. # To avoid passing this information on the command line, uncomment and
  208. # configure your Plex server and account auth token here.
  209. #
  210. # To find how to obtain a Plex user authentication token, see:
  211. # https://support.plex.tv/articles/204059436-finding-an-authentication-token-x-plex-token/
  212. #
  213. # plex.base_url = xxxxxxxxxxxxxx (e.g. http://plexserver:32400)
  214. # plex.auth_token = xxxxxxxxxxxxxx (e.g. SrPEojhap3H5Qj2DmjhX)
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement