[OP3/3T] Unlock 720P slowmotion video WITH sound on Google Camera!

Search This thread

the-blind-bandit

Senior Member
Apr 20, 2011
486
78
Edit: delete

Ever go back and read what you've written, well this was something really dumb ?
 
Last edited:

smartpr1v4t3

Senior Member
Jan 10, 2014
411
221
Dont know why but i dont need the mod with latest rom 4.5.1 for slow motion.
It is working fine

Sent from my ONEPLUS A3003 using Tapatalk
 

Herceg89

Senior Member
Sep 20, 2015
111
5
How to get back on original media profiles, i overwrited but it's not ok, how to get back to old please any sugestion?
 

subham2010

Member
Sep 30, 2015
17
0
haldia
I m using GC o redmi note 4.. My slow motion not working.. By pressing the slow motion its crashing. How can i fixed it.. Flashed SuperSu with Redwolf. Can any one help me...
 

Top Liked Posts

  • There are no posts matching your filters.
  • 38
    THIS MOD DOES NOT WORK ON OREO

    First off

    - your device has to be rooted / or at least have TWRP working to move the file
    - you probably have to be on the latest OxygenOS Android 7.1.1 Beta for this to work
    - the videos will be recorded with the latest Google Camera App:
    http://www.apkmirror.com/apk/google...amera-4-3-016-147548696-android-apk-download/
    - you will be able to record slowmotion video in 720p with sound
    - you will be able to edit the video with Google Photos and to manually set the desired area which is played in slowmotion, the other area will play in full motion, just like on the iPhone for example!

    How-to

    1.) Download this file: https://www.dropbox.com/s/kt0pa3ks8b1lzpy/media_profiles.xml?dl=0
    2.) put it into root/system/etc and overwrite the existing file
    3.) set the correct permissions! rw-r--r-- (0644)
    4.) reboot your device
    5.) install the linked Google Camera, start it, go into Slowmotion mode
    6.) open the Video from within the Google Photos App and edit it...
    7.) Have fun! :)

    I only stumbled across this just now, so I only got to test it on my OP3 with Beta12 Android 7.1.1.
    I don't know if this works on older Betas or the latest stable build, so don't ask me.


    But you are welcome to share your experience with us if you try it on other builds.
    Keep in mind that the linked Google Camera version will only work on Android 7.1.1!

    Here is a quick sample video I took which shows you how the video can be edited in Google Photos:

    The sound is actually as good as always while playing it in full-speed in Google Photos and respectively "worse" in slowmotion,
    which has to be expected in my opinion. At least it is much better than slowmotion without any sound, which is the reason I newer touched this feature in the past.

    For the long explanation on how I found out about this:
    I was already testing the latest Google Camera for Android 7.1.1 after flashing Beta 12 and unfortunately the slowmotion mode crashed immediately each time.

    Today I stumbled over this commit for the OP3/3T on LineageOS:
    https://review.lineageos.org/#/c/163935/
    https://review.lineageos.org/#/c/163935/1/configs/media_profiles.xml

    It adds these lines to the existing media_profiles.xml:

    Code:
     <!-- CAMCORDER_QUALITY_HIGH_SPEED_HIGH/720P : [email protected]; 27.0 Mbps -->
            <EncoderProfile quality="highspeedhigh" fileFormat="mp4" duration="30">
                <Video codec="h264"
                       bitRate="27000000"
                       width="1280"
                       height="720"
                       frameRate="120" />
                <!-- audio setting is ignored -->
                <Audio codec="aac"
                       bitRate="96000"
                       sampleRate="48000"
                       channels="2" />
            </EncoderProfile>
    
            <EncoderProfile quality="highspeed720p" fileFormat="mp4" duration="30">
                <Video codec="h264"
                       bitRate="27000000"
                       width="1280"
                       height="720"
                       frameRate="120" />
                <!-- audio setting is ignored -->
                <Audio codec="aac"
                       bitRate="96000"
                       sampleRate="48000"
                       channels="2" />
            </EncoderProfile>
    
            <!-- CAMCORDER_QUALITY_HIGH_SPEED_HIGH/1080P : [email protected]; 34.0 Mbps -->
            <EncoderProfile quality="highspeed1080p" fileFormat="mp4" duration="30">
                <Video codec="h264"
                       bitRate="34000000"
                       width="1920"
                       height="1080"
                       frameRate="60" />
                <!-- audio setting is ignored -->
                <Audio codec="aac"
                       bitRate="96000"
                       sampleRate="48000"
                       channels="2" />
            </EncoderProfile>

    This commit is meant to make slowmotion work on the latest Google Camera on LineageOS.
    I thought to myself, why not add this code to the file provided in OxygenOS.

    What can I say, It just works! The file provided above is taken from OOS Beta 12.
    I just added the mentioned code from the spoiler.
    I also think 1080p slowmotion with sound should be possible when we can already record [email protected]!
    5
    And here's a flashable zip I threw together real quick, for those not using magisk or any su manager at all. Worked for me on latest official RR with TWRP 3.1.0.x blu_spark v24 on 3 (not 3T). Furthermore, if using magisk, you'll still pass safetynet if hide is enabled. Cheers!
    4
    I made a quick hack-y magisk module. Still has the default template name but it works :cool:

    http://www.filedropper.com/gcsm
    3
    Can you please reupload the module? Filedropper link doesn't work anymore. Thanks!

    Attached.
    2
    @AcmE85


    3. And what about make slowmotion better video quality, to add more bitrate?

    Did that.
    Old no-sound slo-mo were shot at 13Mbits , this new with sound was being shot with around 6.7Mbits, while it's​ value in XML being at 27Mbits, changed it to 84Mbits, I'm getting video at 20Mbits.
    The attachments...