Open andyryan opened 8 years ago
same problem here.
I managed to work around this by directly invoking the scale filter using the convert_options param
convert_options: {
output: {
vf: 'scale="min(1080\, iw):min(1080\, ih)":force_original_aspect_ratio=decrease'
}
}
The code that parses the geometry actually expects the modifier as the first character (e.g., "#100x100"), which differs from the README; but even if you pass the geometry in this way, the parsed flags are ignored.
I need to be able to upload videos of any size up to a maximum of 1080 pixels in either direction and create an equivalent thumbnail image.
However the options !, #, >, and < are ignored
produces the following log
and the output image is always 1080x1080 regardless of input dimensions (in test case 640x360)