Categories

A sample text widget

Etiam pulvinar consectetur dolor sed malesuada. Ut convallis euismod dolor nec pretium. Nunc ut tristique massa.

Nam sodales mi vitae dolor ullamcorper et vulputate enim accumsan. Morbi orci magna, tincidunt vitae molestie nec, molestie at mi. Nulla nulla lorem, suscipit in posuere in, interdum non magna.

Snippet: FLV video encode

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 . . . → Read More: Snippet: FLV video encode

Snippet: Join PDFs with pdftk

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.

Snippet: Hacer un screencast con Byzanz

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 . . . → Read More: Snippet: Hacer un screencast con Byzanz