avformat: add vapoursynth wrapper

Multimedia / FFmpeg - wm4 [googlemail.com] - 4 May 2018 15:56 EDT

This can "demux" .vpy files. Autodetection of .vpy scripts is intentionally not done, because it would be a major security issue. You need to force the format, for example with "-f vapoursynth" for the FFmpeg CLI tools.

Some minor code copied from other LGPL parts of FFmpeg.

I did not find a good way to test a few of the more obscure VS features, like VFR nodes, compat pixel formats, or nodes with dynamic size/format changes. These can be easily implemented on demand.

7074a7ccd9 avformat: add vapoursynth wrapper
configure | 5 +
libavformat/Makefile | 1 +
libavformat/allformats.c | 1 +
libavformat/vapoursynth.c | 496 ++++++++++++++++++++++++++++++++++++++++++++++
libavformat/version.h | 2 +-
5 files changed, 504 insertions(+), 1 deletion(-)

  • Share