Hi all.
I don't consider this to be a duplicate thread of the previous one I made, because this is a different model phone that I now have.
I previously owned a Mediatek Redmi Note 4X. I now own a Note 4, Snapdragon 625 variant.
I've searched high and low for ways to record 60FPS video. View my previous thread for one solution that was found on a Russian forum.
Now that I have a mido Note 4, I was able to edit media_profiles.xml and try that app out. As explained on the original Russian forum post, 60FPS is unacheivable in places with less lighting, such as rooms. Even my room with what I think has a decent amount of lighting, I reach 40 FPS at most, and sometimes dip to 15 FPS.
However, I found a way to record at constant 60FPS @ 720p, but there is a complication.
If you have the Snapdragon variant of the Note 4, download Snapdragon Camera. No need to flash it, just install this apk:
https://docs.google.com/uc?export=download&id=0By-NOo-lCyxBMTVNNGZyYjdjd2M
Switch to Video mode, and choose 720p in Settings > Video quality. There is also a section in settings that says "Video High FrameRate". This is where you can choose HSR 120. HSR is "High speed recording", as opposed to HFR, which is slow motion. Recording at HSR saves audio, while HFR does not.
I haven't seen anyone else with the following issue, but I have seen only an extremely small amount of people posting that they have used Snapdragon Camera on their Note 4. When you record at HSR, the audio track is retained, but the video ends up ending before the audio does. Your video will also play very quickly.
{
"lightbox_close": "Close",
"lightbox_next": "Next",
"lightbox_previous": "Previous",
"lightbox_error": "The requested content cannot be loaded. Please try again later.",
"lightbox_start_slideshow": "Start slideshow",
"lightbox_stop_slideshow": "Stop slideshow",
"lightbox_full_screen": "Full screen",
"lightbox_thumbnails": "Thumbnails",
"lightbox_download": "Download",
"lightbox_share": "Share",
"lightbox_zoom": "Zoom",
"lightbox_new_window": "New window",
"lightbox_toggle_sidebar": "Toggle sidebar"
}
To sync your video, you can do what I did, and copy the video file to Sony Vegas, then hold control and drag the video file out to match the length of the audio. Render at 60FPS (NOT 120 FPS), and you have your 720p 60FPS video at a constant frame-rate.
Video runs smoothly and properly with synced audio at constant 60FPS after rendered through Vegas, with the video track "extended" to the length of the audio track:
This may help some people who have a computer handy, but this process is rather involved. I was wondering if there is some sort of file that can be edited to change the playback rate of videos taken with Snapdragon Camera so the video will be in sync with the audio.
This is progress, I suppose, since aside from this and the whole MotoCamera + media_profiles.xml method, I have no idea how to record at 60FPS on this phone, and I've literally spent 2 days researching. Open Camera does not record at 60FPS for me even with Camera 2 API (yes, I do have it enabled), and the modded Google Camera mentioned here does not allow me to record at 60FPS giving me the error: "Cannot start video capture. Another app may be using the mic". This error doesn't occur on any option aside from the only 60FPS one, go figure.
Perhaps there is another camcorder that utilizes HSR someone can refer myself and others to? Or an app that would allow you to adjust a video's playback rate so using a computer and video editing program like Vegas won't be necessary?
I know this phone is capable of recording at 720p60. Hell, my old phone was a G3 and it can record at 1080p60 without the need of Camera2 API or any xml tweaks. There's plenty of solutions for recording at 60FPS for the Redmi Note 2 and 3 as well, I find it ironic that it seems to be such an issue on the Note 4.
Please let me know if you can help at all. I hope this also helps guides others who are in the same boat as me.
Same. I've also been wanting to record in 60 FPS with mine since I bought it. Tried changing media profile values, Tried Open Camera. Didn't work. Just now installed the MotoCam port from your old thread, Gives me the weird mic error when 1080p60 is selected and doesn't record.. Mine's the Snapdragon varient as well. But, None of the versions of Snapdragon camera work (Force closes on start). It could be either because I am on MIUI or maybe because I am still on Marshmallow. People have been reporting that the Google Camera port can record in 1080p 60 FPS in some custom nougat roms. But I just haven't made the jump yet to Nougat for the lack of stable Xposed Framework.
Hi, I currently do not own the Note4 device but I think your problem seem quite relating to my concern. My phone (Note3Pro - S650) doesn't provide recording video with high framerate (60-120fps) for 1080p resolution but I found an interesting method from here to do it.
Code:
https://forum.xda-developers.com/redmi-note-3/themes/mod-60-fps-1080p-camera-rn3p-sd-miui-8-t3624366
As you mention, you want to find an App which can handle high framerate video and I myself suggest you to try FiLMiC Pro v6.
This is mediainfo from my test footage :
Code:
General
Complete name : C:\Users\M\Desktop\VID_20171009_100018894.mp4
Format : MPEG-4
Format profile : Base Media / Version 2
Codec ID : mp42
File size : 17.2 MiB
Duration : 7s 851ms
Overall bit rate : 18.3 Mbps
Encoded date : UTC 2017-10-09 03:00:28
Tagged date : UTC 2017-10-09 03:00:28
com.android.version : 6.0.1
Video
ID : 1
Format : AVC
Format/Info : Advanced Video Codec
Format profile : [email protected]
Format settings, CABAC : No
Format settings, ReFrames : 1 frame
Format settings, GOP : M=1, N=60
Codec ID : avc1
Codec ID/Info : Advanced Video Coding
Duration : 7s 722ms
Bit rate : 17.9 Mbps
Width : 1 920 pixels
Height : 1 080 pixels
Display aspect ratio : 16:9
Frame rate mode : Variable
Frame rate : 59.180 fps
Minimum frame rate : 56.782 fps
Maximum frame rate : 61.813 fps
Color space : YUV
Chroma subsampling : 4:2:0
Bit depth : 8 bits
Scan type : Progressive
Bits/(Pixel*Frame) : 0.146
Stream size : 16.5 MiB (96%)
Title : VideoHandle
Language : English
Encoded date : UTC 2017-10-09 03:00:28
Tagged date : UTC 2017-10-09 03:00:28
mdhd_Duration : 7722
There's solution!
Hello guys
I know that thread is quite old but I've found simple solution, how to fix desynchronisation when recording in fastmotion with sound using SnapDragon Camera.
Y'know, during saving there's small error caused by codec and videos cannot be played using videoplayer from Google Photos and with other video players video plays fine but in longer video you can observe desynchronisation between audio and video track.
Check out these steps below :
1. Record video. I prefer HighSpeed 120fps. This gives me in result slomo video with sound (more about that later)
2. Open it using Google Photos. You will see that video not playing well, ignore that and select edit (that icon with bars on the bottom, next to "i" symbol)
3. Select "Stabilize video"
4. Google will process that video frame by frame. 30sec video took about 1min of rendering. Wait
5. In result, Google saves a copy of your original video in your memory which have now sound and video are sychronised. But the best part is that you can set the slooooooomooooo paaaaaarrt and you have audio during that!
6. Now you can keep your new vid and delete old.
Isn't that bylatiful?
I recommend to do that operation immediatly after you have recorded video. Why? Because of date of saving. When are you on vacation, you wanna to keep track of your photos and videos in proper timeline. When you edit your video later it saves with later date and that may be a problem keep your media in proper day.
Related
{
"lightbox_close": "Close",
"lightbox_next": "Next",
"lightbox_previous": "Previous",
"lightbox_error": "The requested content cannot be loaded. Please try again later.",
"lightbox_start_slideshow": "Start slideshow",
"lightbox_stop_slideshow": "Stop slideshow",
"lightbox_full_screen": "Full screen",
"lightbox_thumbnails": "Thumbnails",
"lightbox_download": "Download",
"lightbox_share": "Share",
"lightbox_zoom": "Zoom",
"lightbox_new_window": "New window",
"lightbox_toggle_sidebar": "Toggle sidebar"
}
I've uploaded a suite of 720p and 1080p MP4 clips to test for video playback performance. All are made from the same clip (the hunting scene from Avatar). These should be playable with the standard video player.
http://mediafire.com/?depxt4zyvpwel (download folder)
The clips progress from easiest to most demanding. The "min" clips use baseline profile, low bitrate, and minimum compression. The "avg" clips reflect typical scene rips, with medium compression settings and bitrate. The "max" clips mimics worst-case scene rips with max compression settings and level 5.1 setting. The last clip is the original BluRay clip.
clip_720p_min.mp4 - lightweight rip, baseline profile, L3.1, RF23, Ref1, veryfast preset, 7.7Mbs avg
clip_720p_avg.mp4 - typical scene rip, high profile, L4.1, RF21, Ref4, medium preset, 8.5Mbs avg
clip_720p_max.mp4 - worst-case scene rip, high profile, L5.1, RF20, Ref16, veryslow preset, 9.1Mbs avg
clip_1080p_min.mp4 - L4.0, 14.8Mbs avg
clip_1080p_avg.mp4 - L4.1, 16.9Mbs avg
clip_1080p_max.mp4 - L5.1, 18.7Mbs avg
clip_1080p_master.mp4 - master BluRay clip (2-part rar), high profile, 31Mbs avg, 45Mbs peak
The hunting scene is a very intense scene in Avatar and is a good stress test. Per the bitrate graph of the 1080p_max clip below, it has two peaks, 32.5Mb/s @ 0:44, and 29.1Mb/s @ 1:12 (these are when the shot beasts take a tumble into the mud). If frame-drops happen, they would be at these two spots.
Please try any clip you wish to test, and give feedback on whether playback is smooth with no frame-drops, particularly at around the two "mud splashes."
Using stock Nook video player:
Avatar_clip_1280_baseline.mp4 - Looks good, sounds good.
Avatar_clip_1280_high_5.1.aac.mp4 - Video looks good, no audio.
Avatar_clip_1920_baseline.mp4 - Looks good, sounds good.
Avatar_clip_1920_high.mp4 - Looks good, sounds good.
I can't say for certain what frame rates I'm getting, but it isn't choppy. The 1280 clips might be a bit smoother than the 1920 clips.
blah......
1280_baseline - all good, full fps
1280_high_5.1.aac - full fps, no sound at all
1280_high_mp3 - full fps, no sound at all
1280_high - all good, full fps
1280_main - all good, full fps
1920_main - all good, full fps
1920_high - all good, full fps
1920_baseline - all good, full fps
So it can play full hd no problem, but it doesn't like aac/mp3 audio or 5.1 channels?
@DarkDvr
The Android spec for MP4 only allows stereo AAC. 3rd-party video players can play any audio format via ffmpeg software-decoding. But that may invoke software-decoding for the whole video, which means no more smooth playback.
I've reuploaded a revised clip suite to better fit the 4430's performance. The ramping of challenge is more gradated, so you can more precisely determine the NT's video capability.
e-mote, can you suggest the app for encoding for Nook compliant formats and some settings example for that app. Much appreciated.
Hi,
which settings do you use for the S3 to convert your DVD movies with Handbrake concerning "picture" and "video" settings?
1) I noticed when I do not check "keep aspect ratio" that my movies lose widescreen (looks like 4:3 format). So what settings do you use for the resolution (and do you use any of that anamorphic stuff?
2) What quality setting do you use? I tried constant quality RF:27.5 so far which looks okay and the file size is rather small.
I'd like to have a decent quality (no big pixel chunks but no HD either) and a reasonable file size as I'd like to store quite some movies on the phone and the SD card. Any recommendations welcome!
Landorin said:
Hi,
which settings do you use for the S3 to convert your DVD movies with Handbrake concerning "picture" and "video" settings?
1) I noticed when I do not check "keep aspect ratio" that my movies lose widescreen (looks like 4:3 format). So what settings do you use for the resolution (and do you use any of that anamorphic stuff?
2) What quality setting do you use? I tried constant quality RF:27.5 so far which looks okay and the file size is rather small.
I'd like to have a decent quality (no big pixel chunks but no HD either) and a reasonable file size as I'd like to store quite some movies on the phone and the SD card. Any recommendations welcome!
Click to expand...
Click to collapse
For video it must not be more than 500kbps or less than 400 kbps. Audio for should not exceed 128kbps 48Khz or be less than 64kbps 24Khz
When encoding/transcoding, you must use the default frame rate and stay close to the original aspect ratio
For example, 23.976fps, 25fps or 29.97fps. Do not stretch aspect ratio from 2.35 to 16:9 or from 16:9 to 4:3.
Use 2-pass encode. Do not use B-Frames/QPel/GMC
.
I use 640x352
I keep checked "keep aspect ratio"
I have average bitrate set at 420 kbps
I have video codec @ H.264
This is the best settings for converting.
XVI™ said:
For video it must not be more than 500kbps or less than 400 kbps. Audio for should not exceed 128kbps 48Khz or be less than 64kbps 24Khz
When encoding/transcoding, you must use the default frame rate and stay close to the original aspect ratio
For example, 23.976fps, 25fps or 29.97fps. Do not stretch aspect ratio from 2.35 to 16:9 or from 16:9 to 4:3.
Use 2-pass encode. Do not use B-Frames/QPel/GMC
.
I use 640x352
I keep checked "keep aspect ratio"
I have average bitrate set at 420 kbps
I have video codec @ H.264
This is the best settings for converting.
Click to expand...
Click to collapse
Where did you get such a low bitrate number from? IIRC my HTC Desire supported 1500kbps.
I've thrown a HD BluRAY rip I downloaded cool on there and it worked perfectly.
These settings WORK:
Leave the FPS the same as the source (usually 23.5 anyway)
I used an RF of 19.5
Audio 192kbps (since these phones support FLAC)
Codec x264
I ripped a DVD yesterday and it works great on my phone using those settings.
EDIT:
Here's a good post:
http://androidforums.com/samsung-galaxy-s3/578991-video-file-format-s3.html#post4637730
@Kryten2k35:
but how large do your videos become with these settings?
As written in my first posting, I want to convert DVD movies to get a decent quality but not super high or HD quality as the file size needs to be within limits (as I'd like to store 20-30 movies on phone and SD card in total).
Never used 2 pass and never thought about it, I'll give that a try, hopefully that makes a good difference. The settings suggested by XVI show a good result so far, the file size is even smaller than on my previous conversion and from what I can tell it looks as good. The major difference probably is that I used higher sound settings (was suggested somewhere else) and 720 as width (had no clue if I should use any smaller).
Any more recommendations welcome!
Landorin said:
@Kryten2k35:
but how large do your videos become with these settings?
As written in my first posting, I want to convert DVD movies to get a decent quality but not super high or HD quality as the file size needs to be within limits (as I'd like to store 20-30 movies on phone and SD card in total).
Never used 2 pass and never thought about it, I'll give that a try, hopefully that makes a good difference. The settings suggested by XVI show a good result so far, the file size is even smaller than on my previous conversion and from what I can tell it looks as good. The major difference probably is that I used higher sound settings (was suggested somewhere else) and 720 as width (had no clue if I should use any smaller).
Any more recommendations welcome!
Click to expand...
Click to collapse
I did want better quality, myself, but you should go for around RF22, then Here's what my encoding spat out:
{
"lightbox_close": "Close",
"lightbox_next": "Next",
"lightbox_previous": "Previous",
"lightbox_error": "The requested content cannot be loaded. Please try again later.",
"lightbox_start_slideshow": "Start slideshow",
"lightbox_stop_slideshow": "Stop slideshow",
"lightbox_full_screen": "Full screen",
"lightbox_thumbnails": "Thumbnails",
"lightbox_download": "Download",
"lightbox_share": "Share",
"lightbox_zoom": "Zoom",
"lightbox_new_window": "New window",
"lightbox_toggle_sidebar": "Toggle sidebar"
}
If you want smaller files try for slightly lower resolution than the source (keeping the same aspect ratio, unless it's 4:3, then you might as well change it to something 16:9). For example, if the source is 720x480, try 680x453.
You want to keep using constant quality, as it will give the best quality whilst also shaping filesize
Try my settings on a DVD of a TV show or something that has episodes at around 30 minutes or something and test the RF constant quality settings until you find one that is acceptable to you. I'd suggest starting at 22, though. I ripped a 4GB Live show at 19.5 and come out with the above screenshot, so 22 should reduce that even more
Its all about having the smallest possible file size without affecting the quality
I follow the guidelines to converting movies recommended by one of the largest mobile movie forums
Powerful Snapdragon 800 with 4K Video Hardware Acceleration playback of Adreno 330.
{
"lightbox_close": "Close",
"lightbox_next": "Next",
"lightbox_previous": "Previous",
"lightbox_error": "The requested content cannot be loaded. Please try again later.",
"lightbox_start_slideshow": "Start slideshow",
"lightbox_stop_slideshow": "Stop slideshow",
"lightbox_full_screen": "Full screen",
"lightbox_thumbnails": "Thumbnails",
"lightbox_download": "Download",
"lightbox_share": "Share",
"lightbox_zoom": "Zoom",
"lightbox_new_window": "New window",
"lightbox_toggle_sidebar": "Toggle sidebar"
}
Video Resolution: 3840 x 2160
Video Codec: H.264 / AVC / MPEG-4 AVC / MPEG-4 part 10
Video Bit rate: 50.0 Mbits/sec
Sound Codec: AAC - 48000 Hz
Sound Bit rate: 317.4 kbits/sec
Download: http://d01.megashares.com/dl/qnK5jj4/HD.Club-4K-Chimei-inn-60mbps.mp4
Video Resolution: 2560 x 1440
Video Codec: H.264 / AVC / MPEG-4 AVC / MPEG-4 part 10
Video Bit rate: 33.1 Mbits/sec
Sound Codec: AAC - 48000 Hz
Sound Bit rate: 317.4 kbits/sec
Download: http://red.cachefly.net/TimeScapes4K2560p.mp4
Official Site: http://timescapes.org/default.aspx
** Recommended playback via MX Player with H/W+ support & Color format: RGB 32-bit under Settings - Decoder.
** Stock Video app also can playback both video nicely.
4K Video | How big 4K video are...
Current 4K Video Hardware Acceleration Supported Phone:
Sony Xperia Z Ultra
Samsung Galaxy S4 LTE-A (the only S4 version support 4K video)
LG G2
Sony Xperia Z1 (announcing in coming 4/Sept, local 5/Sept)
Samsung Galaxy Note III (announcing in coming 5/Sept, local 6/Sept)
ZTE Grand Memo
HTC One Max - maybe if only HTC decide use Qualcomm Snapdragon 800
Your dropbox is suspended
Go to YouTube search 4k video sample. Go to keepvid paste the link of video and click download origina...l
Nice!!! :good:
avsquare said:
Your dropbox is suspended
Click to expand...
Click to collapse
Too many people download, will upload to others location tomorrow.
1st video link change to http://d01.megashares.com/dl/qnK5jj4/HD.Club-4K-Chimei-inn-60mbps.mp4
Downloaded the 4k, looks awesome on the phone
what app did u use to play this?
cheers...
You can use stock player or better MX Player.
Sent from my C6802 using XDA Premium 4 mobile app
Download this. the best:
My Mirror: https://mega.co.nz/#!E1p1BATA!XaYeXRwMQ7E6_Dg7qk_oVAAbHOJdCMBwJStKFsJlroY
4K Video | How big 4K video are...
Current 4K Video Hardware Acceleration Supported Phone:
Sony Xperia Z Ultra
Samsung Galaxy S4 LTE-A (the only S4 version support 4K video)
LG G2
Sony Xperia Z1 (announcing in coming 4/Sept, local 5/Sept)
Samsung Galaxy Note III (announcing in coming 5/Sept, local 6/Sept)
ZTE Grand Memo
HTC One Max - maybe if only HTC decide use Qualcomm Snapdragon 800
Andrewtst said:
Powerful Snapdragon 800 with 4K Video Hardware Acceleration playback of Adreno 330.
Video Resolution: 3840 x 2160
Video Codec: H.264 / AVC / MPEG-4 AVC / MPEG-4 part 10
Video Bit rate: 50.0 Mbits/sec
Sound Codec: AAC - 48000 Hz
Sound Bit rate: 317.4 kbits/sec
Download: http://d01.megashares.com/dl/qnK5jj4/HD.Club-4K-Chimei-inn-60mbps.mp4
Click to expand...
Click to collapse
There are many 4K video on youtube but videos as much as crisp as this one is very difficult to find.
Do you know some other videos of this excellent quality?
sblantipodi said:
There are many 4K video on youtube but videos as much as crisp as this one is very difficult to find.
Do you know some other videos of this excellent quality?
Click to expand...
Click to collapse
Youtube videos are heavily compressed and capped at 30 fps, so i would stop looking for quality content there. Vimeo might be better?
You can try Dreamcore "lights" by Tom Lowe I think, it's dark but a nice clip, 1.4GB for 3min and I don't know how much seconds
I have had some 4k clips on my PC, will see if I still have them
Sent from my Xperia Z1 using xda app-developers app
i still find it sad that sony gimped our phones so they can't record at 4k even though the SOC is capable of it
i think playing 4k video on our device with a 1080p screen is nth more than showing off the power of the device's cpu:silly:
those detail in the original 4k video are just not visible on the 1080p screen it's like playing 1080p video on a 720p screen
You can see it a little bit on a 1080p, it is sharper
Sent from my Xperia Z1 using xda app-developers app
tomanlam said:
i think playing 4k video on our device with a 1080p screen is nth more than showing off the power of the device's cpu:silly:
those detail in the original 4k video are just not visible on the 1080p screen it's like playing 1080p video on a 720p screen
Click to expand...
Click to collapse
of course it's visible.
no different than a dvd being better quality if it had a HD master than a SD master. the source is better quality.
Andrewtst said:
Powerful Snapdragon 800 with 4K Video Hardware Acceleration playback of Adreno 330.
Video Resolution: 3840 x 2160
Video Codec: H.264 / AVC / MPEG-4 AVC / MPEG-4 part 10
Video Bit rate: 50.0 Mbits/sec
Sound Codec: AAC - 48000 Hz
Sound Bit rate: 317.4 kbits/sec
Download: http://d01.megashares.com/dl/qnK5jj4/HD.Club-4K-Chimei-inn-60mbps.mp4
Video Resolution: 2560 x 1440
Video Codec: H.264 / AVC / MPEG-4 AVC / MPEG-4 part 10
Video Bit rate: 33.1 Mbits/sec
Sound Codec: AAC - 48000 Hz
Sound Bit rate: 317.4 kbits/sec
Download: http://red.cachefly.net/TimeScapes4K2560p.mp4
Official Site: http://timescapes.org/default.aspx
** Recommended playback via MX Player with H/W+ support & Color format: RGB 32-bit under Settings - Decoder.
** Stock Video app also can playback both video nicely.
4K Video | How big 4K video are...
Current 4K Video Hardware Acceleration Supported Phone:
Sony Xperia Z Ultra
Samsung Galaxy S4 LTE-A (the only S4 version support 4K video)
LG G2
Sony Xperia Z1 (announcing in coming 4/Sept, local 5/Sept)
Samsung Galaxy Note III (announcing in coming 5/Sept, local 6/Sept)
ZTE Grand Memo
HTC One Max - maybe if only HTC decide use Qualcomm Snapdragon 800
Click to expand...
Click to collapse
How do I use the first link. Won't do for me.
Love my ultra
asustf700t said:
How do I use the first link. Won't do for me.
Love my ultra
Click to expand...
Click to collapse
Right click and choose save link as.
I no longer use Z Ultra, using Note 3 now.
I was able to modify OnePlus 3T to enable HEVC/H.265 video recording at 4k, 1080p & 720p resolutions. I have also reduced the bit rate for the video so that it will take less storage space.
Note - Take a backup of your 'media_profiles.xml' located at system/etc/ before attempting this mod.
To install just unzip and overwrite 'media_profiles.xml' at system/etc/ with permission 0644 and reboot your phone.
Update V2-
Decreased the video bit-rate by around 40%
Video is currently recorded at following bit-rate
4K at 24Mbps (default is 42Mbps)
1080p at 11Mbps (default is 20Mbps)
720p at 8Mbps (default is 14Mbps)
Magisk Module is also available thanks to @64ashg
Tested only on latest Freedom CE by @nokia_16
pankajsammal said:
I was able to modify OnePlus 3T to enable HEVC/H.265 video recording at 4k, 1080p & 720p resolutions. I have also reduced the bit rate for the video so that it will take less storage space.
Note - Take a backup of your 'media_profiles.xml' located at system/etc/ before attempting this mod.
To install just overwrite 'media_profiles.xml' at system/etc/ with permission 0644 and reboot your phone.
Tested only on latest Freedom CE by @nokia_16
Click to expand...
Click to collapse
Waiting for the next update bro.. Related to 4K size compression.. Just saying and not asking for any ETA..
Noob question what is HEVC/H.265 Video Recording?
vip57 said:
Noob question what is HEVC/H.265 Video Recording?
Click to expand...
Click to collapse
HEVC/H.265 is a new encoding method which allows for same quality videos at a lower file size. The only issue is not every devicce support HEVC/H.265 natively.
You can read more at the link below
https://medium.com/advanced-computer-vision/h-264-vs-h-265-a-technical-comparison-when-will-h-265-dominate-the-market-26659303171a
For compression for now, atleast in 1080p and 720p use this file along with the file in the op
Original thread from which the file is taken
https://forum.xda-developers.com/oneplus-3/how-to/mod-hevc-h-265-encoding-enabled-t3586792
halleyrokz said:
Hi all, I tinkered with the settings and came up with enabling HEVC encoding for 4k, 1080p & 720p recordings. I have also halved the bit rate and hevc block size to 64x64.
1080p records at 10Mbps,
720p records at 7Mbps
I still have problem in reducing 4k bit rate. Tried reducing the values, but It still records @ 50-53 mbps. Any help would be appreciated.
[email protected] records @ 20mbps
Audio now records in HEAAC/AACv2 ,[email protected]
Add both the files and overwrite to system/etc/ with permission 0644
Click to expand...
Click to collapse
Credits to @halleyrokz for the compression
64ashg said:
For compression for now, atleast in 1080p and 720p use this file along with the file in the op
Original thread from which the file is taken
https://forum.xda-developers.com/oneplus-3/how-to/mod-hevc-h-265-encoding-enabled-t3586792
Credits to @halleyrokz for the compression
Click to expand...
Click to collapse
My mod currently records video at
4K @30Mbps (default is 42Mbps)
1080p @15Mbps (default is 20Mbps)
720p @8Mbps (default is 14Mbps)
which is already lower than the default settings.
I will try to further lower these values over the weekend if it doesnt effect the video quality negatively.
Deleted
64ashg said:
There you go with a magisk module, should work on the 3/t.
Seems to work on my device, just be on magisk 13.3.
Click to expand...
Click to collapse
Updated the OP, Thanks for the module. :good:
Op3/t hevc magisk module v2.01
Changelog
-Compatibility fixes with magisk manager
-Permissions fixed
PS op3 testers needed for checking although it should work.
@pankajsammal please update op
64ashg said:
Op3/t hevc magisk module v2.01
Changelog
-Compatibility fixes with magisk manager
-Permissions fixed
PS op3 testers needed for checking although it should work.
@pankajsammal please update op
Click to expand...
Click to collapse
Updated the op, thanks
One question. Wont decreasing the bitrate also decrease the quality of the video?
jokerpappu said:
One question. Wont decreasing the bitrate also decrease the quality of the video?
Click to expand...
Click to collapse
We are using h265 codec also known as hevc, ie high efficiency video codec, which is giving is around 25% less file size on the 1080p30hz videos recording, and should improve with the implementation of heaac for audio.
PS the gains are bigger on 4k, thats the beauty of h265
64ashg said:
Op3/t hevc magisk module v2.01
Changelog
-Compatibility fixes with magisk manager
-Permissions fixed
PS op3 testers needed for checking although it should work.
@pankajsammal please update op
Click to expand...
Click to collapse
Is it working with stable OOS? Sorry for asking cause OP said its tested on Freedom
Vixiebalistic said:
Is it working with stable OOS? Sorry for asking cause OP said its tested on Freedom
Click to expand...
Click to collapse
Freedom os is based on oos, this works on any oos based rom and oos itself for the op3 and 3t.
pankajsammal said:
I was able to modify OnePlus 3T to enable HEVC/H.265 video recording at 4k, 1080p & 720p resolutions. I have also reduced the bit rate for the video so that it will take less storage space.
Note - Take a backup of your 'media_profiles.xml' located at system/etc/ before attempting this mod.
To install just unzip and overwrite 'media_profiles.xml' at system/etc/ with permission 0644 and reboot your phone.
Update V2-
Decreased the video bit-rate by around 40%
Video is currently recorded at following bit-rate
4K at 24Mbps (default is 42Mbps)
1080p at 11Mbps (default is 20Mbps)
720p at 8Mbps (default is 14Mbps)
Magisk Module is also available thanks to @64ashg
Tested only on latest Freedom CE by @nokia_16
Click to expand...
Click to collapse
Just now installed paranoid rom 7.2.1 on my 3T and tried this mod with both magisk module and xml files.. in both its working, but xml file replace is effective.. Also magisk module breaks safety net
{
"lightbox_close": "Close",
"lightbox_next": "Next",
"lightbox_previous": "Previous",
"lightbox_error": "The requested content cannot be loaded. Please try again later.",
"lightbox_start_slideshow": "Start slideshow",
"lightbox_stop_slideshow": "Stop slideshow",
"lightbox_full_screen": "Full screen",
"lightbox_thumbnails": "Thumbnails",
"lightbox_download": "Download",
"lightbox_share": "Share",
"lightbox_zoom": "Zoom",
"lightbox_new_window": "New window",
"lightbox_toggle_sidebar": "Toggle sidebar"
}
..
Comparison Table (for 20sec Recording)
Thanks for the mod @pankajsammal
So no support for AOSPA ?
Great work OP can you please integrate the slow mo with audio mod with this
https://forum.xda-developers.com/oneplus-3/how-to/op3-3t-unlock-720p-slowmotion-video-t3566276
Doesn't work on OOS 3.5.4, bootloop
Does it work on Resurrection remix N?
@pankajsammal Please can you reduce the bitrate a little less aggressively. At the current settings the video quality suffers according to me.
I would suggest the following-
[email protected]
1080p and [email protected]
If you do not like my suggestion please guide on how to change the settings myself.
EDIT: I did some research on this and found out a thread over at OP2 forums which had the following post.
H.265 exports video with the same quality as h.264 but reduces the file size by 40%(it doesn't automatically do its magic). You will need to adjust the bitrate for it to work. Now if anyone wants to record 4k video with H.265 and stock bitrate which is 42 Mbits, he/she can achieve the quality of the video normally where you will need to increase the bitrate upto 60/70 using h.264 codec.
Click to expand...
Click to collapse
Source-https://forum.xda-developers.com/showthread.php?p=73149219
PS - I figured out how to make a Magisk module myself and with my desired bitrate, if the OP doesn't mind I'll share it here. BTW it's just stock bitrate with HEVC enabled and it passes the SafetyNet.
PPS - No hard feelings towards the OP.
Sent from my ONEPLUS A3003 using Tapatalk
Just to be clear
My device can perfectly support and play all the HDR10 Content from any streaming sites like;
Netflix, YouTube and others.
My Device
Stock Mate 10 ALP-L29 / Android 9 (EMUI 9)
My Video
MPEG-4 / High Efficiency Video Coding (HEVC)
Bit depth: 10 bits / Maximum bit rate: 94.2 Mb/s - Overall bit rate 73 Mb/s
FPS: 59.940 / Resolution 4K (3840X2160)
Issue with
Mate 10 Stock Video Player Version 8.0.9.326
Important Note: The Mate 10 Stock Video Player (or Stock Codec), MX Player (J2 Interactive) and the Videolabs (VCL for Android) gives you Actual Colors from the Video you are playing but
Problem: *After a few seconds of playtime, the app lag and unwatchable.
{
"lightbox_close": "Close",
"lightbox_next": "Next",
"lightbox_previous": "Previous",
"lightbox_error": "The requested content cannot be loaded. Please try again later.",
"lightbox_start_slideshow": "Start slideshow",
"lightbox_stop_slideshow": "Stop slideshow",
"lightbox_full_screen": "Full screen",
"lightbox_thumbnails": "Thumbnails",
"lightbox_download": "Download",
"lightbox_share": "Share",
"lightbox_zoom": "Zoom",
"lightbox_new_window": "New window",
"lightbox_toggle_sidebar": "Toggle sidebar"
}
Screenshot: Left Picture, is for Stock Video Player, MX Player and VCL Player that lag or crashes. Right Picture, are other 3rd Party Apps that play but degraded.
Below are the Video Applications that I tried to play the High Quality File like HDR Video in which
Important Note: Can play a High Quality Video
Problem: But doesn't display the Actual Colors from the real HDR Videos also the App seems to downgrade the video playback.
*Pandora. TV - Video Player HD
*InShot Inc. - Video Player All Format
*HashTech Studio - 4K Video Player
*FIPE Labs - FX Player
*GOM Player - GOM Player
If you know a way to play the File, please comment down below. I badly need it.
Thank you.
Have you tried MX Player?
Also, please share the video link so I can try it on my end.
manci said:
Have you tried MX Player?
Also, please share the video link so I can try it on my end.
Click to expand...
Click to collapse
I just tried the MX Player an hour ago.
The result is the same with Stock Mate 10 Video Player and Videolabs VCL Player in which gives you an accurate color
but after a few seconds it stop playing or lag then crash till the last seconds of the video.
Click this link to download the Video File that I used. File size : 724 MB
So I tried the video.
Stock player freezes every few seconds.
It works and looks perfect with MXPlayer but only with HW+ decoding. SW or regular HW either lag and/or don't support HDR.
manci said:
So I tried the video.
Stock player freezes every few seconds.
It works and looks perfect with MXPlayer but only with HW+ decoding. SW or regular HW either lag and/or don't support HDR.
Click to expand...
Click to collapse
I am so dumb!
Really gorgeous looking smartphone! Capable of playing gorgeous videos!
Thank you Sir.