Opened 3 hours ago

#11261 new defect

Allow scientific notation in all filters

Reported by: Jozef Chutka Owned by:
Priority: normal Component: undetermined
Version: unspecified Keywords:
Cc: Jozef Chutka 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 (0)

Note: See TracTickets for help on using tickets.