view DOCS/tech/swscaler_filters.txt @ 24589:9118be6575da

demux_audio.c: Fix timestamp handling The code calculated the pts values of audio packets by adding the length of the current packet to the pts of the previous one. The length of the previous packet should be added instead. This broke WAV timestamps near the end of the stream where a short packet occurs. Change the code to store the pts of the next packet instead of the last one. This fixes the WAV timestamps and allows some simplifications. MP3 timestamps are not affected as packets are always treated as constant decoded length, and FLAC timestamps still have worse problems (FLAC is treated as as if it was constant bitrate even though it isn't). Also store the timestamps as double instead of float.
author uau
date Mon, 24 Sep 2007 21:49:56 +0000
parents 780caed72ac7
children 0ad2da052b2e
line wrap: on
line source

software scaler filter docs

-ssf cgb=<float> chrominance gaussian blur
	useful for videos with some chroma (color) noise (TV captures, VHS, ...)

-ssf lgb=<float> -> luminance gaussian blur
	hmm, mostly special effect, could be used as lame noise reducer though

-ssf chs=<int> -> shift chrominance horizontally
-ssf cvs=<int> -> shift chrominance vertically
	useful if the luma & chroma are not aligned exactly

-ssf cs=<float> -> chrominance sharpen
-ssf ls=<float> -> luminance sharpen
	simple sharpening filter

note: these will only work if the swscaler is used at all (use -vf scale)

example: mplayer foobar.avi -vf scale -ssf lgb=3.0