<table cellspacing="0" cellpadding="0" border="0" ><tr><td valign="top" style="font: inherit;"><div>Hola Héctor,</div>El código anterior generaba archivos TS que andaban bien (en algunos casos), pero solo milagrosamente. Tardamos tanto en encontrarlo, justamente porque en muchos casos andaba bien.&nbsp;<div><br></div><div>Dicho esto paso a explicar el error. El código anterior era así:</div><div><br></div><div><span class="Apple-style-span" style="border-collapse: collapse; font-family: arial, helvetica, clean, sans-serif; line-height: 15px; -webkit-border-horizontal-spacing: 2px; -webkit-border-vertical-spacing: 2px; "><blockquote type="cite" style="margin-top: 1em; margin-right: 40px; margin-bottom: 1em; margin-left: 40px; padding-top: 0px; padding-right: 0px; padding-bottom: 0px; padding-left: 0px; line-height: 1.2em; outline-style: none; outline-width: initial; outline-color: initial; display: block; "><table border="0" cellpadding="0"
 cellspacing="0" style="border-collapse: collapse; -webkit-border-horizontal-spacing: 0px; -webkit-border-vertical-spacing: 0px; font-size: inherit; line-height: 1.2em; outline-style: none; outline-width: initial; outline-color: initial; display: table; "><tbody style="line-height: 1.2em; outline-style: none; outline-width: initial; outline-color: initial; "><tr style="line-height: 1.2em; outline-style: none; outline-width: initial; outline-color: initial; display: table-row; vertical-align: inherit; "><td valign="top" style="line-height: 1.2em; outline-style: none; outline-width: initial; outline-color: initial; display: table-cell; -webkit-border-horizontal-spacing: 2px; -webkit-border-vertical-spacing: 2px; font: inherit; "><div id="yiv1630101206" style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; padding-top: 0px; padding-right: 0px; padding-bottom: 0px; padding-left: 0px; line-height: 1.2em; outline-style: none;
 outline-width: initial; outline-color: initial; "><table id="yiv1630101206bodyDrftID" class="yiv1630101206" border="0" cellpadding="0" cellspacing="0" style="border-collapse: collapse; -webkit-border-horizontal-spacing: 0px; -webkit-border-vertical-spacing: 0px; font-size: inherit; line-height: 1.2em; outline-style: none; outline-width: initial; outline-color: initial; display: table; "><tbody style="line-height: 1.2em; outline-style: none; outline-width: initial; outline-color: initial; "><tr style="line-height: 1.2em; outline-style: none; outline-width: initial; outline-color: initial; display: table-row; vertical-align: inherit; "><td id="yiv1630101206drftMsgContent" style="line-height: inherit; outline-style: none; outline-width: initial; outline-color: initial; display: table-cell; -webkit-border-horizontal-spacing: 2px; -webkit-border-vertical-spacing: 2px; font-style: inherit; font-variant: inherit; font-weight: inherit; font-stretch: inherit;
 font-family: arial; font-size: 10pt; "><div id="yiv1630101206" style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; padding-top: 0px; padding-right: 0px; padding-bottom: 0px; padding-left: 0px; line-height: 1.2em; outline-style: none; outline-width: initial; outline-color: initial; "><table id="yiv1630101206bodyDrftID" class="yiv1630101206" border="0" cellpadding="0" cellspacing="0" style="border-collapse: collapse; -webkit-border-horizontal-spacing: 0px; -webkit-border-vertical-spacing: 0px; font-size: inherit; line-height: 1.2em; outline-style: none; outline-width: initial; outline-color: initial; display: table; "><tbody style="line-height: 1.2em; outline-style: none; outline-width: initial; outline-color: initial; "><tr style="line-height: 1.2em; outline-style: none; outline-width: initial; outline-color: initial; display: table-row; vertical-align: inherit; "><td id="yiv1630101206drftMsgContent" style="line-height:
 inherit; outline-style: none; outline-width: initial; outline-color: initial; display: table-cell; -webkit-border-horizontal-spacing: 2px; -webkit-border-vertical-spacing: 2px; font-style: inherit; font-variant: inherit; font-weight: inherit; font-stretch: inherit; font-family: arial; font-size: 10pt; "><span style="line-height: 1.2em; outline-style: none; outline-width: initial; outline-color: initial; font-style: italic; ">out = open("./nit.sec", "wb")</span><br style="line-height: 1.2em; outline-style: none; outline-width: initial; outline-color: initial; font-style: italic; "><span style="line-height: 1.2em; outline-style: none; outline-width: initial; outline-color: initial; font-style: italic; ">out.write(nit.pack())</span><br style="line-height: 1.2em; outline-style: none; outline-width: initial; outline-color: initial; font-style: italic; "><span style="line-height: 1.2em; outline-style: none; outline-width: initial; outline-color: initial;
 font-style: italic; ">out.close</span><br style="line-height: 1.2em; outline-style: none; outline-width: initial; outline-color: initial; font-style: italic; "><span style="line-height: 1.2em; outline-style: none; outline-width: initial; outline-color: initial; font-style: italic; ">out = open("./nit.sec", "wb")</span><br style="line-height: 1.2em; outline-style: none; outline-width: initial; outline-color: initial; font-style: italic; "><span style="line-height: 1.2em; outline-style: none; outline-width: initial; outline-color: initial; font-style: italic; ">out.close</span><br style="line-height: 1.2em; outline-style: none; outline-width: initial; outline-color: initial; font-style: italic; "><span style="line-height: 1.2em; outline-style: none; outline-width: initial; outline-color: initial; font-style: italic; ">os.system("sec2ts 16 &lt; ./nit.sec &gt;
 ./nit.ts")</span></td></tr></tbody></table></div></td></tr></tbody></table></div></td></tr></tbody></table></blockquote></span><div>La primer llamada a close no hace nada, porque simplemente estamos "nombrando" el método, lo cual no produce ninguna llamada. La segunda vez que se abre, al abrirse con "wb" debería eliminarse el contenido del archivo y de hecho sucede con algunos archivos y por eso nos dimos cuenta. De todas maneras es solamente un error de tipeo, solamente que pasó inadvertido. Si tenés scripts que generen TS, te sugiero cambiar las partes correspondientes así, solamente agregando el paréntesis. Ahora no hace falta hacer open/close por segunda vez.</div><div><br></div><div><span class="Apple-style-span" style="border-collapse: collapse; font-family: arial, helvetica, clean, sans-serif; line-height: 15px; -webkit-border-horizontal-spacing: 2px; -webkit-border-vertical-spacing: 2px; "><blockquote type="cite" style="margin-top: 1em;
 margin-right: 40px; margin-bottom: 1em; margin-left: 40px; padding-top: 0px; padding-right: 0px; padding-bottom: 0px; padding-left: 0px; line-height: 1.2em; outline-style: none; outline-width: initial; outline-color: initial; display: block; "><table border="0" cellpadding="0" cellspacing="0" style="border-collapse: collapse; -webkit-border-horizontal-spacing: 0px; -webkit-border-vertical-spacing: 0px; font-size: inherit; line-height: 1.2em; outline-style: none; outline-width: initial; outline-color: initial; display: table; "><tbody style="line-height: 1.2em; outline-style: none; outline-width: initial; outline-color: initial; "><tr style="line-height: 1.2em; outline-style: none; outline-width: initial; outline-color: initial; display: table-row; vertical-align: inherit; "><td valign="top" style="line-height: 1.2em; outline-style: none; outline-width: initial; outline-color: initial; display: table-cell; -webkit-border-horizontal-spacing: 2px;
 -webkit-border-vertical-spacing: 2px; font: inherit; "><div id="yiv1630101206" style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; padding-top: 0px; padding-right: 0px; padding-bottom: 0px; padding-left: 0px; line-height: 1.2em; outline-style: none; outline-width: initial; outline-color: initial; "><table id="yiv1630101206bodyDrftID" class="yiv1630101206" border="0" cellpadding="0" cellspacing="0" style="border-collapse: collapse; -webkit-border-horizontal-spacing: 0px; -webkit-border-vertical-spacing: 0px; font-size: inherit; line-height: 1.2em; outline-style: none; outline-width: initial; outline-color: initial; display: table; "><tbody style="line-height: 1.2em; outline-style: none; outline-width: initial; outline-color: initial; "><tr style="line-height: 1.2em; outline-style: none; outline-width: initial; outline-color: initial; display: table-row; vertical-align: inherit; "><td id="yiv1630101206drftMsgContent"
 style="line-height: inherit; outline-style: none; outline-width: initial; outline-color: initial; display: table-cell; -webkit-border-horizontal-spacing: 2px; -webkit-border-vertical-spacing: 2px; font-style: inherit; font-variant: inherit; font-weight: inherit; font-stretch: inherit; font-family: arial; font-size: 10pt; "><div id="yiv1630101206" style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; padding-top: 0px; padding-right: 0px; padding-bottom: 0px; padding-left: 0px; line-height: 1.2em; outline-style: none; outline-width: initial; outline-color: initial; "><table id="yiv1630101206bodyDrftID" class="yiv1630101206" border="0" cellpadding="0" cellspacing="0" style="border-collapse: collapse; -webkit-border-horizontal-spacing: 0px; -webkit-border-vertical-spacing: 0px; font-size: inherit; line-height: 1.2em; outline-style: none; outline-width: initial; outline-color: initial; display: table; "><tbody style="line-height:
 1.2em; outline-style: none; outline-width: initial; outline-color: initial; "><tr style="line-height: 1.2em; outline-style: none; outline-width: initial; outline-color: initial; display: table-row; vertical-align: inherit; "><td id="yiv1630101206drftMsgContent" style="line-height: inherit; outline-style: none; outline-width: initial; outline-color: initial; display: table-cell; -webkit-border-horizontal-spacing: 2px; -webkit-border-vertical-spacing: 2px; font-style: inherit; font-variant: inherit; font-weight: inherit; font-stretch: inherit; font-family: arial; font-size: 10pt; "><span style="line-height: 1.2em; outline-style: none; outline-width: initial; outline-color: initial; font-style: italic; ">out = open("./nit.sec", "wb")</span><br style="line-height: 1.2em; outline-style: none; outline-width: initial; outline-color: initial; font-style: italic; "><span style="line-height: 1.2em; outline-style: none; outline-width: initial; outline-color:
 initial; font-style: italic; ">out.write(nit.pack())</span><br style="line-height: 1.2em; outline-style: none; outline-width: initial; outline-color: initial; font-style: italic; "><span style="line-height: 1.2em; outline-style: none; outline-width: initial; outline-color: initial; font-style: italic; ">out.close()</span><br style="line-height: 1.2em; outline-style: none; outline-width: initial; outline-color: initial; font-style: italic; "></td></tr></tbody></table></div></td></tr></tbody></table></div></td></tr></tbody></table></blockquote></span></div><div>Espero que a muchos les sirva esto! La verdad que la guía es muy útil.</div><div><br></div><div>Saludos,</div><div>Ezequiel.</div><div><br></div><div><br></div><div>--- El <b>jue 5-may-11, Héctor Ramos <i>&lt;hctorra@gmail.com&gt;</i></b> escribió:</div><blockquote style="border-left: 2px solid rgb(16, 16, 255); margin-left: 5px; padding-left: 5px;"><br>De: Héctor Ramos
 &lt;hctorra@gmail.com&gt;<br>Asunto: Re: [Ginga-argentina] Actualización Guía Opencaster para SATVD<br>Para: "Lista de la comunidad argentina de Ginga" &lt;ginga-argentina@lists.ourproject.org&gt;<br>Fecha: jueves, 5 de mayo de 2011, 12:53<br><br><div id="yiv1924975726">Buenas, si no es mucha molestia, podré preguntar que se corrigió?<div>con el anterior código no funcionaba el ts resultante?</div><div>gracias<br><br><div class="yiv1924975726gmail_quote">El 3 de mayo de 2011 16:20, Ignacio Jaureguiberry <span dir="ltr">&lt;<a rel="nofollow" ymailto="mailto:ijaureguiberry@lifia.info.unlp.edu.ar" target="_blank" href="/mc/compose?to=ijaureguiberry@lifia.info.unlp.edu.ar">ijaureguiberry@lifia.info.unlp.edu.ar</a>&gt;</span> escribió:<br>
