Difference between revisions of "GStreamer troubleshooting grid"

[quality revision] [quality revision]
m
 
Applicable for STM32MP13x lines, STM32MP15x lines

Some typical issues related to the GStreamer framework are listed below. Solutions or debugging methods are proposed for these issues.

If your issue is not listed, try also looking in the articles in the Gstreamer or troubleshooting grids categories.

Warning white.png Warning
If Weston is configured with a "weston" user instead of a "root" user, please use the following commands:
 su -l "weston" -c "your_weston_command"
 su -l "weston" -c "gst-play-1.0 /usr/local/myvideo.webm"


Symptom Resolution
There may be a timestamping problem, or this computer is too slow.

This message is typically displayed when the GStreamer A/V sync drops some frames. This may be due to a decoder that is too slow, badly timestamped buffers, or a badly formed container (.ts, .3gp, .mp4, .avi, ...).
To proceed with investigations, refer to the article How to profile video framerate.

Could not create Wayland display

HDMI TV not connected, please connect it.

 gst-play-1.0 /usr/local/myvideo.webm
Press 'k' to see a list of keyboard shortcuts.
Now playing /usr/local/myvideo.webm
WARNING Could not initialise Wayland output
WARNING debug information: ../gst-plugins-bad-1.20.1/ext/wayland/gstwaylandsink.c(368):
gst_wayland_sink_find_display (): /GstWaylandSink:waylandsink0:
Failed to create GstWlDisplay: 'Failed to connect to the wayland display '(default)

Weston is probably started with the "weston" user. The correct command is:

 su -l "weston" -c "gst-play-1.0 /usr/local/myvideo.webm"

Could not load BMP file

Make sure the loader of the bmp file format, libpixbufloader-bmp.so, is present in /usr/lib/gdk-pixbuf-2.0/2.10.0/. If not, remove /usr/lib/gdk-pixbuf-2.0/2.10.0/loaders.cache, copy libpixbufloader-bmp.so file from distrib build to /usr/lib/gdk-pixbuf-2.0/2.10.0/ then run "/usr/lib/gdk-pixbuf-2.0/gdk-pixbuf-query-loaders > /usr/lib/gdk-pixbuf-2.0/2.10.0/loaders.cache" to reload loaders.



<noinclude>{{ApplicableFor
|MPUs list=STM32MP13x, STM32MP15x
|MPUs checklist=STM32MP13x,STM32MP15x
}}</noinclude>
Some typical issues related to the '''GStreamer''' framework are listed below. Solutions or debugging methods are proposed for these issues.

If your issue is not listed, try also looking in the articles in the [[:Category:GStreamer|Gstreamer]] or [[:Category:Troubleshooting grids|troubleshooting grids]] categories.

{{:Warning | If Weston is configured with a "weston" user instead of a "root" user, please use the following commands:
 {{Board$}} su -l "weston" -c "your_weston_command"
 {{Board$}} su -l "weston" -c "gst-play-1.0 /usr/local/myvideo.webm"
}}

{{:Troubleshooting grid table template}}<onlyinclude>
<includeonly>

! colspan="2" | GStreamer
|-</includeonly>

|<pre> There may be a timestamping problem, or this computer is too slow.</pre>

||
This message is typically displayed when the GStreamer A/V sync drops some frames. This may be due to a decoder that is too slow, badly timestamped buffers, or a badly formed container (.ts, .3gp, .mp4, .avi, ...).<br>

To proceed with investigations, refer to the article [[How to profile video framerate]].
|- 
|<pre> Could not create Wayland display</pre>

||
HDMI TV not connected, please connect it.|- 
|
 {{Board$}} gst-play-1.0 /usr/local/myvideo.webm
 Press 'k' to see a list of keyboard shortcuts.
 Now playing /usr/local/myvideo.webm
 WARNING Could not initialise Wayland output
 WARNING debug information: ../gst-plugins-bad-1.20.1/ext/wayland/gstwaylandsink.c(368):
 gst_wayland_sink_find_display (): /GstWaylandSink:waylandsink0:
 Failed to create GstWlDisplay: 'Failed to connect to the wayland display '(default)''

||
Weston is probably started with the "weston" user. The correct command is:
 {{Board$}} su -l "weston" -c "gst-play-1.0 /usr/local/myvideo.webm"

|- 
|
 Could not load BMP file
