View Single Post
aflegg's Avatar
Posts: 1,463 | Thanked: 81 times | Joined on Oct 2005 @ UK
#113
Originally Posted by Serge
Just tested this encoder, it works fine for 16:9 widescreen movies and produces video with very good quality. But when I tried to convert 640x480 video, it got cropped too much to fit 400x240. Also when I tried adding '-o' option, it was converted to 400x304 which is not very good for mplayer. So the only thing I'm still missing is proper conversion for 4:3 movies. Anyway, good work, it's a very useful tool =b
What's the best 4:3 ratio for mplayer? Presumably you'd want the height to be maximum, and the width to be minimum. However, the amount of cropping can be reduced (it's the @cropLimit definition at the start of the code). Does mplayer need the multiple-of-16 size that the built-in video player does?

Would it be better in general if the width declared in the preset was ignored for 4:3 stuff (i.e where it's taller than wider) in the original aspect?

To be honest, actually I noticed some framedrops on complicated panning scenes with this preset, but it still looks quite acceptable or even good. And we still have potential for quite a noticeable performance improvement by using YUV colorspace directly. Also video decoder from ffmpeg library that is used in mplayer can be probably better optimized for arm
Cool, I'll leave its bitrates as-is for the moment, but they can be tweaked when new versions come out.

Cheers,

Andrew
__________________
Andrew Flegg -- mailto:andrew@bleb.org | http://www.bleb.org
Now known as
Jaffa