GNOME Bugzilla – Bug 708328
make "gst-launch -v" option more useful
Last modified: 2013-09-18 21:57:44 UTC
I would like to get some info on what commandline-parmeters are needed to build a pipeline alike to the one currently playing. i.e. I'd start the playbin with -v and get exactly the commands needed to avoid playbin. but not just playbin, a lot plugins are silently inserting defaults. especially if some hw-acceleration is used, -v should mention how they can be configured by actually listing the plugin-name in such a commandline, preferably with the default options if possible. when I use the -v option I expect to get informed what exactly will be happening, and in case of error what fallback will be used. as it is now, I'd need to enable debug-messages for that, and then I get spammed down by a lot of less useful info. also, the man-page doesn't say much about making use of debug options, especially no useful examples are given for troubleshooting. but for this I'll make another bugreport.
You can those by setting the GST_DEBUG_DUMP_DOT_DIR env variabe, it will dump dot files that show the exact graph that has been generated.
Also the pipeline generated by playbin is dynamic and a static pipeline string can't reproduce it in general.