[FFmpeg-trac] #10509(undetermined:new): `select` filter doesn't support `ih` and `iw` constants
FFmpeg
trac at avcodec.org
Mon Aug 7 17:08:25 EEST 2023
#10509: `select` filter doesn't support `ih` and `iw` constants
-------------------------------------+-------------------------------------
Reporter: | Type: defect
alexey.rodionov |
Status: new | Priority: normal
Component: | Version:
undetermined | unspecified
Keywords: filter | Blocked By:
Blocking: | Reproduced by developer: 0
Analyzed by developer: 0 |
-------------------------------------+-------------------------------------
Running e.g. the following command:
{{{
ffmpeg -i input.mp4 -vf select='gt(ih\,1080)',scale=-2:1080 output.mp4
}}}
causes the following error:
{{{
[Parsed_select_0 @ 00000196cee7f500] [Eval @ 00000087f25fe3d0]
Undefined constant or missing '(' in 'ih,1080)'
[Parsed_select_0 @ 00000196cee7f500] Error while parsing expression
'gt(ih,1080)'
[AVFilterGraph @ 00000196cee7f440] Error initializing filters
Invalid argument
}}}
Support for `ih` and `iw` constants in the `select` filter would allow
interesting complex one-line filters.
--
Ticket URL: <https://trac.ffmpeg.org/ticket/10509>
FFmpeg <https://ffmpeg.org>
FFmpeg issue tracker
More information about the FFmpeg-trac
mailing list