|
FFmpeg
|
remove judder in video stream More...
#include "libavutil/opt.h"#include "libavutil/mathematics.h"#include "avfilter.h"#include "internal.h"#include "video.h"Classes | |
| struct | DejudderContext |
Macros | |
| #define | OFFSET(x) offsetof(DejudderContext, x) |
| #define | FLAGS AV_OPT_FLAG_FILTERING_PARAM | AV_OPT_FLAG_VIDEO_PARAM |
Typedefs | |
| typedef struct DejudderContext | DejudderContext |
Functions | |
| AVFILTER_DEFINE_CLASS (dejudder) | |
Variables | |
| AVFilter | ff_vf_dejudder |
remove judder in video stream
Algorithm:
If the old packets had PTS of old_pts[i]. Replace these with new value based on the running average of the last n=cycle frames. So
new_pts[i] = Sum(k=i-n+1, i, old_pts[k])/n
For any repeating pattern of length n of judder this will produce an even progression of PTS's.
| AVFilter ff_vf_dejudder |
1.8.12