Opened 4 days ago

Last modified 4 days 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, 4 days ago

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

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

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