문제

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