[gstreamer-bugs] [Bug 424157] Provide gst_play_file

GStreamer (bugzilla.gnome.org) bugzilla-daemon at bugzilla.gnome.org
Thu Mar 29 13:41:42 PDT 2007


If you have any questions why you received this email, please see the text at
the end of this email. Replies to this email are NOT read, please see the text
at the end of this email. You can add comments to this bug at:
  http://bugzilla.gnome.org/show_bug.cgi?id=424157

  GStreamer | gstreamer (core) | Ver: 0.10.x




------- Comment #3 from Mathias Hasselmann (IRC: tbf)  2007-03-29 20:39 UTC -------
(In reply to comment #1)
> Created an attachment (id=85517)
 --> (http://bugzilla.gnome.org/attachment.cgi?id=85517&action=view) [edit]
> Sample implementation of gst_play_file
> 
> Hope I've got it right: I am clearly no GStreamer expert.
> 

Playing videos, controlling playback, network access, weird codecs is not the
scope of this tiny function. Purpose I have in mind for this function is just
playing simple audio samples you have somewhere on your disk. That primitive
stuff you have in /usr/share/sounds. Had that idea, when some folk on GTK+
asked about how to do this. If he shall use plain Alsa, or Jack, or ESD, or
libaudiofile, or even directly write to /dev/dsp? And I thought: Hell, there we
have this fine media framework, and you cannot even use it for this trivial
usecase of playing a fixed audio snippet, as its API is far too complicated for
this trivial use case. 

As sound as you want to do more complicated stuff involing pause, stop, remote
files, then the regular API of GStreamer is just fine for my taste. Well - I
know, I repeat myself - for the trivial, but common usecase of just playing a
audio sample, current GStreamer API is pure overkill. Adding that trival
function could greatly improve utility of GStreamer.

As you raised the main-loop issue. Also thought about this already. Have not
found a good solution yet.


-- 
See http://bugzilla.gnome.org/page.cgi?id=email.html for more info about why you received
this email, why you can't respond via email, how to stop receiving
emails (or reduce the number you receive), and how to contact someone
if you are having problems with the system.

You can add comments to this bug at http://bugzilla.gnome.org/show_bug.cgi?id=424157.




More information about the Gstreamer-bugs mailing list