What’s the difference between a codec and a container or wrapper?

by on Sep.02, 2009, under Knowledge Base

It’s a subject with widespread confusion often leading to only a partial understanding. There are file containers, sometimes called wrappers, that wrap around a number of video and audio tracks. Each of those tracks will have an appropriate video or audio codec. A codec is a concatenation of “coder – decoder”. Basically it’s like using [...]

Leave a Comment more...

ASCII reference chart

by on Jan.13, 2009, under Knowledge Base

Decimal Octal Hex Binary Value ——- —– — —— —– 000 000 000 00000000 NUL (Null char.) 001 001 001 00000001 SOH (Start of Header) 002 002 002 00000010 STX (Start of Text) 003 003 003 00000011 ETX (End of Text) 004 004 004 00000100 EOT (End of Transmission) 005 005 005 00000101 ENQ (Enquiry) [...]

Leave a Comment : more...

Auto login for SSH

by on Jan.13, 2009, under Knowledge Base

Look in your ~/.ssh directory. There should be two files, id_rsa and id_rsa.pub. If not, create them using ssh-keygen -t rsa. Append your local id_rsa.pub to the remote host’s ~/.ssh/authorized_keys. The file mode of ~/.ssh/authorized_keys must be 644. You can assure this with chmod 644 ~/.ssh/authorized_keys For this to work, you might have to change [...]

Leave a Comment more...

Useful *nix shell commands

by on Jan.13, 2009, under Knowledge Base

Find in files find * -exec grep -l ‘pattern’ {} \; or grep -R -i pattern * Find a file and execute a specific command: find path conditions -exec command {} \; e.g. find ./ -name “*.php” -exec cat {} \; Make and burn CD/DVD from folder (OS X) hdiutil makehybrid foldername -o volumename.iso hdiutil [...]

Leave a Comment more...

Getting started with Libxml2 and Python (Part 2)

by on Feb.21, 2007, under Knowledge Base, Technology, Tutorials

After I published the first part of this tutorial, John Dennis gave me some feedback on the xml@gnome.org mailing list (http://mail.gnome.org/archives/xml/2007-February/thread.html). He posed a couple of interesting questions 1. how do I build complex python objects by parsing an XML doc? 2. how can I serialize python objects into XML? Normally I would use pickling [...]

Leave a Comment :, , , , more...

Looking for something?

Use the form below to search the site:

Still not finding what you're looking for? Drop a comment on a post or contact us so we can take care of it!