[FFmpeg-user] Problem with -vf fillborders on 16 bit image

Gyan ffmpeg at gyani.pro
Tue Mar 12 06:45:07 EET 2019



On 12-03-2019 01:04 AM, Ulf Zibis wrote:
> Am 11.03.19 um 20:27 schrieb Paul B Mahol:
>> On 3/11/19, Ulf Zibis <Ulf.Zibis at gmx.de> wrote:
>>> Am 09.03.19 um 09:39 schrieb Paul B Mahol:
>>>> On 3/9/19, Ulf Zibis <Ulf.Zibis at gmx.de> wrote:
>>>>> Another question is, why the fillborders doesn't check if the input is
>>>>> writable, as suggested in doc/writing_filters.txt.
>>>>>
>>>> Because it request writtable frames.
>>> Hey Paul, how is this managed?
>>> I don't see something like "get writable frame".
>> It is at bottom.
> Do you mean
>      .flags         = AVFILTER_FLAG_SUPPORT_TIMELINE_GENERIC,
>

No, in here:

static const AVFilterPad fillborders_inputs[] = {
     {
         .name           = "default",
         .type           = AVMEDIA_TYPE_VIDEO,
         .config_props   = config_input,
         .filter_frame   = filter_frame,
         .needs_writable = 1,
     },
     { NULL }
};


Gyan


More information about the ffmpeg-user mailing list