☆☆☆☆
Sunday, May 18, 2014
Beyond the blackboard
☆☆☆☆
Tuesday, May 13, 2014
Left Luggage
☆☆
Sunday, May 11, 2014
Journal de France
It is all very beautiful and may cause some nostalgia. Recommended.
☆☆☆☆
Tuesday, May 6, 2014
Odette Toulemonde
☆☆☆☆
Sunday, May 4, 2014
Binta & the Great Idea
☆☆☆☆
Wednesday, April 30, 2014
Mauvaise Passe
I normally like the work of the lead actor Daniel Auteuil, e.g. in Le huitième jour. However, in this film, he is not convincing. Also, the story is rather thin and predictable and I was never interested in what would come next or how it would end. Easily forgotten and not worth watching.
☆☆
Monday, April 28, 2014
Reducing the size of jpeg files
sudo apt-get install imagemagickFor simple conversion jobs, Imagemagick's convert program is very easy to use: it figures out the desired conversion by the suffixes of the argument file names:
convert scanned-text.jpg scanned-text.pdfwill work as expected. So, to do what I wanted, all I needed was the correct option to tell convert that it needed to reduce the file size of the image:
convert image.jpg some-option image-small.jpgUnfortunately, there are a lot of options. To save you searching, here's the one that did the job:
convert image.jpg -define jpg:extent=400KB image-small.jpgAnd on the screen, there was no noticeabe loss of quality in the smaller versions of the image files.
Sunday, April 20, 2014
Tu seras mon fils
☆☆☆☆
Thursday, March 20, 2014
Itty Bitty Titty Committee
After a while, the relationship is in trouble and it is only saved trough the execution of a cunning plan that involves manipulating the output of a regional television station to show the Washington Monument dressed up like a penis.
The film sometimes gives an amateurish impression and I found it rather boring.
☆☆
Saturday, March 8, 2014
Providence
Wednesday, January 29, 2014
gscan2pdf crop
It also supports cropping the scanned image but the procedure to do that is rather unintuitive. Having had to figure it out twice, I decided to put the simple solution in this post for future reference.
Assume you want to scan an image that is smaller than a full page, e.g. the cover of a pocket book.
- Scan the image.
- Use the rectangular selection tool to select the area that you want to keep.
- Select 'crop' from the drop-down menu under 'Tools' in the title bar.
Sunday, January 26, 2014
Crustacés & coquillages
It is set in Ensuès-la-Redonne on the Côte d'Azur, during the holiday period, so nice views are thrown in.
The film can be regarded as a contemporary instance of boulevard theatre where, in this case, the question is not only who's doing it with whom but also who is gay or not.
One quote from the teenage son to his broad minded mother, played by Valeria Bruni Tedeschi, who is trying to tell him that it's perfectly OK to be gay: Elle a quoi, ma sexualité?.
A happy ending and a happy viewing.
☆☆☆☆
Wednesday, January 22, 2014
Kelly + Victor
boy and (pretty) girl meet, have weird sex involving (almost) strangling and cutting, separate, and have sex again. Only, this time the boy dies, having been strangled once too many.
☆
Monday, January 13, 2014
C'est pas parce qu'on n'a rien à dire qu'il faut fermer sa gueule
The film is so bad that I did not manage to watch all of it, so perhaps I missed the best part. In the story, a couple of aspiring burglars want to make a hole in the wall of a public toilet in order to reach a safe in the adjacent building. Hence they keep changing disguises to enter the cubicle multiple times, each time smuggling some debris out. That is funny for two or three times but it becomes unbearable if the same sketch is repeated, with great detail, 16 times. I didn't count them: oddly enough, the disguises are listed here.
It's not the actors fault: Bernard Blier, Michel Serrault and Jean Lefebvre have all participated in much better comedies such as (in the case of Jean Lefebvre) Le Gendarme de Saint-Tropez.
Don't waste time on this.
☆
Converting from a DVD VIDEO_TS directory
VIDEO_TS
whose contents looks similar to the following example:
VIDEO_TS.BUP VTS_01_1.VOB VTS_02_1.VOB VTS_04_0.IFO VTS_05_1.VOB
VIDEO_TS.IFO VTS_01_2.VOB VTS_03_0.BUP VTS_04_1.VOB VTS_05_2.VOB
VTS_01_0.BUP VTS_02_0.BUP VTS_03_0.IFO VTS_04_2.VOB
VTS_01_0.IFO VTS_02_0.IFO VTS_03_1.VOB VTS_05_0.BUP
VTS_01_0.VOB VTS_02_0.VOB VTS_04_0.BUP VTS_05_0.IFO
The video files have a .VOB
suffix. They are simply MPEG2
files. Due to a restriction on the maximum size of a .VOB
file, longer video sequences are spread over several .VOB
files. In the example
VTS_01_0.VOB
, VTS_01_1.VOB
and VTS_01_2.VOB
make up a single video sequence, e.g. a film or an episode of a TV series. To find out which sequences in VIDEO_TS
represent the film or an episode, it suffices to look at the sizes of the .VOB
files: the longest ones correspond to the 'real thing'.
me$ ls -l *.VOB
-rw-rw-r-- 1 me me 18542592 Jan 12 23:16 VTS_01_0.VOB
-rw-rw-r-- 1 me me 1073739776 Jan 12 23:45 VTS_01_1.VOB
-rw-rw-r-- 1 me me 447463424 Jan 13 00:07 VTS_01_2.VOB
-rw-rw-r-- 1 me me 49453056 Jan 12 17:54 VTS_02_0.VOB
-rw-rw-r-- 1 me me 2201600 Jan 12 14:58 VTS_02_1.VOB
-rw-rw-r-- 1 me me 5548032 Jan 12 14:58 VTS_03_1.VOB
-rw-rw-r-- 1 me me 1073739776 Jan 12 23:52 VTS_04_1.VOB
-rw-rw-r-- 1 me me 340936704 Jan 12 23:59 VTS_04_2.VOB
-rw-rw-r-- 1 me me 1073739776 Jan 12 23:47 VTS_05_1.VOB
-rw-rw-r-- 1 me me 423309312 Jan 12 23:55 VTS_05_2.VOB
Clearly, the relevant video sequences here are VTS_01_*.VOB
, VTS_04_*.VOB
and VTS_05_*.VOB
while VTS_02_1.VOB
and VTS_03_1.VOB
probably contain auxiliary video that has to do with e.g. the DVD menu.
To convert the film or episodes to the more efficient H264 mp4 format, one can use the avconv program. Since mpeg2 files can be simply concatenated and
avconv
can take input from a pipe, one would think that the following command would convert the VTS_01_*.VOB
files to a much more compact 01.mp4
.
cat VTS_01_*.VOB | avconv -i pipe: 01.mp4
Unfortunately, that does not seem to work: the resulting 01.mp4
does not contain the audio track, and I have been unable to find out why.
The following works, though:
me$ cat VTS_01_*.VOB >01.VOB
me$ avconv -i 01.VOB 01.mp4
# how much space did the conversion save?
me$ ls -l 01.VOB 01.mp4
-rw-rw-r-- 1 me me 396286644 Jan 13 21:49 01.mp4
-rw-rw-r-- 1 me me 1539745792 Jan 13 21:48 01.VOB
which also shows that the .mp4
version takes only about 25% of the space of the original.
Tuesday, January 7, 2014
Ubuntu: putting accents and other decorations with a standard keyboard
<compose-key> <"> <e>
where '<' and '>' are used to indicate a key (you don't type those). Which key is taken as the
<compose-key>
depends on your keyboard settings. The default is
<AltGr>
but you can change, or verify, this by changing the 'Compose key position' under 'Options' in the 'Keyboard Layout' section of the 'System Settings'.
It is worth noting that <AltGr>
is called 'Right Alt
' in the list of options for the <compose-key>
setting.
To my dismay, this didn't work anymore after an update that also updated the kernel to version 3.2.0-58, in the 12.04 LTS (Precise Pangolin) release.
Searching for a solution, I stumbled on this old post on the excellent askubuntu site:
Recently 12.04 introduced a bug in keyboard handling. The workaround is to use the following code in a terminal:The strange thing is that this helpful post dates from June 2012, while my problem appeared only in January 2014.setxkbmap "en","fr" where en and fr represent the keyboard layouts you use.One step further is to run this command on startup by clicking the top right cog wheel and choose startup applications.
In any case, I followed the advice.
First there was the problem of finding out what the short names for my keyboard layouts are, since, sadly, 'System settings' only gave the verbose names: 'English (US)' and
'English (US with euro on 5)'.
Luckily, a list of all available keyboard layouts can be found in the
xkeyboard-config
manual which lists all available layouts.
Thus, from
man xkeyboard-config
I learned that the short names to be used by the setxkbmap
command were "us
" and "us(euro)
", respectively. It then remained to incant
setxkbdmap to tell the system which layouts we want to use.
setxkbmap "us","us(euro)"
and things went back to normal. Perhaps, it's an old bug that, because of popular demand, has been re-introduced recently.
Saturday, January 4, 2014
Ten Canoes
The result is very poetic and has a dream-like quality, in keeping with the Aboriginal culture it illustrates. This is all the more remarkable because there is no music in the soundtrack.
☆☆☆☆
Thursday, January 2, 2014
Where the Green Ants Dream
Of course, and not for the first time, the Aborigines loose. In fact, Australia has behaved in a disgusting manner towards its original inhabitants. Worse, as described in this article, this almost genocidal treatment is still going on, under all recent (including the current) governments.
So, in a sense, the film paints too rosy a picture of the 1984 (when it was made) situation, or things have gotten worse since then. As John Pilger writes: 'Apartheid' is alive and well in Australia, one of the richest countries in the world.
☆☆☆☆