Closed (fixed)
Project:
Video
Version:
7.x-2.10
Component:
Video Transcoding
Priority:
Major
Category:
Bug report
Assigned:
Unassigned
Reporter:
Created:
18 May 2013 at 02:08 UTC
Updated:
2 Jun 2013 at 00:20 UTC
in transcoders/TranscoderAbstractionFactoryFfmpeg.inc in setAspectRatioOptions() a width and height are computed and passed into ffmpeg as scale=$width:$height. If either of these numbers is not even ffmpeg fails.
Solution is to put the following (or similar) before the place where scale=$width:$height is constructed (in case 'preserve' around like 697):
if (($width % 2) == 1) {
$width--;
}
if (($height % 2) == 1) {
$height--;
}
Comments
Comment #1
Jorrit commentedFixed in 7.x-2.x-dev. Please let me know if it works for you.
Comment #2
mikel1 commentedWorks like a charm. Thanks for the quick turnaround!