How to add parameter --gst-debug in program

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

How to add parameter --gst-debug in program

Aaron
Hi,all

   I have use  the command  "gst-launch filesrc location=/mnt/sdcard/test.264 ! h264parse ! omx_h264dec ! ffmpegcolorspace ! filesink location=/mnt/sdcard/ttt  --gst-debug=omx:5",this command is right. Now  i  write the code  and  the program  can not run . I want to debug  the program  and  want  to use  the parameter about  "--gst-debug=omx:5". But  i donot know  how to  put the "--gst-debug ..."  into program. So what  should i do?

   Thank you very much!

Aaron
Reply | Threaded
Open this post in threaded view
|

Re: How to add parameter --gst-debug in program

Matt Pekar
There is a GST_DEBUG environment variable that accepts that same format.  See here for other variables:

http://developer.gnome.org/gstreamer/unstable/gst-running.html

On Thu, Aug 2, 2012 at 9:46 AM, Aaron <[hidden email]> wrote:
Hi,all

   I have use  the command  "gst-launch filesrc
location=/mnt/sdcard/test.264 ! h264parse ! omx_h264dec ! ffmpegcolorspace !
filesink location=/mnt/sdcard/ttt  --gst-debug=omx:5",this command is right.
Now  i  write the code  and  the program  can not run . I want to debug  the
program  and  want  to use  the parameter about  "--gst-debug=omx:5". But  i
donot know  how to  put the "--gst-debug ..."  into program. So what  should
i do?

   Thank you very much!

Aaron



--
View this message in context: http://gstreamer-devel.966125.n4.nabble.com/How-to-add-parameter-gst-debug-in-program-tp4655792.html
Sent from the GStreamer-devel mailing list archive at Nabble.com.
_______________________________________________
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