[FFmpeg-user] Mystery error initializing complex filters -- bug?

Mark Filipak (ffmpeg) markfilipak at bog.us
Mon Mar 22 09:42:06 EET 2021


On 2021-03-22 03:28, Paul B Mahol wrote:
> On Mon, Mar 22, 2021 at 8:17 AM Mark Filipak (ffmpeg) <markfilipak at bog.us>
> wrote:
> 
>> On 2021-03-22 03:00, Paul B Mahol wrote:
>>> On Mon, Mar 22, 2021 at 6:43 AM Mark Filipak (ffmpeg) <
>> markfilipak at bog.us>
>>> wrote:
>>>
>>>> Hi All,
>>>>
>>>> A little help, please.
>>>>
>>>> Using the latest git source, using '-filter_complex_script', I get a
>>>> mystery error.
>>>>
>>>> I have checked the filter_complex_script: 23fps.ffmpeg.filter.txt, for
>>>> errors. Especially I've
>>>> checked that every input pad (especially [AA1]) has one and only one
>>>> matching output pad, and that
>>>> every output pad (especially [AA1]) has one and only one matching input
>>>> pad.
>>>>
>>>> Can you suggest any other checks or should I file a bug now?
>>>>
>>>
>>> This is not a bug. Repeat, this is not a bug.
>>
>> Then the [AA1] pad failure is by design? Is 'AA1' a reserved word?
>>
> 
> PEBKAC is exact rerserved word for such situations like this one.
> 
> 
>>
>>> If you do not understand how filtergraphs works I advise to use some
>> other
>>> tool.
>>
>> I've been using filtergraphs for quite a long time.
>>
> 
> Yet, you still have not learnt that by default split filter will give you
> only 2 outputs.

Thanks, Paul.

If you look, I had 'split=4' in 2 places, but missed 'split=5' in 2 places. Further, in modulos, I 
had 'N' in some places instead of 'n'. The job is now running.

I guess I'm not perfect. How about you? Do you write perfect code, first time? Never need to debug?


More information about the ffmpeg-user mailing list