diff -r -u a/ffmpeg2theora.1 b/ffmpeg2theora.1 --- a/ffmpeg2theora.1 2013-11-10 00:09:32.000000000 -0500 +++ b/ffmpeg2theora.1 2013-11-10 00:59:50.000000000 -0500 @@ -130,10 +130,6 @@ bigger than provided parameter .SS Video transfer options: .TP -.B \-\-pp -Video Postprocessing, denoise, deblock, deinterlacer -use \-\-pp help for a list of available filters. -.TP .B \-C, \-\-contrast [0.1 to 10.0] contrast correction (default: 1.0). Note: lower values make the video darker. .TP diff -r -u a/SConstruct b/SConstruct --- a/SConstruct 2013-11-10 00:09:32.000000000 -0500 +++ b/SConstruct 2013-11-10 00:42:36.000000000 -0500 @@ -149,9 +149,8 @@ "libavformat", "libavfilter", "libavcodec >= 52.30.0", - "libpostproc", "libswscale", - "libswresample", + "libavresample", "libavutil", ] if os.path.exists("./ffmpeg"): diff -r -u a/src/ffmpeg2theora.c b/src/ffmpeg2theora.c --- a/src/ffmpeg2theora.c 2013-11-10 00:09:32.000000000 -0500 +++ b/src/ffmpeg2theora.c 2013-11-10 01:08:03.000000000 -0500 @@ -31,7 +31,7 @@ #include "libavformat/framehook.h" #endif #include "libswscale/swscale.h" -#include "libpostproc/postprocess.h" + #include "theora/theoraenc.h" #include "vorbis/codec.h" @@ -522,8 +522,6 @@ AVStream *vstream = NULL; AVCodec *acodec = NULL; AVCodec *vcodec = NULL; - pp_mode *ppMode = NULL; - pp_context *ppContext = NULL; int sws_flags = this->resize_method; float frame_aspect = 0; double fps = 0.0; @@ -861,13 +859,6 @@ this->deinterlace==-1) fprintf(stderr, " Deinterlace: off\n"); - if (strcmp(this->pp_mode, "")) { - ppContext = pp_get_context(display_width, display_height, PP_FORMAT_420); - ppMode = pp_get_mode_by_name_and_quality(this->pp_mode, PP_QUALITY_MAX); - if(!(info.twopass==3 && info.passno==2) && !info.frontend) - fprintf(stderr, " Postprocessing: %s\n", this->pp_mode); - } - if (venc->color_primaries == AVCOL_PRI_BT470M) this->colorspace = TH_CS_ITU_REC_470M; else if (venc->color_primaries == AVCOL_PRI_BT470BG) @@ -1445,12 +1436,6 @@ } // now output - if (ppMode) - pp_postprocess((const uint8_t **)output->data, output->linesize, - output->data, output->linesize, - display_width, display_height, - output->qscale_table, output->qstride, - ppMode, ppContext, this->pix_fmt); #ifdef HAVE_FRAMEHOOK if (this->vhook) frame_hook_process((AVPicture *)output, this->pix_fmt, display_width,display_height, 0); @@ -1759,8 +1744,6 @@ } oggmux_close(&info); - if (ppContext) - pp_free_context(ppContext); if (!info.audio_only) { av_free(frame_p); frame_dealloc(output_p); @@ -2069,8 +2052,6 @@ " resizing methods\n" "\n" "Video transfer options:\n" - " --pp Video Postprocessing, denoise, deblock, deinterlacer\n" - " use --pp help for a list of available filters.\n" " -C, --contrast [0.1 to 10.0] contrast correction (default: 1.0)\n" " Note: lower values make the video darker.\n" " -B, --brightness [-1.0 to 1.0] brightness correction (default: 0.0)\n" @@ -2358,14 +2339,6 @@ } flag = -1; break; - case PP_FLAG: - if (!strcmp(optarg, "help")) { - fprintf(stdout, "%s", pp_help); - exit(1); - } - snprintf(convert->pp_mode,sizeof(convert->pp_mode),"%s",optarg); - flag = -1; - break; case RESIZE_METHOD_FLAG: if (!strcmp(optarg, "help")) { print_resize_help(); Only in b: symbolic-link-to-libav-build-dir-named-ffmpeg