||
Make sure the loader of the bmp file format, libpixbufloader-bmp.so, is present in /usr/lib/gdk-pixbuf-2.0/2.10.0/. If not, remove /usr/lib/gdk-pixbuf-2.0/2.10.0/loaders.cache, copy libpixbufloader-bmp.so file from distrib build to /usr/lib/gdk-pixbuf-2.0/2.10.0/ then run "/usr/lib/gdk-pixbuf-2.0/gdk-pixbuf-query-loaders > /usr/lib/gdk-pixbuf-2.0/2.10.0/loaders.cache" to reload loaders.</onlyinclude>

|}
<noinclude>

{{ArticleBasedOnModel | Troubleshooting grid article model}}
{{PublicationRequestId | 10288 | 2019-01-15 | PhilipS}}
[[Category:GStreamer]]
[[Category:Troubleshooting grids]]</noinclude>
(4 intermediate revisions by 3 users not shown)
Line 1: Line 1:
  +
<noinclude>{{ApplicableFor
  +
|MPUs list=STM32MP13x, STM32MP15x
  +
|MPUs checklist=STM32MP13x,STM32MP15x
  +
}}</noinclude>
 
Some typical issues related to the '''GStreamer''' framework are listed below. Solutions or debugging methods are proposed for these issues.
 
Some typical issues related to the '''GStreamer''' framework are listed below. Solutions or debugging methods are proposed for these issues.
   
 
If your issue is not listed, try also looking in the articles in the [[:Category:GStreamer|Gstreamer]] or [[:Category:Troubleshooting grids|troubleshooting grids]] categories.
 
If your issue is not listed, try also looking in the articles in the [[:Category:GStreamer|Gstreamer]] or [[:Category:Troubleshooting grids|troubleshooting grids]] categories.
  +
  +
{{Warning | If Weston is configured with a "weston" user instead of a "root" user, please use the following commands:
  +
{{Board$}} su -l "weston" -c "your_weston_command"
  +
{{Board$}} su -l "weston" -c "gst-play-1.0 /usr/local/myvideo.webm"
  +
}}
   
 
{{:Troubleshooting grid table template}}
 
{{:Troubleshooting grid table template}}
Line 9: Line 18:
 
|-
 
|-
 
</includeonly>
 
</includeonly>
| <pre>There may be a timestamping problem, or this computer is too slow.</pre>
+
|
  +
There may be a timestamping problem, or this computer is too slow.
 
||
 
||
 
This message is typically displayed when the GStreamer A/V sync drops some frames. This may be due to a decoder that is too slow, badly timestamped buffers, or a badly formed container (.ts, .3gp, .mp4, .avi, ...).<br>
 
This message is typically displayed when the GStreamer A/V sync drops some frames. This may be due to a decoder that is too slow, badly timestamped buffers, or a badly formed container (.ts, .3gp, .mp4, .avi, ...).<br>
 
To proceed with investigations, refer to the article [[How to profile video framerate]].
 
To proceed with investigations, refer to the article [[How to profile video framerate]].
 
|-  
 
|-  
| <pre>Could not create Wayland display</pre>
+
|
  +
Could not create Wayland display
 
||
 
||
 
HDMI TV not connected, please connect it.
 
HDMI TV not connected, please connect it.
  +
|-
  +
|
  +
{{Board$}} gst-play-1.0 /usr/local/myvideo.webm
  +
Press 'k' to see a list of keyboard shortcuts.
  +
Now playing /usr/local/myvideo.webm
  +
WARNING Could not initialise Wayland output
  +
WARNING debug information: ../gst-plugins-bad-1.20.1/ext/wayland/gstwaylandsink.c(368):
  +
gst_wayland_sink_find_display (): /GstWaylandSink:waylandsink0:
  +
Failed to create GstWlDisplay: 'Failed to connect to the wayland display '(default)''
  +
  +
||
  +
Weston is probably started with the "weston" user. The correct command is:
  +
{{Board$}} su -l "weston" -c "gst-play-1.0 /usr/local/myvideo.webm"
  +
  +
|-
  +
|
  +
Could not load BMP file
  +
||
  +
Make sure the loader of the bmp file format, libpixbufloader-bmp.so, is present in /usr/lib/gdk-pixbuf-2.0/2.10.0/. If not, remove /usr/lib/gdk-pixbuf-2.0/2.10.0/loaders.cache, copy libpixbufloader-bmp.so file from distrib build to /usr/lib/gdk-pixbuf-2.0/2.10.0/ then run "/usr/lib/gdk-pixbuf-2.0/gdk-pixbuf-query-loaders > /usr/lib/gdk-pixbuf-2.0/2.10.0/loaders.cache" to reload loaders.
 
</onlyinclude>
 
</onlyinclude>
 
|}
 
|}