簡體   English   中英

Gstreamer調試不起作用

[英]Gstreamer debug not working

我正在嘗試調試使用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-launch不起作用:

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

要么

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

我在此上浪費了很多時間,非常感謝您的幫助。

對所有元素啟用調試:

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

暫無
暫無

聲明:本站的技術帖子網頁,遵循CC BY-SA 4.0協議,如果您需要轉載,請注明本站網址或者原文地址。任何問題請咨詢:yoyou2525@163.com.

 
粵ICP備18138465號  © 2020-2024 STACKOOM.COM