Wednesday, February 08, 2006

Doing my part to fight the piracy

I am supposed to review "Underworld: Evolution" (sequel to "Underworld") for the "Cinema" magazine. I got the review DVD from the distributor (labelled "Underworld: Evolution movie + trailer"), put it into my DVD player and got "This DVD Cannot be Played" message. I tried putting it into my PS2 and again - nothing.

As a last ditch attempt, I put the DVD into my Linux computer and tried opening it. It was immediately clear why I couldn't play it in the DVD player. It wasn't DVD-Video disc but data DVD-ROM containing only two unencrypted MPG video files. The first was the trailer for the first "Underworld" movie. The second was "Underworld: Evolution" itself. It played without problems on my computer. However, the picture looked like this:



This is not scaled-down, this is 1:1 full-size screengrab of the video. The picture is less than 400 pixels wide, about 150 pixels tall and looks like bad VHS copy. The counter in the corner and the text in the middle of the frame stay there for the whole goddamn movie.

Also of note is the sound quality. This is an MP3 of how it sounds during the whole movie.

I must stress again that this was an official screening copy provided by the official distributor for the purpose of writing the review of this movie. How the hell should I review it when I cannot see what is happening in some darker scenes and cannot hear the dialogue? In their quest to fight the piracy (see also this funny story), the distributors are really overdoing it.

But if they wanted to prevent me from uploading "Underworld: Evolution" to BitTorrent, they certainly succeeded. Thankfully, others already did that.

Monday, February 06, 2006

MPlayer tidbits

I found out I still have problems with sound in some QuickTime trailers, specifically "Cannot find codec for audio format 0x324D4451". I fixed this by creating symlink /usr/lib/win32 linking to already existing /usr/local/lib/win32. Weird...

I'd also like to know if it is possible to bypass the annoyning warning window that pops up each time I doubleclick on WMV file in Nautilus (it forces me to rename the files to ASF).

Also, is it possible for MPlayer to skip exactly the desired number of seconds when pressing left & right arrows? For example, skipping exactly 5 seconds backward or forward, regardless of where the keyframes are in the file? I have no problem if it involves creating some special index file for this, as long as it can be completely automated.

Friday, February 03, 2006

Lee Tamahori's new XXX

Famous movie director Lee Tamahori (Once Were Warriors, The Edge, Die Another Day, XXX: State of the Union) was arrested last month for agreeing to engage in an act of prostitution and unlawfully loitering on Hollywood's Santa Monica Boulevard. He allegedly sought sex with an undercover policeman while wearing women's clothes.

However, after reading the story, I don't quite get it. Who was supposed to be giving the oral sex to who? Who was supposed to be paying for it? Is it "loitering" even when the receiver swallows? Or even: Was the "undercover policeman" male or female?

Questions, questions...

I wonder how long it will be before Tamahori's Next Hollywood project will be released... (The previous sentence is sophisticated movie industry pun)

UPDATE: According to IMDB News, Tamahori, wearing womens' clothes, entered the car of undercover police officer and "offered to perform oral sex act for money". I am not quite sure what he hoped to achieve. How much would YOU pay for being fellated by the man shown above, dressed as a woman?!?!

Sunday, January 29, 2006

Taming Ubuntu (MPlayer and simple SMTP sender)

I did it. Today I reistalled my computer and "upgraded" from Debian to Ubuntu. It was partly because of the fact that after pressing shift-U for "update" in aptitude, it suggested to download and install 7 gigabytes of packages, most of which I never intended to use! Also, I wanted to try something different. So, instead of investigating why aptitude went crazy, I installed Ubuntu. The installation went without a hitch (I only backed up my /home/fuxoft/ directory), there were no serious problems with supporting my US Robotics WiFi card, SoundBlaster Live and NVidia hardware acceleration. However I had to tweak a few config files here and there and an absolute beginner probably wouldn't have 3D acceleration and volume control working without outside help (more about this later).

