html5 and mp4 video files

mp4 (m4v) is supported by most devices (iphone) and browsers (firefox, chrome, IE 9 and Opera).

Video Convert Programs

Handbrake

Handbrake is the best program in Linux to convert mp4 files.

To support mp4 files converting in Ubuntu, one needs to install ffmpeg and libavcodec-extra-53

sudo apt-get install ffmpeg
sudo apt-get install libavcodec-extra-53

To make chromium (Ubuntu) to support mp4, you need to install:
sudo apt-get install chromium-codecs-ffmpeg-extra

My setting for handbrake to convert mp4 for web presentation

Presets: Android Mid
Scaling 480x272
Frame Rate 12 (If a lecturer is sitting in the class... rate can be 10; for a action movie, rate can be 15 or 19)
Video Encodec H.264(x264)

Audio: English (aac) (2.0 ch), Encoder: aac (faac) 64 Birate, stereo. (96 for music)

Download my personal Presets for Handbrake: Here

Video and Audio codes explained:
https://trac.handbrake.fr/wiki/Encoders
======================================
OLD POST
======================================

WinFF in Ubuntu

WinFF Options:
FLV Dharma Talk/Lectures (speaker sitting without too much movement):
Output flv
Video Frame Rate: 15
Video Size: 640x360 for Widescreen and 640x480 for 4x3 screen
Audio Bitrate: 96
Audio Sample Rate: 48000 Hz
Audio Channel 2

FLV action movie:
Output flv
Video Frame Rate: 29
Video Size: 640x360 for Widescreen and 640x480 for 4x3 screen
Audio Bitrate: 96
Audio Sample Rate: 48000 Hz
Audio Channel 2

FLV Music movie:
Output flv
Video Frame Rate: 29
Video Size: 640x360 for Widescreen and 640x480 for 4x3 screen
Audio Bitrate: 128
Audio Sample Rate: 48000 Hz
Audio Channel 2

In Linux use winFF to convert videos to flv, read instruction here:
http://thanhsiang.org/faqing/node/191

=================
MS Windows Program used:
Allok Video to FLV Converter
Note: I have a portable version. Located at: sftp://it@192.168.1.200:2222/home/it/cloud/share

Setting for Allok Video to FLV Converter:
Video Quality: Good
Video Codec:flv
Resolution: 480x360 (if original is HD)
Framerate: 10 fbs (Action movei: 15 fbs)

Audio Quality: 64 kbps
Audio Codes: mp3
Channels: 2 Channels Stereo
Sample Rate: 44100 Hz

After converting to FLV, we can put the video files here:
sftp://it@192.168.1.200:2222/home/it/cloud/www/multimedia/files