Thanks to visit codestin.com
Credit goes to github.com

Skip to content

caxton/VideoRatioProblemPerDevice

 
 

Repository files navigation

VideoRatioProblemPerDevice

Issue with the Samsung Galaxy S3 not playing videos at the correct ratio

Issue with the MediaPlayer not retrieving the correct video width x height.

I have now updated this repo with a fix for this issue by hard coding the WxH. Obviously not the best fix because I still haven't worked out why it is not returning this WxH from the MediaPlayer.

Here is the video information, as you can see the WxH is 640x480 but the recommended size is 853x480 (I would say the recommended size is the correct size).

5

I now think all the screenshots below had an incorrect ratio, just by coincidence the Galaxy Nexus was pretty close to correct! but not quite.

Galaxy Nexus Full Screen correct ratio:

1

Galaxy S3 Full Screen incorrect ratio:

2

Galaxy Nexus Half Screen correct ratio:

3

Galaxy S3 Half Screen correct ratio (or is it?):

4

About

Issue with the MediaPlayer not playing videos at the correct ratio

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • Java 100.0%