Skip to content

Some usable tricks in Ubuntu (and any other linux)

How to crack lost rar/zip/7zip archive passwords?

Download rarcrack sources from http://rarcrack.sourceforge.net/ . Unarchive the file, and compile it:

$ make
$ make install

To crack the lost password use it as in the example:

$ rarcrack your_encrypted_archive.ext [--threads thread_num] [--type rar|zip|7z]

If you get any problems, visit its official web site.

How to convert MOV, MP4 video files to AVI?

$ sudo apt-get install ffmpeg

MOV->AVI: $ ffmpeg -i input.mov -sameq -f avi -acodec pcm_u8 output.avi

MP4 can be converted to AVI in the same way. Sometimes (for me – in the case of mp4->avi converting) the output avi file seems to be rather big, so you can encode the video with divx codec:

$ ffmpeg -i output.avi -s 640×480 -vcodec msmpeg4v2 output2.avi

Those tricks work fine for me (with my camera and mobile phone).

To convert videos with the wanted level of quality, you can play with -sameq, -s (size), -vcodec options. For more much info visit the official ffmpeg site.

P.S. some ffmpeg recipes for every day can be found here

Categories: Ubuntu desktop.

Tags: , , , , , , ,

Comment Feed

No Responses (yet)



Some HTML is OK

or, reply to this post via trackback.