In BaseVideoConversionConverter it sometimes happens that dimensions are zero.
Can alternate values be used in that case, or can the ArithmeticException be caught and handled?
2024-09-06T07:51:54,088 ERROR [AbstractWork] Exception during work: VideoConversionWork(e4dc3817-298f-406e-8430-e46a6a6b8ad2, , Progress(?%, ?/0), Transcoding) java.lang.ArithmeticException: / by zero at org.nuxeo.ecm.platform.video.convert.BaseVideoConversionConverter.getCmdStringParameters(BaseVideoConversionConverter.java:105) ~[nuxeo-platform-video-2021.36.9.jar:?] at org.nuxeo.ecm.platform.convert.plugins.CommandLineBasedConverter.convert(CommandLineBasedConverter.java:90) ~[nuxeo-core-convert-plugins-2021.50.12.jar:?] at org.nuxeo.ecm.core.convert.service.ConversionServiceImpl.convert(ConversionServiceImpl.java:344) ~[nuxeo-core-convert-2021.47.4.jar:?] at org.nuxeo.ecm.platform.video.service.VideoServiceImpl.convert(VideoServiceImpl.java:179) ~[nuxeo-platform-video-2021.36.9.jar:?] at org.nuxeo.ecm.platform.video.service.VideoConversionWork.work(VideoConversionWork.java:109) ~[nuxeo-platform-video-2021.36.9.jar:?] at org.nuxeo.ecm.core.work.AbstractWork.runWorkWithTransaction(AbstractWork.java:524) [nuxeo-core-event-2021.45.8.jar:?] at org.nuxeo.ecm.core.work.AbstractWork.run(AbstractWork.java:387) [nuxeo-core-event-2021.45.8.jar:?] at org.nuxeo.ecm.core.work.WorkHolder.run(WorkHolder.java:57) [nuxeo-core-event-2021.45.8.jar:?] at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1128) [?:?] at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:628) [?:?] at java.lang.Thread.run(Thread.java:829) [?:?]