Opened 4 years ago

Closed 2 years ago

#8525 closed enhancement (fixed)

Video filter enhancement: new option for filter 'fieldhint'

Reported by: Stanislav Owned by:
Priority: wish Component: avfilter
Version: unspecified Keywords: fieldhint
Cc: Blocked By:
Blocking: Reproduced by developer: no
Analyzed by developer: no

Description

Hi,

Could you implement a new option for the 'fieldhint' filter - template (or pattern).
This will be associated with the option 'mode' with the value 'relative'.

For example we have a hint file (fh.txt) contained only 5 lines:
0,0 -
1,1 -t
1,0 -
1,0 -
1,0 -b

and filter:
fieldhint=fh.txt:relative:template=1

The option 'template = 1' will force the ffmpeg to use the hint file as some kind of template in a cycle not only for frames from 0 to 4, but also for the following groups of 5 frames until the end of the video.
The default value is 0.

I think it is a good idea.

Thank you.

Change History (2)

comment:1 by Stanislav, 4 years ago

The word 'loop' can be used instead of 'template' or 'pattern':

fieldhint=fh.txt:relative:loop=1

comment:2 by Elon Musk, 2 years ago

Resolution: fixed
Status: newclosed
Note: See TracTickets for help on using tickets.