Advertisement
metalx1000

Mplayer on Android Notes

Jun 30th, 2014
866
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Bash 0.80 KB | None | 0 0
  1. (800x480) is the resolution of the Pengpod
  2. #get screen size
  3. dumpsys window | grep mUnrestrictedScreen
  4.  
  5. #besure to mount dev for fb0 use
  6. busybox mount --bind /dev dev
  7.  
  8. #and link fb0
  9. ln -s /dev/graphics/fb0 /dev/fb0
  10.  
  11. This will play, but if the video is smaller than screen there will be a black border
  12. mplayer -vo fbdev -fs -zoom video.mp4
  13.  
  14. Same, but won’t be centered
  15. mplayer -vo fbdev
  16.  
  17. This will play full screen, but might play slow
  18. mplayer -vo fbdev -fs -zoom -x 800 -y 480 video.mp4
  19.  
  20.  
  21.  
  22. Frame Dropping doesn’t seem to help
  23. mplayer -vo fbdev -fs -zoom -x 800 -y 480  why.mp4 -framedrop
  24.  
  25. ***Note volume down is ‘/’ and volume up is ‘0
  26.  
  27. Kill Android GUI
  28. setprop ctl.stop media & setprop ctl.stop zygote
  29.  
  30. Restart Android GUI
  31. setprop ctl.start media & setprop ctl.start zygote
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement