Opened 13 months ago

Last modified 13 months ago

#8525 new enhancement

Video filter enhancement: new option for filter 'fieldhint'

Reported by: ssp43 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 (1)

comment:1 Changed 13 months ago by ssp43

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

fieldhint=fh.txt:relative:loop=1

Note: See TracTickets for help on using tickets.