<blockquote class="yiv1924975726gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex;">Hola,<br>
Acabo de actualizar la guía de opencaster para SATVD, había un bug en<br>
parte del código python.<br>
El documento se puede bajar como siempre desde<br>
<a rel="nofollow" target="_blank" href="http://wiki.ginga.org.ar/doku.php?id=lifia:inicio">http://wiki.ginga.org.ar/doku.php?id=lifia:inicio</a><br>
<br>
Gracias a Ezequiel García que me alertó del problema.<br>
<br>
Ignacio Jaureguiberry.<br>
<br>
__________________________________________Lista de correo <a rel="nofollow" ymailto="mailto:Ginga-argentina@lists.ourproject.org" target="_blank" href="/mc/compose?to=Ginga-argentina@lists.ourproject.org">Ginga-argentina@lists.ourproject.org</a><br>
cambiar suscripci&amp;#243;n: <a rel="nofollow" target="_blank" href="https://lists.ourproject.org/cgi-bin/mailman/listinfo/ginga-argentina">https://lists.ourproject.org/cgi-bin/mailman/listinfo/ginga-argentina</a><br>
Sitio web: <a rel="nofollow" target="_blank" href="http://comunidad.ginga.org.ar">http://comunidad.ginga.org.ar</a><br>
Wiki: <a rel="nofollow" target="_blank" href="http://wiki.ginga.org.ar">http://wiki.ginga.org.ar</a><br>
</blockquote></div><br></div>
</div><br>-----Adjunto en línea a continuación-----<br><br><div class="plainMail">__________________________________________Lista de correo <a ymailto="mailto:Ginga-argentina@lists.ourproject.org" href="/mc/compose?to=Ginga-argentina@lists.ourproject.org">Ginga-argentina@lists.ourproject.org</a><br>cambiar suscripción: <a href="https://lists.ourproject.org/cgi-bin/mailman/listinfo/ginga-argentina" target="_blank">https://lists.ourproject.org/cgi-bin/mailman/listinfo/ginga-argentina</a><br>Sitio web: <a href="http://comunidad.ginga.org.ar" target="_blank">http://comunidad.ginga.org.ar</a><br>Wiki: <a href="http://wiki.ginga.org.ar" target="_blank">http://wiki.ginga.org.ar</a><br></div></blockquote></div></td></tr></table>