[gst-devel] sending a SIGUSR1 (quit) signal to a gstreamer pipeline
thaytan at noraisin.net
Tue Nov 13 23:34:21 CET 2007
Stefan Kost wrote:
> Quoting David Schleef <ds at schleef.org>:
>> On Mon, Nov 12, 2007 at 03:08:28PM -0500, Tanim Islam wrote:
>>> How would I go about sending a SIGUSR1 signal to
>>> a gstreamer pipeline in a script (say, bash)? I
>>> want to extract the tags from a music file
>>> without having to manually type in ^C.
>> gst-launch is not intended to be a general purpose scripting utility.
>> You'll get much better results by either writing your script in python
>> and using pygst, or by writing a custom command-line utility for
>> extracting tags. (Such a custom utility would be a useful inclusion
>> in GStreamer.)
> Good point! I just updated the fast-tagreading draft. once the work on
> that got started it would be good to do a gst-typefind alike tool,
> e.g. gst-tagextract
Maybe like the read-metadata example in core, but with a more obvious name?
More information about the gstreamer-devel