GNOME Bugzilla – Bug 553520
tools: add gst-play utility that wraps playbin for testing purposes
Last modified: 2013-08-17 15:42:18 UTC
playbin expects a full uri which is inconvinient to type. I am using a small shell-script called gst-play to play files from local directory, full paths and streams. I suspect that I am not the only one who has such a script, what about merging the niceties from all of them and adding this to gstreamer/tools?
Created attachment 119277 [details] convinience script for "gst-launch [opts] playbin uri=<file|uri>"
This bug has an assigned developer but has not received activity in almost a year. Is the assigned person still working on this ?
Created attachment 251623 [details] [review] tools: add simple command-line gst-play utility for testing purposes Differs from a plain gst-launch-1.0 playbin uri=... pipeline in that it can take multiple arguments and as such allows testing of things like gapless playback, switching between different formats and the like. Very minimal at this point.
No script please. I have WONTFIXed requests like this in the past, but have changed my mind on that. A little command line utility that's packaged and gets installed might be useful after all, even more so if it can take multiple arguments.
Review of attachment 251623 [details] [review]: Looks good, ship it :) IIRC Wim had some code to catch keypresses somewhere, which would allow to implement seeking with the arrow keys for example ::: tools/gst-play.c @@ +28,3 @@ +#define GST_CAT_DEFAULT play_debug + +/* FIXME: add gst-i18n-app.h ? */ Yes? @@ +119,3 @@ + } + break; + case GST_MESSAGE_ERROR:{ Maybe print warnings too but don't exit?
*** Bug 610086 has been marked as a duplicate of this bug. ***
Added some more bits, like buffering handling and some such. commit 8cd2d0a67293aa4a7fb6fe440fd209dd31f28a3a Author: Tim-Philipp Müller <tim@centricular.net> Date: Wed Aug 14 17:04:19 2013 +0100 tools: add simple command-line gst-play utility for testing purposes Differs from a plain gst-launch-1.0 playbin uri=... pipeline in that it can take multiple arguments and as such allows testing of things like gapless playback, switching between different formats and the like. Very minimal at this point, we'll probably want to add interactive controls and more options at some point. https://bugzilla.gnome.org/show_bug.cgi?id=553520
Shouldn't this have a trivial man-page?
> Shouldn't this have a trivial man-page? It should. I'll add one. (I knew there was something missing..)