Closed (fixed)
Project:
FFmpeg Converter
Version:
6.x-1.0-beta1
Component:
Code
Priority:
Normal
Category:
Bug report
Assigned:
Unassigned
Reporter:
Created:
16 Mar 2009 at 12:49 UTC
Updated:
4 May 2009 at 21:20 UTC
Jump to comment: Most recent file
Comments
Comment #1
zoo33 commentedThat's probably a good idea. It's officially on the to do-list.
Comment #2
jax commentedWell, I've also changed my mind somewhat. There should be a third option that the generated video is the size you want and the video respects the ratio. The rest should be padded. I'm not sure what the original idea of the module was but currently my video's aren't getting padded.
Comment #3
jax commentedApparently the original code in ffmpeg_converter intended to do what I want but it didn't work because of a typo. Please find a patch attached which fixed the type.
Comment #4
jax commentedThat doesn't work. Padding size must also be a multiple of 2. New patch, but it needs some refactoring.
Comment #5
zoo33 commentedOh, that's a bad typo. Good catch.
Are you sure the padding needs to be a multiple of 2? In that case I think I should revert the code to what we had a couple of revisions ago:
That doesn't take care of width and height being multiples of 2 though, but that's easy enough to add in.
Comment #6
jax commentedYes, please try to convert a file with ffmpeg and an odd padbottom/padtop. It will spew an error, that is how I catched it. This is with ffmpeg:
Comment #7
zoo33 commentedPlease try this patch. It's supposed to make all calculated values multiples of 2.
Comment #8
zoo33 commentedI went ahead and committed this patch, even though it hasn't been properly tested. I think it's an improvement to the current situation in any case. Testing of the -dev version would be greatly appreciated!