I use ffmpeg for the encoding. [If you're on Ubuntu, use the Medibuntu
repository for additional codecs].

vcodec is H264
acodec is AAC

here's the command line:
ffmpeg -y -threads 4  -i 'input.vob' -s 320x240 -r 29.97   -vcodec h264  -g
300  -aspect 320:240  -qmin 27 -b 400  -level 13 -loop 1 -sc_threshold 40
-partp4x4 1 -refs 3 -qmax 51 -maxrate 700  -async 50  -acodec aac  -ar
44100  -ac 2  -ab 128 out.mp4

that commandline is from iSquint (a mac app that uses ffmpeg) so that the
resulting video can be compatible with iPods.

but of course you can tweak the video bitrate, q, audio bitrate, etc. Plays
cool on our CRT monitor.

i also use this to convert dvd movies to fit my cellphone. however, I need
to change video codec to MPEG4 to be able to play it on my SonyEricsson
K530i.

On Wed, Oct 14, 2009 at 7:04 PM, Winelfred G. Pasamba <
[email protected]> wrote:

> On Wed, Oct 14, 2009 at 9:57 AM, Michael Janapin
> <[email protected]> wrote:
> > H264 and AAC can have very low bitrates and still maintain good quality.
> >
> > I have compressed a two-hour movie using H264+AAC in an MP4 container to
> a
> > 117MB file. It still has fair quality when seen using a TV screen/ CRT
> > monitor.
>
> most dvd players are still connected to TVs using composite video
> cable (which is 320x240 anyway).
>
> how did you do the two hour 117mb mp4?
> _________________________________________________
> Philippine Linux Users' Group (PLUG) Mailing List
> http://lists.linux.org.ph/mailman/listinfo/plug
> Searchable Archives: http://archives.free.net.ph
>



-- 
Michael R. Janapin
Systems Administrator
PBTS Baguio City, Philippines
http://mulingsilang.wordpress.com
_________________________________________________
Philippine Linux Users' Group (PLUG) Mailing List
http://lists.linux.org.ph/mailman/listinfo/plug
Searchable Archives: http://archives.free.net.ph

Reply via email to