I provided some post-production effects for a new video by local jazz/metal fusion outfit Meatfeast.
They’re doing a release party for the video and for their new EP on 5th August 2011 at Scruffy Murpheys, Dale End, West Midlands, B4 7LN, Birmingham, UK [map]. More information is available at the Facebook Event invite. Hopefully they’ll be showing the finished video, which will include my work, otherwise a rough edit will be shown.
Regardless, I’ll be sure to share the video when it’s finally up on t’internet.
A limited amount of glitched badges featuring stills from this video are now available for £2.25 plus postage and packaging. Sold in packs of two randomly chosen designs. Can also be exchanged for beer</joke>
Ever since seeing Radio Dada by Rosa Menkman I’ve been forever trying to reproduce the style of compression/glitches it uses.
In my limited knowledge about the production of the video I do know what it uses compression artifacts found in the Cinepak codec. So, I set out to try and find a way of converting a video to a video that uses the Cinepak codec. If you’ve been following me you’ll that I’ve asked for help on manyfora and mailing lists for help with initially little success.
Hidden somewhere in the documentation for MEncoder is a page detailing how to use Windows codecs on Linux for encoding. The copy of the Cinepak codec (iccvid.dll) that came with MEncoder/medibuntu was a bit broken so I had to use Google to download a new version.
Once I had that I used MEncoder to convert a video to an avi with the Cinepak codec. (I’m using mencoder version 2:1.0~svn33951~natty):
Unfortunately for me this did not produce the compression artifacts that I was after. I tried reencoding the video using the Cinepak codec several times but this only just made the video darker:
Also, my attempt to encode the video using the Cinepak codec but with a low bitrate didn’t work as, at least when using MEncoder, the codec doesn’t have any encoding options. Drats! With that said, if anyone knows of a way of encoding using Cinepak with low/different bitrates on Linux using only freely available/open source software please do let me/the world know.
After this I felt very disheartened until I did a little bit of digging into the actual codec. I discovered that this codec is one of a few is based on Vector Quantization. I don’t know much about this but I felt that this must be the key. The video codecs that are based on Vector Quantization are Sorenson, Indeo and VQA.
I had no luck finding a way of converting to Sorenson and Indeo. However, I’ve had more luck with VQA. Wikipedia has a bit of information on the codec:
Vector Quantized Animation, known by its acronym VQA is a file format originally developed by Westwood Studios for video encoding in their game The Legend of Kyrandia and monopoly.
If you ever came across a Sega Saturn you probably will have come across videos encoded using VQA. As that Wikipedia article states, apart from the one used by Westwood Studios, only one VQA encoder exists. VQA Encoder v0.5 beta 2 by ugordan is the only known VQA encoder and luckily it works perfectly using Wine (I’m using version 1.2.3-0ubuntu1~ppa1) on Ubuntu 11.04. You’ll have to download some additional DLLs. Just do some research to find out which ones.
In order to use the software you need to convert your video to image files. I’ve had luck with converting the video to PCX files using FFMPEG:
ffmpeg -i infile.avi -sameq outfile_%03d.pcx
Then, in the VQA Encoder v0.5 beta 2 copy these options:
VQA encoder options
The program will automatically recognise that there are many images in the folder. After encoding has finished you should have a file called out_.vqa. In FFMPEG execute:
ffmpeg -i out_.vqa -sameq outfile.avi
You should now have a video that has similar compression to the Cinepak codec used with low bitrates: