Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/blundell/videoratioproblemperdevice
Issue with the MediaPlayer not playing videos at the correct ratio
https://github.com/blundell/videoratioproblemperdevice
Last synced: 24 days ago
JSON representation
Issue with the MediaPlayer not playing videos at the correct ratio
- Host: GitHub
- URL: https://github.com/blundell/videoratioproblemperdevice
- Owner: blundell
- Created: 2013-01-12T17:16:27.000Z (almost 12 years ago)
- Default Branch: master
- Last Pushed: 2013-01-13T11:54:35.000Z (almost 12 years ago)
- Last Synced: 2024-10-15T17:47:15.345Z (2 months ago)
- Language: Java
- Homepage: http://stackoverflow.com/questions/14296093/videovideo-video-width-x-height-mediaplayer-issue
- Size: 1.4 MB
- Stars: 3
- Watchers: 1
- Forks: 4
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
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](http://img.photobucket.com/albums/v230/blundell/Untitled-4_zpsad1c4313.png)
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](http://img.photobucket.com/albums/v230/blundell/gn_correct_ratio_zpsbdca7c75.png)
~~Galaxy S3 Full Screen incorrect ratio:~~
![2](http://img.photobucket.com/albums/v230/blundell/s3_wrong_ratio_zps7f9c0a76.png)
~~Galaxy Nexus Half Screen correct ratio:~~
![3](http://img.photobucket.com/albums/v230/blundell/gn_half_correct_ratio_zps341dfcfe.png)
~~Galaxy S3 Half Screen correct ratio (or is it?):~~
![4](http://img.photobucket.com/albums/v230/blundell/s3_half_correct_ratio_zps025aca6f.png)