After some investigating, it appears that this is controlled by a gconf setting. To set zip as the default compression method, hit Alt+F2 to launch the 'Run Application' window. Type 'gconf-editor' in the box and hit the 'Run' button. This can be seen in the screenshot below.
Once you hit the 'Run' button, a window like the one below will appear. This is the Configuration Editor.
The compression feature of nautilus really uses file-roller
. To get to the file-roller settings, start by expanding the 'apps' folder.
Next, find and expand the 'file-roller' folder.
Expand the 'dialogs' folder.
Select the 'batch-add' folder.
You should now see an item with the name of 'default_extension' in the section on the right. You will want to click on the 'Value' field and change whatever was previously there to '.zip'.
Now, if you close the configuration editor and open nautilus, .zip should be the default compression method.
WOW!
H264 is a high quality video codec but (as you refer), it makes "heavy" size video files.
I am not sure if your question is related to a GUI or Command Line task. But, assumming that you are using "Transmaggedon" I will write this considering the options for GUI applications.
In my case, I prefer the usage of "Mobile Media Converter" which works pretty fine in 32bit systems (both Ubuntu and MS based systems). And the creators have already released a 64 bit version nowadays.
What you wish is to make smaller size video files. Which can be done by changing the "video bit rate", which will give you the best quality, according to the video bit rate you request. In example: a 40MB video file (uncompressed, AVI) will fit in a 5MB video file (any codec) if you use a 800kbps video bit rate. But -of course- it may harm the quality.
I strongly suggest you to perform some testing using the Mobile Media Converter, which can be reached (.deb) by clicking the next link:
http://www.miksoft.net/mobileMediaConverter.htm
After installing, just drop any video files (preferably small for the test) into the drag and drop area, then open the Advanced options by clicking a small arrow that is placed at the very right of the window, below the "browse" button. "[ ... ]"
Next, click in "Advanced" and you will have all the options that you need in order to transcode your video and make small and good quality transcodification.
Remember: The higher video bit rate is, you will have better quality but the file size will become "heavier".
BTW: You can also transcode videos by using a non linear editing system, such as "Kdenlive" (http://www.kdenlive.org/) or "Openshot" (http://www.openshotvideo.com/) and many more. A non linear editing system will also be useful to edit the video (trim, crop, add text and more).
Good luck!
Here is a screenshot for you to see a few options of Mobile Media Converter in action.
Best Answer
Simply run:
Other options for this setting:
very_fast
fast
normal
Edit: This doesn't appear to be well implemented. I have compressed a text file (highly compressible) using a number of different formats using
normal
andmaximum
settings:zip
was the only format that showed any real difference (still tiny on the scale of things).