<html>
<head>
<meta content="text/html; charset=ISO-8859-1"
http-equiv="Content-Type">
</head>
<body text="#000000" bgcolor="#FFFFFF">
Thanks Tim, I have now got a command which is syntactically correct.<br>
<br>
<meta http-equiv="CONTENT-TYPE" content="text/html;
charset=ISO-8859-1">
<p class="western" style="margin-bottom: 0cm">May I make a comment
about the GStreamer Documentation?</p>
<p class="western" style="margin-bottom: 0cm"><br>
</p>
<p class="western" style="margin-bottom: 0cm">On the GStreamer web
site it says “Application Development Manual (<b>Read this first</b>)
” - so that would seem to be the place to start if you want to
learn about Gstreamer.</p>
<p class="western" style="margin-bottom: 0cm">Very early in the
document (section 2.1), it says that “The programmer can use an
extensive set of powerful tools to create media pipelines without
writing a single line of code. ” That is good to know and is
brought about by the library of 'Plug-ins'.</p>
<p class="western" style="margin-bottom: 0cm">But – then as you
continue to read the manual, you are thrown heavily into
programming.
Straight away.</p>
<p class="western" style="margin-bottom: 0cm"><br>
</p>
<p class="western" style="margin-bottom: 0cm">Might I suggest that
very early on you have mention of gst-launch – since, using that
you can do things without having to write a single line of coding.
However, the chapter on gst-launch itself is not an easy-to-read
chapter: It starts with a 'simple commandline' and then shows a
more
complex one – but without any explanation. If we take the first
example</p>
<p class="western" style="margin-bottom: 0cm">gst-launch filesrc
location=hello.mp3 ! mad ! audioresample ! osssink</p>
<p class="western" style="margin-bottom: 0cm">you could then
describe
what is happening. e.g.</p>
<p class="western" style="margin-bottom: 0cm">gst-launch is a
program
which enables the user to construct pipelines using command-line
parameters.</p>
<p class="western" style="margin-bottom: 0cm">Filesrc is an element
(or a plugin) – in this case it will read data from a file and
needs to know the name of the file to open. It will output the
data
so as to be the source for the next element in the pipe-line.</p>
<p class="western" style="margin-bottom: 0cm">The “!” symbol
separates the first element from the next.</p>
<p class="western" style="margin-bottom: 0cm">mad is the next
element
in the pipe-line: It will decode mp3 data. It picks up the source
provided by the previous element and then outputs the decoded data
for the next element in the pipe-line.</p>
<p class="western" style="margin-bottom: 0cm">Once again, a “!”
symbol separates the elements.</p>
<p class="western" style="margin-bottom: 0cm">audioresample
resamples
the Audio. (I don’t know why this is a benefit – it could be
explained)</p>
<p class="western" style="margin-bottom: 0cm">Another “!”</p>
<p class="western" style="margin-bottom: 0cm">osssink takes the
audio
signal and sends it to an output device which supports (or is
supported by) OSS.</p>
<p class="western" style="margin-bottom: 0cm">The second example
could then be similarly explained – which would be a useful
exercise since the single vob file is being demuxed with part of
the
data going one way and the rest another.</p>
<p class="western" style="margin-bottom: 0cm">A reference, at this
point to the Overview of available plug-ins would be beneficial.</p>
<p class="western" style="margin-bottom: 0cm">Perhaps an example
where more options need to be specified could also be explained.</p>
<p class="western" style="margin-bottom: 0cm">Then you can say that,
if you need to build this into an application, you can do the same
stuff with code and if you need to do something which is not
currently supported, you can write your own plug-in – so read
on...<br>
</p>
<p class="western" style="margin-bottom: 0cm">I hope this is useful<br>
</p>
<p class="western" style="margin-bottom: 0cm">Ian<br>
</p>
<title></title>
<meta name="GENERATOR" content="OpenOffice.org 3.4.1 (Win32)">
<style type="text/css">
<!--
@page { margin: 2cm }
P { margin-bottom: 0.21cm }
-->
</style><br>
<div class="moz-cite-prefix">On 27/11/2012 22:52, Tim-Philipp Müller
wrote:<br>
</div>
<blockquote cite="mid:1354056776.23064.10.camel@zingle" type="cite">
<pre wrap="">On Tue, 2012-11-27 at 22:48 +0000, Ian Davidson wrote:
Hi,
</pre>
<blockquote type="cite">
<pre wrap="">I changed the Test Sources to use what I hoped would be real inputs
[ian@localhost ~]$ gst-launch-1.0 --gst-debug-level=4 v4l2src
'video/x-raw,format=(string)I420,width=320,height=240,framerate=(fraction)25/1'
! queue ! mux. alsasrc ! audioconvert !
'audio/x-raw,rate=44100,channels=2' ! queue ! mux. avimux name=mux !
filesink location=test.avi
</pre>
</blockquote>
<pre wrap="">
You seem to be missing a ! between v4l2src and the filter caps here.
Cheers
-Tim
</pre>
</blockquote>
<br>
<div class="moz-signature">-- <br>
--<br>
Ian Davidson<br>
--<br>
Facts used in this message may or may not reflect an underlying
objective reality. Facts are supplied for personal use only.<br>
Recipients quoting supplied information do so at their own risk.
Facts supplied may vary in whole or part from widely accepted
standards.<br>
While painstakingly researched, facts may or may not be indicative
of actually occurring events or natural phenomena.<br>
The author accepts no responsibility for personal loss or injury
resulting from memorisation and subsequent use.
</div>
</body>
</html>