B
B
bezvozni2021-10-29 19:02:56
fmpeg
bezvozni, 2021-10-29 19:02:56

How to avoid Width not divisible by 2 error in -filter:v scale=360:-1?

The task is to bring any video to a height of 360 and respectively. width.
I use

ffmpeg -i $fIn -filter:v scale=360:-1 -c:a copy $fOut

I get an error
Width not divisible by 2

when original video has odd width

How to avoid this error and why does it appear?

Answer the question

In order to leave comments, you need to log in

1 answer(s)
V
Vadim, 2021-10-29
@bezvozni

dig here
https://stackoverflow.com/questions/20847674/ffmpe...

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question