Sony trae primer equipo con Blu-ray.
Sip, una pena, un notebook VAIO es el primer aparato en Chile que incorpora la tecnología Blu-ray, el nuevo formato de almacenamiento de alta capacidad que compite con el HD-DVD.
La verdad es que hubiera preferido que IBM fuera el primero, incluso, con algo de fe, HP/Compaq o por ultimo DELL que ultimamente se ha metido en el mercado fuertemente, pero no, fue un VAIO de Sony … que fome!!!!.
Aca esta la descripcion del equipo, lector y grabador de Blu-ray que puede grabar hasta 50 GB en discos de doble densidad ($14000) y así almacenar en un sólo disco una película en alta definición (HD), 17 pulgadas en el formato con una resolución de 1920×1200 pixeles, Intel Core 2 Duo T7200, 2 GB de memoria RAM y un disco duro de 200 GB. Sus baterías duran 2,5 horas y pesa 3,8 kilos.
Y para que vamos a pensar en el precio …. $2.400.000 … sip dos millones y medio (poniendo el bolso y los accesorios
) …. como siempre VAIO a buenos precios ….
Salu2
JP
PD : Me quedo con macbook-pro
.
Files *.png to mpeg
Yesterday i was search a program for convert a lot of png in a mpeg video file, however the variety is huge so i decide try with mencoder only in command-line
.
The first step is have many png files, after this put this file in a directoy (numerates obvious) and go in to the directory. For convert this files in a mpeg1 video type, run the command :
mencoder -ovc lavc -lavcopts vcodec=mpeg1video:vbitrate=1500 -vf scale=320x240 -mf type=png:fps=20 -nosound -of mpeg -o output.mpg mf://*.png
Afther encode you can see the movie with : mplayer output.mpg.
For more information about mplayer and mencoder visit the
JP.
Automatic response for console programs
Some cases when you have a typical program with questions in console, exist a fast form for answer all.
For example if you have a simple program that sum two numbers :
#include<iostream>
int main()
{
double a,b;
std::cout << "Input a number >> ";
std::cin >>a;
std::cout << "Input another number >> ";
std::cin >> b;
std::cout << " The sum of " <<a<<"+"<<b<<" is : " << a+b <<std::endl;
return 0;
}
Compile using : g++ -o sum sum.cc and run with ./sum.
When you run this program, you need ‘answer‘ by standard-input two values, one by one.
However the solution for pass all arguments together is easy
