doc/examples/filtering_video: better demo ffmpeg filters; demos chaining the filters
authorHarshit Mittal <h.mittal83@gmail.com>
Wed, 5 Aug 2015 19:41:49 +0000 (12:41 -0700)
committerMichael Niedermayer <michael@niedermayer.cc>
Fri, 28 Aug 2015 10:53:35 +0000 (12:53 +0200)
Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
doc/examples/filtering_video.c

index c02040a..5685380 100644 (file)
 #include <libavfilter/buffersrc.h>
 #include <libavutil/opt.h>
 
-const char *filter_descr = "scale=78:24";
+const char *filter_descr = "scale=78:24,transpose=cclock";
+/* other way:
+   scale=78:24 [scl]; [scl] transpose=cclock // assumes "[in]" and "[out]" to be input output pads respectively
+ */
 
 static AVFormatContext *fmt_ctx;
 static AVCodecContext *dec_ctx;