Opened 5 weeks ago

Last modified 5 weeks ago

#11261 new enhancement

Allow scientific notation in all filters

Reported by: Jozef Chutka Owned by:
Priority: normal Component: avfilter
Version: git-master Keywords:
Cc: Jozef Chutka, MasterQuestionable Blocked By:
Blocking: Reproduced by developer: no
Analyzed by developer: no

Description

Using ffmpeg version 7.0, some filters accept values as scientific notation and some do not.

For example sine and volume works with i.e. ".5e0":

ffmpeg -filter_complex "sine=beep_factor=.5e0,volume=eval=frame:volume=t*.05e1" -t 5 out.mp4

While apad does not:

ffmpeg -filter_complex "sine=beep_factor=.5e0,apad=whole_dur=1e1" -t 5 out.mp4
// [Parsed_apad_1 @ 0x11c62eb20] Unable to parse option value "1e1" as duration

Change History (1)

comment:1 by MasterQuestionable, 5 weeks ago

Cc: MasterQuestionable added
Component: undeterminedavfilter
Type: defectenhancement
Version: unspecifiedgit-master

͏    Probably the core is consistent handling of numerals across various interfaces..?

Last edited 5 weeks ago by MasterQuestionable (previous) (diff)
Note: See TracTickets for help on using tickets.