View Single Post
Posts: 503 | Thanked: 267 times | Joined on Jul 2006 @ Helsinki
#114
Originally Posted by aflegg
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).
Probably crop limit should be set so that it is just enough to convert from 16:9 to 15:9 (from wide screen resolution to Nokia 770 fullscreen). Also maybe just changing aspect ratio a bit can be unnoticeable and it is ok to just scale 16:9 movies to 400x240 even without cropping. For 4:3 it is better to scale to 320x240 in mplayer. To sum up, any video converted for mplayer should have either width equal to 400 or height equal to 240 or both

Does mplayer need the multiple-of-16 size that the built-in video player does?
MPEG4 is internally using blocks for video compression, so probably using non multiple-of-16 size may result special processing and be inefficient. But I did not look into video decoding logic yet, so don't know for sure. I'm just going to look into mpeg4 (and probably also h264) decoding optimizations.

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?
Any solution is ok if it helps to produce files with height not exceeding 240