Edgard Pineda wrote: [...]
>> Si estuviera dentro de los limites de lo que puedes hacer, yo te >> sugeriria botar PHP y usar un lenguaje decente, como Perl o Python. >> PHP es un lenguaje sin esperanza. > > Si sé, pero estoy usando un programa hecho en php (getid3) > para analizar media files y sacarles mas informacion. Simplemente lo > quiero usar desde un script, sin tocar el código php de ese > programa. No quiero desarrollar algo de cero. Que tal algo como: ,---- | # perl -MCPAN -e 'install File::Headerinfo' | [... esperar un rato y presionar `yes' unas cuantas veces ...] | | $ perl -MFile::Headerinfo -MData::Dumper -e \ | 'print Dumper(File::Headerinfo->read(shift))' \ | /algun/archivo/de/video.mpg | $VAR1 = { | 'width' => 192, | 'filetype' => 'riff', | 'version' => undef, | 'duration' => '79.4039376', | 'height' => 144, | 'filesize' => '10802688', | 'datarate' => 10000000, | 'vcodec' => 'IV50', | 'freq' => undef, | 'fps' => '12.9968365699789', | 'metadata' => undef | }; `---- -- Cristian Gutierrez http://www.dcc.uchile.cl/~crgutier [EMAIL PROTECTED] Jabber:[EMAIL PROTECTED] "Research is what I'm doing when I don't know what I'm doing. " -- Wernher Von Braun