GStreamer Daemon - Troubleshooting: Difference between revisions
mNo edit summary |
mNo edit summary |
||
(3 intermediate revisions by 2 users not shown) | |||
Line 1: | Line 1: | ||
{{GStreamer Daemon/Head | previous= | {{GStreamer Daemon/Head | previous=Python Video Player Example | next=Interpipesink}} | ||
This wiki show how debug a pipeline using the [[GStreamer Daemon - Enabling the Debug Subsystem|debug enable]]. | This wiki show how debug a pipeline using the [[GStreamer Daemon - Enabling the Debug Subsystem|debug enable]]. | ||
Line 5: | Line 5: | ||
== Debug Log == | == Debug Log == | ||
Gstd redirects its own and any | Gstd redirects its own and any GStreamer log to a folder named gstd, created at /usr/local/var/log. There you can find "gstd.log" and "gst.log": | ||
*/usr/local/var/log/gstd/gstd.log: Contains GStreamer Daemon debug messages. | */usr/local/var/log/gstd/gstd.log: Contains GStreamer Daemon debug messages. | ||
*/usr/local/var/log/gstd/gst.log: Contains all the Gstreamer log messages (including debug). | */usr/local/var/log/gstd/gst.log: Contains all the Gstreamer log messages (including debug). | ||
Line 15: | Line 15: | ||
==Debug Enable== | ==Debug Enable== | ||
To debug a pipeline one easy way is enable the debug using gstd, next examples | To debug a pipeline one easy way is to enable the debug using gstd, next examples show how to do it, and what is the expected output when some works good or fail. | ||
<syntaxhighlight lang="bash" line="line" style="background-color:lavender"> | <syntaxhighlight lang="bash" line="line" style="background-color:lavender"> | ||
Line 33: | Line 33: | ||
</syntaxhighlight> | </syntaxhighlight> | ||
You can find more info about | You can find more info about GStreamer debug levels here: https://gstreamer.freedesktop.org/documentation/tutorials/basic/debugging-tools.html | ||
===Output when everything works good=== | ===Output when everything works good=== | ||
Line 44: | Line 44: | ||
== RidgeRun Support == | == RidgeRun Support == | ||
If you have some problems using GStreamer Daemon please contact | If you have some problems using GStreamer Daemon, please reach us at the contact details provided in the [[GStreamer_Daemon - Contact_Us]] section at the end of this guide. | ||
[[ | |||
{{GStreamer Daemon/Foot | previous= | |||
{{GStreamer Daemon/Foot | previous=Python Video Player Example | next=Interpipesink}} |
Latest revision as of 18:39, 2 September 2020
This wiki show how debug a pipeline using the debug enable.
Debug Log
Gstd redirects its own and any GStreamer log to a folder named gstd, created at /usr/local/var/log. There you can find "gstd.log" and "gst.log":
- /usr/local/var/log/gstd/gstd.log: Contains GStreamer Daemon debug messages.
- /usr/local/var/log/gstd/gst.log: Contains all the Gstreamer log messages (including debug).
You can also change the gst.log and gstd.log file path when you launch gstd:
gstd --gstd-log-filename /home/nvidia/gstd.log --gst-log-filename /home/nvidia/gst.log
Debug Enable
To debug a pipeline one easy way is to enable the debug using gstd, next examples show how to do it, and what is the expected output when some works good or fail.
pipeline_create p1 videotestsrc ! autovideosink pipeline_play p1 debug_enable true debug_threshold 6 debug_color true pipeline_create p playbin uri=file://tmp/video.mp4 pipeline_play p
You can enable debug for specific elements:
debug_threshold *videotestsrc*:5 #set the debug level on all videotestsrc elements to 5 debug_threshold videotestsrc1:6 #set the debug level on videotestsrc1 to 6
You can find more info about GStreamer debug levels here: https://gstreamer.freedesktop.org/documentation/tutorials/basic/debugging-tools.html
Output when everything works good
Output when something goes wrong
RidgeRun Support
If you have some problems using GStreamer Daemon, please reach us at the contact details provided in the GStreamer_Daemon - Contact_Us section at the end of this guide.