[OnePlus 3 Guides, News, & Discussion] AcmE85:
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:

[YOUTUBE]qfUWNnfySSo[/YOUTUBE]

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:

<!-- CAMCORDER_QUALITY_HIGH_SPEED_HIGH/720P : 720p@120fps; 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 : 1080p@60fps; 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 1080p@60fps!