Вопрос

Is there any way to fill video without stretching and cutting the video ?

1- MPMovieScalingModeFill - its stretching video. 2- MPMovieScalingModeAspectFill - its cutting video. 3- MPMovieScalingModeAspectFit - its shooing video in centre and showing black area.

Это было полезно?

Решение

No. Think about it! The MPMoviePlayerController's view is not the same aspect (ratio height to width) as the movie. So to make it fit, either you must cut some off (of either height or width), or you must letterbox it (black area) with one dimension being too small, or you must distort.

You should do the opposite: size the MPMoviePlayerController's view to fit the aspect of the movie!

Лицензировано под: CC-BY-SA с атрибуция
Не связан с StackOverflow
scroll top