Linux Gstreamer调试不工作
我正在尝试调试一个使用gstreamer库0.10的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-
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