Mercurial > libavcodec.hg
comparison avcodec.h @ 3061:259fed5adf5d libavcodec
sc_factor support for encoding.
Here's the description I'll add to the mplayer man page:
---
Causes frames with higher quantizers to be more likely to trigger a
scene change detection and make libavcodec use an I-frame (default: 1).
1-16 is a sane range.
Values between 2 and 6 may yield increasing PSNR (up to approximately
0.04 dB) and better placement of I-frames in high-motion scenes.
Higher values than 6 may give very slightly better PSNR (approximately
0.01 dB more than sc_factor=6), but noticably worse visual quality.
---
Original idea from Michael; patch by me.
| author | corey |
|---|---|
| date | Sun, 22 Jan 2006 20:54:52 +0000 |
| parents | 0d08717a0156 |
| children | f02d0b59279c |
comparison
equal
deleted
inserted
replaced
| 3060:a2f611d6c34d | 3061:259fed5adf5d |
|---|---|
| 1987 * audio cutoff bandwidth (0 means "automatic") . Currently used only by FAAC | 1987 * audio cutoff bandwidth (0 means "automatic") . Currently used only by FAAC |
| 1988 * - encoding: set by user. | 1988 * - encoding: set by user. |
| 1989 * - decoding: unused | 1989 * - decoding: unused |
| 1990 */ | 1990 */ |
| 1991 int cutoff; | 1991 int cutoff; |
| 1992 | |
| 1993 /** | |
| 1994 * multiplied by qscale for each frame and added to scene_change_score | |
| 1995 * - encoding: set by user. | |
| 1996 * - decoding: unused | |
| 1997 */ | |
| 1998 int scenechange_factor; | |
| 1992 } AVCodecContext; | 1999 } AVCodecContext; |
| 1993 | 2000 |
| 1994 /** | 2001 /** |
| 1995 * AVCodec. | 2002 * AVCodec. |
| 1996 */ | 2003 */ |