So far, everything I used before (in Debian) works well in Ubuntu (which really shouldn't be any surprise). The only problem was with getting MPlayer to work correctly and integrate it with Mozilla Firefox. But it's really simple once you know what you are doing.

First, install the standard Ubuntu MPlayer and "MPlayer fonts" package. Then, try playing some movies (and change the default application for the video file types to mplayer, the original default player is something called "Totem" which really didn't impress me). You will notice that quite a few movies cannot be played using MPlayer (especially Windows Media or Quicktime). But we can sort it out. Now, visit MPlayer homepage, download "essential codecs package" (or, "all codecs", just to be sure) and unpack all the files from it into /usr/local/lib/win32/ directory (you'll probably have to create it). Then, try playing the "problematic" videos again. If they still don't work, try renaming the "win32" directory to "codecs".

And now, for the Firefox integration. Close Firefox, install Ubuntu package "mozilla-mplayer", restart Firefox and try if embedded videos (for example on compfused.com) are played back by MPlayer. If they are, great, you are done. If they aren't, and Totem still wants to play them, go to /usr/lib/mozilla-firefox/plugins/ directory and erase all files that have "totem" in their name (two in my case). Also, there should be bunch of mplayer files in here at this stage. If they are not, you forgot to install "mozilla-mplayer" package. And that's all.

This was so far the biggest Ubuntu hurdle I had to overcome. The reason why this isn't simpler is probably because of legal reasons - you simply cannot distribute proprietary Windows codecs through the official Ubuntu distribution mechanism. I figured all of this out without much problems but it just shows that, as much as I love Linux, it still isn't quite ready for the "average Joe" users, unless someone with more expertise helps them with the basic configuration.

However, I have one small problem: I know there are several Linux apps to send photos to Flickr.com but I preferred my own simple script which took all the JPGs in given directory and sent them, one after another, as e-mail attachments to my flickr uploader e-mail address. However, I had to install exim4 mail transfer system and configure this monumental beast just for this simple script to work. I'd like to use some really simple tool to turn JPGs into mail attachments and to send them as e-mails, but is has to be done one after another, i.e. the script must wait until the first e-mail is completely sent and only then start sending the second e-mail. This is necessary to prevent traffic congestion (my upload is not very fast) and to keep the uploaded pictures in the right order. Does anyone have any suggestions about this? Otherwise, I'll probably have to either install and configure exim4 or to write a script using Ruby and its SMTP library...

UPDATE: Solved beautifully using ssmtp and mutt. Thanks to anonymous tip. After you install them (and configure ssmtp, which is trivial), you can use the following simple script to send all files from the current dir to Flickr. Note that the script in its current form deletes the files as it sends them! Also note I am not very good with Bash...

#!/bin/sh
BODY=/tmp/empty.txt
EMAIL=your_upload_address@photos.flickr.com
#cd /home/fuxoft/upload
ls
du -h
echo "ENTER to send all"
read DUMMY
echo "" > $BODY
for PIC in *
do
ls "$PIC" -sh
mutt -s "$PIC" $EMAIL -a "$PIC" < $BODY && rm "$PIC"
echo `ls|wc -l` remaining
done

Wednesday, January 25, 2006

The new icon

There are several Czech "discussion servers" (lopuch.cz, okoun.cz, nyx.cz, mageo.cz, many more) which basically provide the user with similar functions for communicating with other members of the community. Because all of them are inspired by the original "MAMedia.cz" from mid-90s, they all share some unique features not found outside the Czech Republic. For example, the avatars (here called "icons") are always 40x50 pixels large.

This is my old "icon", based on my photo for the "Internet" magazine interview circa 1997. I used it on all discussion servers for many, many years. The bug on my face was the first stupid idea I got when thinking about easiest possible animation. GIF animations were THE NEW SHIT back then.

However, this week, the whole Cinema magazine staff (including externists, i.e. me) went to take their professional photos in the atelier. I thought this was the perfect opportunity to change my icon. So far, it's not animated but I'll probably think of something after I come to grips with GIF animation in GIMP...

But enough about me, now play this oldskool game.

Wednesday, January 18, 2006

The Art of News Photography

Whoever crops photographs for xinhuanet.com probably thinks he is really clever!

Nintendo remake (Warning: Tasteless humor)

Do you remember that old Game&Watch LCD game called "Fire" where you had to rescue as many people falling from the burning building as possible? You had three "lives".



It seems these people didn't play "Fire" very much. They scored precisely zero points.

Saturday, January 14, 2006

This is Still Life

I spend lots of time on Flickr, just randomly browsing other people's photographs. I often find something that I want to share with friends but they are not always in the mood for "looking at this Flickr link Fuka just sent them over IM".

Now, thanks to the miracle of automatic Flickr->Blogspot blogging, I set up this miniblog at still-life.fuxoft.cz where I will put the photos. If you want to know what I found, just use This is Still Life's Atom/RSS feed and look at it whenever you are in the mood.

All the photos are linked to their Flickr pages. That means if you find some of them interesting, just click on them and explore the neighboring photos from the same author.

Friday, January 13, 2006

Our country needs strong leaders

Seriously, this is the first time since my early puberty I regret not being U.S. resident and registered voter. This man currently runs for the office of Minnesota Governor. He is Satanic wrestler impaler:



He is way cooler than anyone who ever ran for any office in my country. I certainly hope he wins. Remember that this man was the Governor of Minnesota from 1999 to 2003:



He also starred in Predator:



Although our Minister of Culture starred in several Czech movies, he never ever said anything like "I've got no time to bleed" or used machine gun. Pussy.