Warning: file_get_contents(/data/phpspider/zhask/data//catemap/2/linux/28.json): failed to open stream: No such file or directory in /data/phpspider/zhask/libs/function.php on line 167

Warning: Invalid argument supplied for foreach() in /data/phpspider/zhask/libs/tag.function.php on line 1116

Notice: Undefined index: in /data/phpspider/zhask/libs/function.php on line 180

Warning: array_chunk() expects parameter 1 to be array, null given in /data/phpspider/zhask/libs/function.php on line 181
Linux Gstreamer调试不工作_Linux_Debugging_Command Line_Environment Variables_Gstreamer - Fatal编程技术网

Linux Gstreamer调试不工作

Linux Gstreamer调试不工作,linux,debugging,command-line,environment-variables,gstreamer,Linux,Debugging,Command Line,Environment Variables,Gstreamer,我正在尝试调试一个使用gstreamer库0.10的linux应用程序,但无法使gstreamer日志正常工作。以下是我迄今为止所做的尝试: export GST_DEBUG="*:6" GST_DEBUG=*:6 ./app 我还尝试在管道创建中添加标志选项: gst_parse_launch("appsrc name=myappsrc ! alsasink --gst-debug=*:6", NULL); gst启动也不起作用,我尝试了: GST_DEBUG=6 gst-launch-

我正在尝试调试一个使用gstreamer库0.10的linux应用程序,但无法使gstreamer日志正常工作。以下是我迄今为止所做的尝试:

export GST_DEBUG="*:6"

GST_DEBUG=*:6 ./app
我还尝试在管道创建中添加标志选项:

gst_parse_launch("appsrc name=myappsrc ! alsasink --gst-debug=*:6", NULL);
gst启动
也不起作用,我尝试了:

GST_DEBUG=6 gst-launch-0.10 filesrc location=out.opus ! oggdemux ! opusdec ! audioconvert ! alsasink


我在这方面浪费了很多时间,非常感谢您的帮助。

为所有元素启用调试:

gst-launch --gst-debug-level=5 videotestsrc ! autovideosink
仅对一个元素启用调试:

export GST_DEBUG=videoscale:5
gst-launch videotestsrc ! videoscale ! ffmpegcolorspace ! video/x-raw-gray, width=640,height=512 ! ffmpegcolorspace ! autovideosink
export GST_DEBUG=videoscale:5
gst-launch videotestsrc ! videoscale ! ffmpegcolorspace ! video/x-raw-gray, width=640,height=512 ! ffmpegcolorspace ! autovideosink