Closed harendra247 closed 4 years ago
Prepend your command with GST_DEBUG=*:5
to get more detailed output from gstreamer.
As the log file size is huge (38MB) I am only pasting the errors messages $ *GST_DEBUG=:5 gst-launch-1.0 -v pylonsrc height=720 width=1280 fps=25 ! videoflip method=vertical-flip ! videoconvert ! x264enc ! rtph264pay name=pay0 pt=96 &> ~/Downloads/log.txt**
cat ~/Downloads/log.txt | grep Error
0:00:00.161329355 543 0x225aa00 DEBUG GST_PLUGIN_LOADING gstplugin.c:1549:gst_plugin_ext_dep_scan_dir_and_match_names:<plugin54> g_dir_open(/dev/v4l2) failed: Error opening directory '/dev/v4l2': No such file or directory
0:00:00.161705188 543 0x225aa00 DEBUG GST_PLUGIN_LOADING gstplugin.c:1549:gst_plugin_ext_dep_scan_dir_and_match_names:<plugin132> g_dir_open(/home/issac_admin/.frei0r-1/lib) failed: Error opening directory '/home/issac_admin/.frei0r-1/lib': No such file or directory
0:00:00.161723213 543 0x225aa00 DEBUG GST_PLUGIN_LOADING gstplugin.c:1549:gst_plugin_ext_dep_scan_dir_and_match_names:<plugin132> g_dir_open(/usr/lib/x86_64-linux-gnu/frei0r-1) failed: Error opening directory '/usr/lib/x86_64-linux-gnu/frei0r-1': No such file or directory
0:00:00.161736426 543 0x225aa00 DEBUG GST_PLUGIN_LOADING gstplugin.c:1549:gst_plugin_ext_dep_scan_dir_and_match_names:<plugin132> g_dir_open(/usr/lib/frei0r-1) failed: Error opening directory '/usr/lib/frei0r-1': No such file or directory
0:00:00.161750390 543 0x225aa00 DEBUG GST_PLUGIN_LOADING gstplugin.c:1549:gst_plugin_ext_dep_scan_dir_and_match_names:<plugin132> g_dir_open(/usr/local/lib/frei0r-1) failed: Error opening directory '/usr/local/lib/frei0r-1': No such file or directory
0:00:00.161764200 543 0x225aa00 DEBUG GST_PLUGIN_LOADING gstplugin.c:1549:gst_plugin_ext_dep_scan_dir_and_match_names:<plugin132> g_dir_open(/usr/lib32/frei0r-1) failed: Error opening directory '/usr/lib32/frei0r-1': No such file or directory
0:00:00.161776922 543 0x225aa00 DEBUG GST_PLUGIN_LOADING gstplugin.c:1549:gst_plugin_ext_dep_scan_dir_and_match_names:<plugin132> g_dir_open(/usr/local/lib32/frei0r-1) failed: Error opening directory '/usr/local/lib32/frei0r-1': No such file or directory
0:00:00.161789749 543 0x225aa00 DEBUG GST_PLUGIN_LOADING gstplugin.c:1549:gst_plugin_ext_dep_scan_dir_and_match_names:<plugin132> g_dir_open(/usr/lib64/frei0r-1) failed: Error opening directory '/usr/lib64/frei0r-1': No such file or directory
0:00:00.161801605 543 0x225aa00 DEBUG GST_PLUGIN_LOADING gstplugin.c:1549:gst_plugin_ext_dep_scan_dir_and_match_names:<plugin132> g_dir_open(/usr/local/lib64/frei0r-1) failed: Error opening directory '/usr/local/lib64/frei0r-1': No such file or directory
0:00:26.742165803 543 0x24794f0 WARN structure gststructure.c:1935:priv_gst_structure_append_to_gstring: No value transform to serialize field 'gerror' of type 'GError'
0:00:26.742160835 543 0x24794f0 DEBUG GST_BUS gstbus.c:311:gst_bus_post:<bus0> [msg 0x2484690] posting on bus error message: 0x2484690, time 99:99:99.999999999, seq-num 49, element 'pylonsrc0', GstMessageError, gerror=(GError)NULL, debug=(string)"gstbasesrc.c\(2948\):\ gst_base_src_loop\ \(\):\ /GstPipeline:pipeline0/GstPylonSrc:pylonsrc0:\012streaming\ task\ paused\,\ reason\ not-linked\ \(-1\)";
0:00:26.742214043 543 0x24794f0 WARN structure gststructure.c:1935:priv_gst_structure_append_to_gstring: No value transform to serialize field 'gerror' of type 'GError'
0:00:26.742211105 543 0x24794f0 DEBUG GST_BUS gstbus.c:311:gst_bus_post:<bus1> [msg 0x2484690] posting on bus error message: 0x2484690, time 99:99:99.999999999, seq-num 49, element 'pylonsrc0', GstMessageError, gerror=(GError)NULL, debug=(string)"gstbasesrc.c\(2948\):\ gst_base_src_loop\ \(\):\ /GstPipeline:pipeline0/GstPylonSrc:pylonsrc0:\012streaming\ task\ paused\,\ reason\ not-linked\ \(-1\)";
0:00:26.742347759 543 0x225aa00 WARN structure gststructure.c:1935:priv_gst_structure_append_to_gstring: No value transform to serialize field 'gerror' of type 'GError'
0:00:26.742338192 543 0x225aa00 DEBUG GST_BUS gstbus.c:791:gst_bus_source_dispatch:<bus1> source 0x2276110 calling dispatch with error message: 0x2484690, time 99:99:99.999999999, seq-num 49, element 'pylonsrc0', GstMessageError, gerror=(GError)NULL, debug=(string)"gstbasesrc.c\(2948\):\ gst_base_src_loop\ \(\):\ /GstPipeline:pipeline0/GstPylonSrc:pylonsrc0:\012streaming\ task\ paused\,\ reason\ not-linked\ \(-1\)";
Unfortunately the error messages usually come after something goes wrong, so that doesn't really help much. You need to post the entire log unfortunately.
Hi @harendra247, did you get it to work? I'll be closing this due to inactivity otherwise.
Hi, Below is the command I am running, it is failing. harendra@ubuntu:~/$ gst-launch-1.0 -v pylonsrc height=720 width=1280 fps=25 ! videoflip method=vertical-flip ! videoconvert ! x264enc ! rtph264pay name=pay0 pt=96