From 3f9ab7f6476ecfb9feef5380e3be6d280f1de76d Mon Sep 17 00:00:00 2001 From: deva Date: Mon, 16 May 2005 11:13:24 +0000 Subject: Optimized some encoding parameters. --- configure.in | 2 +- src/mov_encoder.cc | 8 ++++++-- 2 files changed, 7 insertions(+), 3 deletions(-) diff --git a/configure.in b/configure.in index d123944..6d10686 100644 --- a/configure.in +++ b/configure.in @@ -1,6 +1,6 @@ # Filename: configure.in AC_INIT(src/miav.cc) -AM_INIT_AUTOMAKE( miav, 0.1.3 ) +AM_INIT_AUTOMAKE( miav, 0.2.0 ) AC_PROG_CXX diff --git a/src/mov_encoder.cc b/src/mov_encoder.cc index ec59687..9e4e6f5 100644 --- a/src/mov_encoder.cc +++ b/src/mov_encoder.cc @@ -39,6 +39,10 @@ /* * $Log$ + * Revision 1.18 2005/05/16 11:13:24 deva + * + * Optimized some encoding parameters. + * * Revision 1.17 2005/05/16 10:45:10 deva * Added new entries to fame parameter struct (bitrate omongst other things) * @@ -143,11 +147,11 @@ MovEncoder::MovEncoder(const char *filename) // to JPEG), whereas P and B frames are motion compressed, respectively // predicted from past reference (I or P) frame, or bidirectionally predicted // from past and future reference frame. - static const char coding[] = "IPPPP\0"; + static const char coding[] = "IPPPPPPPPPPPPPPPPPPPPPPP\0"; fame_par.coding = coding; // quality is a percentage, which controls compression versus quality. - fame_par.quality = 100; // FIXME: This should be in config file! + fame_par.quality = 80; // FIXME: This should be in config file! ///////////////////////////// fame_par.bitrate = 0; /* video bitrate (0=VBR)*/ -- cgit v1.2.3