<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
<head>
  <meta content="text/html;charset=ISO-8859-1" http-equiv="Content-Type">
</head>
<body bgcolor="#ffffff" text="#000000">
Problem solved!!<br>
<br>
The solution was to use this tuple:<br>
<br>
arguments = <span>('-i', 'imput_file', '-ar', '8000', '-ac', '1',
'-acodec', 'amr_nb',
'-vcodec', 'h263', '-s', 'qcif', '-r', '12', '-b', '32', '-ab', '8',
output_file)</span><br>
<br>
<br>
<br>
Daniel de la Cuesta escribi&oacute;:
<blockquote cite="mid467F92C9.2000303@iavante.es" type="cite">
  <meta content="text/html;charset=ISO-8859-1" http-equiv="Content-Type">
  <span>Hi everybody, I am trying to call ffmpeg using getProcessOutput
method.<br>
  <br>
My code is as follows:<br>
  <br>
#Tuple of strings<br>
arguments = <br>
  <br>
output = utils.getProcessOutput('/usr/bin/ffmpeg', arguments)<br>
output.addCallbacks(writeResponse)<br>
output.addErrback(errback1)<br>
  <br>
When I execute the code I always get the following errback:<br>
  <br>
[Failure instance: Traceback (failure with no frames):
exceptions.IOError: got stderr: 'ffmpeg version CVS, build 3276800,
Copyright (c) 2000-2004 Fabrice Bellard\n']<br>
  <br>
It seems that ffmpeg returns and error but I am sure arguments passes
are correct.&nbsp; How can I excute ffmpeg using getProcessOutput??<br>
  <br>
Thank you.<br>
  <br>
  <br>
  <br>
  <br>
  <br>
  <br>
  <br>
  </span>
  <div class="moz-signature">-- <br>
  <title></title>
  <p align="left"><span lang="es"><b><font color="#808080"
 face="RotisSemiSans">Daniel de la Cuesta Navarrete</font></b></span> <br>
  <span lang="es"><b><font color="#808080" face="RotisSemiSans">T&eacute;cnico
de Desarrollo de Software</font></b></span></p>
  <p align="left"><span lang="es"></span><span lang="es"><font
 color="#339966" face="IAVANTE" size="4">FUNDACI&Oacute;N IAVANTE</font></span>
  <br>
  <span lang="es"><font color="#339966" face="RotisSemiSans"><a
 class="moz-txt-link-abbreviated"
 href="mailto:daniel.cuesta@iavantefundacion.com">daniel.cuesta@iavantefundacion.com</a></font></span>
  <br>
  <span lang="es"><font color="#339966" face="RotisSemiSans">Tel. 951
015
300</font></span> </p>
  <br>
  <p align="center"><span lang="es"><font color="#999999" face="Verdana"
 size="1">Este correo electr&oacute;nico y, en su caso, cualquier fichero
anexo, contiene informaci&oacute;n confidencial exclusivamente dirigida a
su(s) destinatario(s). Toda copia o divulgaci&oacute;n deber&aacute; ser autorizada
por IAVANTE.</font></span></p>
  <p align="center"><span lang="en-gb"><font color="#999999"
 face="Verdana" size="1">This e-mail and any attachments are
confidential and exclusively directed to its adressee(s). Any copy or
distribution will have to be authorized by IAVANTE.</font></span></p>
  <br>
  </div>
  <pre wrap="">
<hr size="4" width="90%">
_______________________________________________
Twisted-Python mailing list
<a class="moz-txt-link-abbreviated" href="mailto:Twisted-Python@twistedmatrix.com">Twisted-Python@twistedmatrix.com</a>
<a class="moz-txt-link-freetext" href="http://twistedmatrix.com/cgi-bin/mailman/listinfo/twisted-python">http://twistedmatrix.com/cgi-bin/mailman/listinfo/twisted-python</a>
  </pre>
</blockquote>
<br>
<br>
<div class="moz-signature">-- <br>
<title></title>
<p align="left"><span lang="es"><b><font color="#808080"
 face="RotisSemiSans">Daniel de la Cuesta Navarrete</font></b></span> <br>
<span lang="es"><b><font color="#808080" face="RotisSemiSans">T&eacute;cnico
de Desarrollo de Software</font></b></span></p>
<p align="left"><span lang="es"></span><span lang="es"><font
 color="#339966" face="IAVANTE" size="4">FUNDACI&Oacute;N IAVANTE</font></span>
<br>
<span lang="es"><font color="#339966" face="RotisSemiSans"><a class="moz-txt-link-abbreviated" href="mailto:daniel.cuesta@iavantefundacion.com">daniel.cuesta@iavantefundacion.com</a></font></span>
<br>
<span lang="es"><font color="#339966" face="RotisSemiSans">Tel. 951 015
300</font></span> </p>
<br>
<p align="center"><span lang="es"><font color="#999999" face="Verdana"
 size="1">Este correo electr&oacute;nico y, en su caso, cualquier fichero
anexo, contiene informaci&oacute;n confidencial exclusivamente dirigida a
su(s) destinatario(s). Toda copia o divulgaci&oacute;n deber&aacute; ser autorizada
por IAVANTE.</font></span></p>
<p align="center"><span lang="en-gb"><font color="#999999"
 face="Verdana" size="1">This e-mail and any attachments are
confidential and exclusively directed to its adressee(s). Any copy or
distribution will have to be authorized by IAVANTE.</font></span></p>
<br>
</div>
</body>
</html>