<div>David,</div><div> Thanks a ton for your precise and prompt reply. Use of the ' ' makes the script work and I have just hit another roadblock. The input I want is the composite in from a camera, but here the input defaults to the highlight, a series of capture events follow to end in a segmentation fault. [SEE BELOW]</div>
<div><br></div><div>Please advice.</div><div><br></div><div>N.Kartik</div><div><br></div><div><br></div><p class="MsoNormal" style="color:rgb(34,34,34);font-family:arial,sans-serif;font-size:13.333333969116211px;background-color:rgb(255,255,255)">
<font face="Courier New"><span style="font-size:10pt"><b>root@dm365-evm:~#</b> gst-launch -v 'v4l2src always-copy=FALSE mum-buffers=800 input<u></u><u></u></span></font></p><p class="MsoNormal" style="color:rgb(34,34,34);font-family:arial,sans-serif;font-size:13.333333969116211px;background-color:rgb(255,255,255)">
<font face="Courier New"><span style="font-size:10pt">-src=composite ! video/x-raw-yuv, format=(fourcc)NV12, width=720, height=480 ! T<u></u><u></u></span></font></p><p class="MsoNormal" style="color:rgb(34,34,34);font-family:arial,sans-serif;font-size:13.333333969116211px;background-color:rgb(255,255,255)">
<font face="Courier New"><span style="font-size:10pt">IVidenc1 codecName=h264enc engineName=codecServer !filesink location=/home/gr8.2<u></u><u></u></span></font></p><p class="MsoNormal" style="color:rgb(34,34,34);font-family:arial,sans-serif;font-size:13.333333969116211px;background-color:rgb(255,255,255)">
<font face="Courier New"><span style="font-size:10pt">64'<u></u><u></u></span></font></p><p class="MsoNormal" style="color:rgb(34,34,34);font-family:arial,sans-serif;font-size:13.333333969116211px;background-color:rgb(255,255,255)">
<font face="Courier New"><span style="font-size:10pt">Setting pipeline to PAUSED ...<u></u><u></u></span></font></p><p class="MsoNormal" style="color:rgb(34,34,34);font-family:arial,sans-serif;font-size:13.333333969116211px;background-color:rgb(255,255,255)">
<font face="Courier New"><span style="font-size:10pt">davinci_resizer davinci_resizer.2: RSZ_G_CONFIG:0:1:124<u></u><u></u></span></font></p><p class="MsoNormal" style="color:rgb(34,34,34);font-family:arial,sans-serif;font-size:13.333333969116211px;background-color:rgb(255,255,255)">
<font face="Courier New"><span style="font-size:10pt">davinci_previewer davinci_previewer.2: ipipe_set_preview_config<u></u><u></u></span></font></p><p class="MsoNormal" style="color:rgb(34,34,34);font-family:arial,sans-serif;font-size:13.333333969116211px;background-color:rgb(255,255,255)">
<font face="Courier New"><span style="font-size:10pt">vpfe-capture vpfe-capture: IPIPE Chained<u></u><u></u></span></font></p><p class="MsoNormal" style="color:rgb(34,34,34);font-family:arial,sans-serif;font-size:13.333333969116211px;background-color:rgb(255,255,255)">
<font face="Courier New"><span style="font-size:10pt">vpfe-capture vpfe-capture: Resizer present<u></u><u></u></span></font></p><p class="MsoNormal" style="color:rgb(34,34,34);background-color:rgb(255,255,255)"><font face="arial black, sans-serif"><b>EVM: switch to tvp7002 HD video input<u></u><u></u></b></font></p>
<p class="MsoNormal" style="color:rgb(34,34,34);background-color:rgb(255,255,255)"><font><b><font face="arial black, sans-serif">vpfe-capture vpfe-capture: input information not found for the subdev</font></b><font size="2" style="font-family:arial,sans-serif"><u></u><u></u></font></font></p>
<p class="MsoNormal" style="color:rgb(34,34,34);font-family:arial,sans-serif;font-size:13.333333969116211px;background-color:rgb(255,255,255)"><font face="Courier New"><span style="font-size:10pt">tvp7002 1-005c: querystd, erorxxx, val = 1, val1 = 2<u></u><u></u></span></font></p>
<p class="MsoNormal" style="color:rgb(34,34,34);font-family:arial,sans-serif;font-size:13.333333969116211px;background-color:rgb(255,255,255)"><font face="Courier New"><span style="font-size:10pt">vpfe-capture vpfe-capture: width = 1, height = 1, bpp = 2<u></u><u></u></span></font></p>
<p class="MsoNormal" style="color:rgb(34,34,34);font-family:arial,sans-serif;font-size:13.333333969116211px;background-color:rgb(255,255,255)"><font face="Courier New"><span style="font-size:10pt">vpfe-capture vpfe-capture: adjusted width = 16, height = 2, bpp = 2, bytesperlin<u></u><u></u></span></font></p>
<p class="MsoNormal" style="color:rgb(34,34,34);font-family:arial,sans-serif;font-size:13.333333969116211px;background-color:rgb(255,255,255)"><font face="Courier New"><span style="font-size:10pt">e = 32, sizeimage = 64<u></u><u></u></span></font></p>
<p class="MsoNormal" style="color:rgb(34,34,34);font-family:arial,sans-serif;font-size:13.333333969116211px;background-color:rgb(255,255,255)"><font face="Courier New"><span style="font-size:10pt">vpfe-capture vpfe-capture: width = 32768, height = 32768, bpp = 2<u></u><u></u></span></font></p>
<p class="MsoNormal" style="color:rgb(34,34,34);font-family:arial,sans-serif;font-size:13.333333969116211px;background-color:rgb(255,255,255)"><font face="Bookman Old Style"><span style="font-size:11pt">.<u></u><u></u></span></font></p>
<p class="MsoNormal" style="color:rgb(34,34,34);font-family:arial,sans-serif;font-size:13.333333969116211px;background-color:rgb(255,255,255)"><font face="Bookman Old Style"><span style="font-size:11pt">.<u></u><u></u></span></font></p>
<p class="MsoNormal" style="color:rgb(34,34,34);font-family:arial,sans-serif;font-size:13.333333969116211px;background-color:rgb(255,255,255)"><font face="Bookman Old Style"><span style="font-size:11pt">.<u></u><u></u></span></font></p>
<p class="MsoNormal" style="color:rgb(34,34,34);font-family:arial,sans-serif;font-size:13.333333969116211px;background-color:rgb(255,255,255)"><font face="Bookman Old Style"><span style="font-size:11pt">.<u></u><u></u></span></font></p>
<p class="MsoNormal" style="color:rgb(34,34,34);font-family:arial,sans-serif;font-size:13.333333969116211px;background-color:rgb(255,255,255)"><font face="Courier New"><span style="font-size:10pt">vpfe-capture vpfe-capture: adjusted width = 2176, height = 1536, bpp = 2, bytesp<u></u><u></u></span></font></p>
<p class="MsoNormal" style="color:rgb(34,34,34);font-family:arial,sans-serif;font-size:13.333333969116211px;background-color:rgb(255,255,255)"><font face="Courier New"><span style="font-size:10pt">erline = 4352, sizeimage = 6684672<u></u><u></u></span></font></p>
<p class="MsoNormal" style="color:rgb(34,34,34);font-family:arial,sans-serif;font-size:13.333333969116211px;background-color:rgb(255,255,255)"><font face="Courier New"><span style="font-size:10pt">vpfe-capture vpfe-capture: dma_alloc_coherent size 4763648 failed<u></u><u></u></span></font></p>
<p class="MsoNormal" style="color:rgb(34,34,34);font-family:arial,sans-serif;font-size:13.333333969116211px;background-color:rgb(255,255,255)"><font face="Courier New"><span style="font-size:10pt">Segmentation fault</span></font></p>
<p class="MsoNormal" style="color:rgb(34,34,34);font-family:arial,sans-serif;font-size:13.333333969116211px;background-color:rgb(255,255,255)"><font face="Courier New"><span style="font-size:10pt"><br></span></font></p><p class="MsoNormal" style="color:rgb(34,34,34);font-family:arial,sans-serif;font-size:13.333333969116211px;background-color:rgb(255,255,255)">
<font face="Courier New"><span style="font-size:10pt"><br></span></font></p><br><div class="gmail_quote">On Mon, Aug 20, 2012 at 1:16 PM, David Röthlisberger <span dir="ltr"><<a href="mailto:david@rothlis.net" target="_blank">david@rothlis.net</a>></span> wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">On 20 Aug 2012, at 08:34, Ruben Gonzalez Uvigo wrote:<br>
><br>
> 2012/8/20 kartik natarajan <<a href="mailto:kartik8n8@gmail.com">kartik8n8@gmail.com</a>>:<br>
<div class="im">>> -sh: syntax error: "(" unexpected<br>
><br>
</div><div class="im">> Please try escaping the parentheses characters.<br>
><br>
> \(fourcc\)NV12<br>
<br>
</div>Or quote the whole pipeline argument to gst-launch:<br>
<br>
gst-launch -v 'v4l2src always-copy=FALSE num-buffers=800 input-src=composite ! video/x-raw-yuv, format=(fourcc)NV12, width=720, height=480 ! TIVidenc1 codecName=h264enc engineName=codecServer ! filesink location=/home/gr8.264'<br>
<br>
(Note the single quote before v4l2src and after gr8.264.)<br>
<br>
Assuming the shell you are using is "bash", the meaning of (unquoted) parentheses is:<br>
<a href="http://www.gnu.org/software/bash/manual/bashref.html#Command-Grouping" target="_blank">http://www.gnu.org/software/bash/manual/bashref.html#Command-Grouping</a><br>
<br>
Quoting is described here:<br>
<a href="http://www.gnu.org/software/bash/manual/bashref.html#Single-Quotes" target="_blank">http://www.gnu.org/software/bash/manual/bashref.html#Single-Quotes</a><br>
<br>
</blockquote></div><br><br clear="all"><div><br></div>-- <br>Believe in your dreams, they have a strange way of coming true!!!<br>