Posted by rui in General, tags: linux, snippet
Using mencoder in Linux, we can convert any video to FLV and embed it in a web page with Flowplayer. In this sample video is encoded at 320×240 300 kbps and audio at 56kbps:
# mencoder -forceidx -of lavf -oac mp3lame -lameopts abr:br=56 -srate 22050 -ovc lavc -lavcopts vcodec=flv:vbitrate=300:mbd=2:mv0:trell:v4mv:cbp:last_pred=3 -vf scale=320:240 -o out.flv in.avi
No Comments »
Posted by rui in Computers, tags: linux, snippet
With pdftk we can (as well as a lot of other PDF-related operations) join PDFs in Linux, wich is something very useful. This is one example:
# pdftk file1.pdf file2.pdf file3.pdf cat output file_output.pdf
For windows there is also Pdftk Builder, with a graphical interface.
No Comments »
Posted by rui in Computers, tags: linux, snippet
Esta herramienta nos permite generar screencasts (grabaciones de nuestro escritorio) en formato GIF animado (sin sonido, claro). Por ejemplo, para generar un screencast de 60 segundos, y que espere 2 segundos para empezar a grabar:
# byzanz-record -c -d 60 –delay 2 screencast.gif
La -c es para que grabe el movimiento del cursor.
Hay otros programas para grabar screencasts, como Istambul pero éste no me funciona bien en mi Debian Squeeze.
2 Comments »