Back to top

Correcting aspect ratio of a mp4 file

I have a nice Ezcap 280  that I plan to use to grab HDMI video in a live video production; the only thing I don't like of it is the 5 seconds delay in the REC starting.

The original plan was to go with the HD (720p) video resolution, but not all the camcorders we use can do this (they only do 576p or 1080i, the last is a no-opt), so I've stepped down to SD (576p).

ssh conditional configuration

You have a ssh server in your private network.

You have set up a port forwarding on your router to access your ssh server from outside.

All is working, but you have to use different config to access your ssh server if you are connected at your private network or on the public internet.

This is not a great trouble for interactive ssh sessions, but it is for rsync jobs, unison configurations, scripts that use ssh, git over ssh, etc.

Luckily, playing with ssh's config, you can achieve a simple setup for your programs, moving the complexity to the ssh client.

LibreOffice "terminate called after throwing an instance of com::sun::star::uno::RuntimeException"

Oggi mi sono scontrato con questo problema di LibreOffice su debian squeeze: lanciandolo come utenteA tutto funzionava correttamente, lanciandolo come utenteB terminava subito. Lanciandolo da linea di comando si otteneva il seguente messaggio di errore:

terminate called after throwing an instance of com::sun::star::uno::RuntimeException

Le ricerche in rete imputavano il problema a qualche permission in ~utenteB/.config/libreoffice; in realtà mi sono accorto che erano problemi più grenerali sul filesystem (un ls visualizzava permission, dimensione e data del file  ~utenteB/.config/libreoffice/.lock come punti interrogativi): molto probabilmente una conseguenza di qualche shutdown non ettettuato correttamente. Un bel fsck e tutto è (per fortuna) tornato a posto.

Pages

Subscribe to www.muciu.it RSS