2007/2/23, Magnus Bergman <<a href="mailto:magnus.bergman@observer.net">magnus.bergman@observer.net</a>>:<div><span class="gmail_quote"></span><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">
On Fri, 23 Feb 2007 21:26:26 +0800<br>"Fabrice Colin" <<a href="mailto:fabrice.colin@gmail.com">fabrice.colin@gmail.com</a>> wrote:<br><br>> On 2/23/07, Magnus Bergman <<a href="mailto:magnus.bergman@observer.net">
magnus.bergman@observer.net</a>> wrote:<br>> > What gstreamer does is to set up a pipeline for handling media<br>> > streams in a very generic way. The pipeline consists of a source<br>> > element, any number of filter elements and a sink element (which
<br>> > could be an indexer of a document viewer). There are currently no<br>> > filter elements for handling text (except for subtitles and such).<br>> > But filters for converting, let's say word documents to plain text,
<br>> > could very well be implemented as gstreamer elements. The benefit<br>> > from this is that the documents are streamed instead of first<br>> > downloaded (if necessary) and then converted (all in-process),
<br>> > which is of course much faster. And gstreamer can automatically<br>> > figure out which elements are needed and set up an appropriate<br>> > pipeline for doing the job.<br>> ><br>> OK, I see. I agree that streaming documents is a better approach.
<br>><br>> Most, if not all, third-party libraries to access and manipulate the<br>> document types I am interested in don't allow for document streaming.<br>> Basically, if I adopted a stream-based approach, I wouldn't be able
<br>> to make use of the wealth of code that's been written, tested,<br>> debugged and optimized by others, and writing filters would be a much<br>> more difficult task.<br><br>That's true, but not a problem as I see it. Both approaches could be
<br>used in parallel. A gstreamer based pipeline could be used as a stand<br>alone filter. And an element for gstreamer wrapping stand alone filters<br>could also easily be written (there might even already be one packaged
<br>with gstreamer).<br><br>> Jos tried to get me to adopt the document streaming code he wrote for<br>> Strigi. I declined for the same reason. The time I would spend<br>> writing low-level document decoders is better spent elsewhere.
<br><br>My point was not so much to prefer streaming over stand alone filters.<br>But rather to prefer gstreamer over some other streaming framework.<br>Since we already have gstreamer which is relatively robust and well<br>
tested it would be a waste to add another streaming framework as well.</blockquote><div><br><br>Forgive me being naiive - but I've always just related gstreamer to audio and video streams, never with documents streaming on a more abstract level.
<br><br>Can you give some examples on how you've used gstreamer in non audio/video cases?<br><br>Cheers,<br>Mikkel<br></div><br></div>