Browse Source

doc/examples/filtering_video: better demo ffmpeg filters; demos chaining the filters

Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
tags/n2.8
Harshit Mittal Michael Niedermayer 10 years ago
parent
commit
53bf32fa42
1 changed files with 4 additions and 1 deletions
  1. +4
    -1
      doc/examples/filtering_video.c

+ 4
- 1
doc/examples/filtering_video.c View File

@@ -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;


Loading…
Cancel
Save