diff options
author | Harshit Mittal <h.mittal83@gmail.com> | 2015-08-05 12:41:49 -0700 |
---|---|---|
committer | Michael Niedermayer <michael@niedermayer.cc> | 2015-08-28 12:53:35 +0200 |
commit | 53bf32fa4270eb60f3bf25b5bd3d1f97381d4661 (patch) | |
tree | 18315669768734a465145ed34bf4c5e6769392d2 /doc | |
parent | 24e0b14c4f8b8544efe07ccf951f778d856b131d (diff) | |
download | ffmpeg-53bf32fa4270eb60f3bf25b5bd3d1f97381d4661.tar.gz |
doc/examples/filtering_video: better demo ffmpeg filters; demos chaining the filters
Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
Diffstat (limited to 'doc')
-rw-r--r-- | doc/examples/filtering_video.c | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/doc/examples/filtering_video.c b/doc/examples/filtering_video.c index c02040ae35..5685380ff1 100644 --- a/doc/examples/filtering_video.c +++ b/doc/examples/filtering_video.c @@ -38,7 +38,10 @@ #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; |