View Single Post
pmaxx69's Avatar
Posts: 44 | Thanked: 3 times | Joined on Jun 2007 @ Italy
#5
Hi!
thanks for your reply.

According to what I saw in the profile, it seems you are forcing the frame rate to 25. Why not leave it as source frame rate?
You can remove '-r 25' from the file ini.
If you delete the file ini, the file will be created again with the default settings.
I have forced to 25 because sometimes FFMPEG does not recognize the source frame rate (in some video that i have tested).
In the next version i will add a option to force the destination frame rate to any value or to leave as is.

The target bitrate for video (512 kbps) seems to me a little bit low. I would target 784 kbps
If you make some tests, please let me know :-)

I will make some tests with various content I have. I very interested to see how you manage video size / aspect ratio transformation.
If you are interested, this is the formula that i use:

Width/Height: Source video resolution
dstWidth/dstHeight: Destination video resolution
maxWidth/maxHeight: Max Width/Height destination video resolution (400x240 or 400x224)
VideoRatio = Width/Height

1) - Fit Width
dstWidth = maxWidth
dstHeight = Round((1/VideoRatio) * dstWidth/16)*16 : I use multiples of 16

2) - Fit Height
dstHeight = maxHeight
dstWidth := Round(VideoRatio * dstHeight/16)*16;

3) - Stretch
dstWidth = maxWidth
dstHeight = maxHeight

Then i calc the crop values (multiples of 2) to pass to FFMPEG if dstHeight>maxHeight or dstWidth>maxWidth

I want add a option to force destination VideoRatio (in the next versions).

Paolo