[FFmpeg-devel] [PATCH] avformat: add vapoursynth wrapper

James Almer jamrial at gmail.com
Sun Apr 29 21:43:37 EEST 2018


On 4/28/2018 2:05 PM, wm4 wrote:
> This can "demux" .vpy files.
> 
> Some minor code copied from other LGPL parts of FFmpeg.
> 
> I did not found a good way to test a few of the more obscure features,
> like VFR nodes, compat pixel formats, or nodes with dynamic size/format
> changes. These can be easily implemented on demand.
> ---
>  configure                 |   5 +
>  libavformat/Makefile      |   1 +
>  libavformat/allformats.c  |   1 +
>  libavformat/vapoursynth.c | 421 ++++++++++++++++++++++++++++++++++++++++++++++
>  4 files changed, 428 insertions(+)
>  create mode 100644 libavformat/vapoursynth.c

https://forum.doom9.org/showthread.php?p=1838296#post1838296

Somebody wrote a similar wrapper by properly assembling rawvideo packets
instead, in a similar way we already do with avisynth.
Could you use that implementation instead? It would be consistent with
existing similar demuxers and much better than using wrapped_avframe.


More information about the ffmpeg-devel mailing list