how to set debug log format of gstreamer

classic Classic list List threaded Threaded
2 messages Options
Reply | Threaded
Open this post in threaded view
|

how to set debug log format of gstreamer

brad2012
Hi all,

I try to debug the issue :
gst-launch-0.10 --gst-debug-no-color --gst-debug-level=5 filesrc
location=/var/tmp/usb/sda1/audio_src/1503-9_48K.wav ! wavparse !
audioconvert ! audio/x-raw-int,
rate=48000,channels=2,width=16,endianness=1234 ! alsasink
device="hw:0,0"

I set debug level=5,
but there is a lot of log about typefind, for example below:
gsttypefindhelper.c:437:buf_helper_find_peek:<wavparse0>
'video/mpeg-elementary' called peek (7676, 4096)

how to remove typefind log?

And  how to remove the prefix data like"0:28:13.490000000  1045   0x423520"?

0:28:13.490000000  1045   0x423520 LOG  default
gsttypefindhelper.c:437:buf_helper_find_pe
ek:<wavparse0> 'video/mpeg-elementary' called peek (7676, 4096)
_______________________________________________
gstreamer-devel mailing list
[hidden email]
http://lists.freedesktop.org/mailman/listinfo/gstreamer-devel
Reply | Threaded
Open this post in threaded view
|

Re: how to set debug log format of gstreamer

Chuck Crisler-2
--gst-debug-level=5 should be changed to

--gst-debug-level=*:2,typefind:1,filesrc:4

You can string these together as you need to.

http://gstreamer.freedesktop.org/data/doc/gstreamer/head/manual/html/section-checklist-debug.html
http://gstreamer.freedesktop.org/data/doc/gstreamer/head/gstreamer/html/gstreamer-GstInfo.html


On Fri, Aug 3, 2012 at 4:40 AM, Soho Soho123 <[hidden email]> wrote:
Hi all,

I try to debug the issue :
gst-launch-0.10 --gst-debug-no-color --gst-debug-level=5 filesrc
location=/var/tmp/usb/sda1/audio_src/1503-9_48K.wav ! wavparse !
audioconvert ! audio/x-raw-int,
rate=48000,channels=2,width=16,endianness=1234 ! alsasink
device="hw:0,0"

I set debug level=5,
but there is a lot of log about typefind, for example below:
gsttypefindhelper.c:437:buf_helper_find_peek:<wavparse0>
'video/mpeg-elementary' called peek (7676, 4096)

how to remove typefind log?

And  how to remove the prefix data like"0:28:13.490000000  1045   0x423520"?

0:28:13.490000000  1045   0x423520 LOG  default
gsttypefindhelper.c:437:buf_helper_find_pe
ek:<wavparse0> 'video/mpeg-elementary' called peek (7676, 4096)
_______________________________________________
gstreamer-devel mailing list
[hidden email]
http://lists.freedesktop.org/mailman/listinfo/gstreamer-devel


_______________________________________________
gstreamer-devel mailing list
[hidden email]
http://lists.freedesktop.org/mailman/listinfo/gstreamer-devel