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

James Almer jamrial at gmail.com
Fri May 4 19:30:38 EEST 2018


On 5/4/2018 12:58 PM, wm4 wrote:
> On Sat, 28 Apr 2018 19:05:29 +0200
> wm4 <nfxjfg at googlemail.com> 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
>>
> 
> Pushed, with some minor changes, and zero-copy frame passing.

The first step to fix something (in this case, usage sizeof(AVFrame)
outside libavutil) is not adding even more cases of the issue in question.
You still can replace this with rawvideo. Someone even already wrote it
for you.

Lets try to abide our own ABI rules...


More information about the ffmpeg-devel mailing list