質問

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