Thursday, August 28, 2014

Galaxy Player 5: Screen Recording Crashing after 60 sec[FIX]

A while back I noticed that I trouble creating screen captures that where more that 60 seconds long on the Galaxy Player 5. I like to take Screen Captures of the ROM to show case because  when I checkout a ROM I like to make sure it has the core features that I want. So when I create a ROM it's nice to show off the Settings area so people can see, before hand, if the ROM has a particular feature. During my testing I've notice that Screen Recording seems to crash after approximately 60 seconds and for the longest time I thought it was probably a "low memory" issue with this device. In the back of my mind though, I had a theory, that I always dismissed as unlikely but recently I tried it and it worked! This is how to get screen captures for more than 60 seconds:

The key is this line:
where it says "duration=60". This file is on the device @ /system/etc/media_profiles.xml.

To change it to say... 12 minutes ( Don't know if there is any upper limit???)

  1. Make sure that /system is remounted rw.
  2. Open the file : /system/etc/media_profiles.xml
  3. Change the line :

<EncoderProfile quality="480p" fileFormat="mp4" duration="60"> 
<EncoderProfile quality="480p" fileFormat="mp4" duration="720"> 
Save and reboot.

Now you should be able to do screen recordings up to 12 minutes. Possibly camera video recording up to 12 minutes as well!


No comments:

Post a Comment