Recording in 240 fps mode gives 7 or 3 fps files - Nexus 6P Q&A, Help & Troubleshooting

Hi.
I'm having issues with video recording.
This folder contains 3 video files showing my problem.
h t t p s://drive.google.com/folderview?id=0B_lMdWi3lpVOeGJ4Q1U4Ymc3blk&usp=sharing
They were recorded in the three different video modes video with Google Camera.
Right clicking and checking properties shows the files playing in 29.97, 7.45 and 3.72 frames per second.
I would expect the file to playback at 29.97 on my computer. Speeding these files up to the framerate they're supposed to be recorded at does not give me realtime footage.
I have previously recorded in 240 fps mode and the results were quite good. That file played back at 29.97 fps when transfered to my computer and I could edit it as expected.
Speeding up 8x gave me realtime video.
Any ideas on whats wrong? I've cleared data for Google Camera but it didn't help.
6P 64 GB Graphite
Rooted stock 6.0.1 with ElementalX 1.03

Related

Focus Maximum FPS for video playback

I searched here an on the net and I am having difficulty determining what the maximum FPS is for video playback on this device.
I see everywhere that it records at a max of 23 FPS.
The reason for my inquiry is I am using Super to convert some files to WMV format to play on the phone. I set it at 30 FPS and the movie played back almost flawlwssly but it looked as if it was struggling when fast movements were shown on screen (blocky areas, hazing).
Does anyone know the max video playback FPS of this device?
Zune converts videos for you. Not sure FPS but they always look good to me.
augie7107 said:
I searched here an on the net and I am having difficulty determining what the maximum FPS is for video playback on this device.
I see everywhere that it records at a max of 23 FPS.
The reason for my inquiry is I am using Super to convert some files to WMV format to play on the phone. I set it at 30 FPS and the movie played back almost flawlwssly but it looked as if it was struggling when fast movements were shown on screen (blocky areas, hazing).
Does anyone know the max video playback FPS of this device?
Click to expand...
Click to collapse
If this is the same SAMOLED that is in the Captivate then the native refresh rate of the panel is 56 if I can remember correctly. Hit up the Captivate forums to double check. Just look in one of the benchmark threads.
Also in Zune Desktop software you can disable the 'automatically re-encode videos" settings if you want to do it your self.
I played back a 1.4 GB MKV (HD 720p) without any issues so the phone has the power to decode H.264 in hardware.

Media_profile.xml modifications

I was looking at the media_profile.xml file from the Xoom forums (posted and edited by bracken21, Thanks for the work) and noticed that the file was different than the Asus TF one. Instead of trying that file on my TF I modified the TF profile.
I have experienced no problems so far with this modified file but try at your own risk, replacing the file with the original should resolve any issues you might experiences, but no promises. I highly recommend backing up your own media_profile.xml instead of using my backed up original.
A few questions for anyone that knows.
For the camera app what is 'high' quality? I assume it is the 720p profile do to the outcome I had. I ask because in the media profile there is no youtube video quality but is on the app. other video quality names aren't listed in the app either.
What do the video decoder and audio decoder caps do exactly? I turned them off only because they where turned off on the Xoom, and I wanted to see if it prevented video from playing or caused glitch's (I saw no issues in the video I played)
I set the camera to the rear and "high" for quality then recorded a video before the changes and one after then transferred them to my desktop. The details in properties shows both at 37 seconds long and a frame rate of 1280x720. the data rate for the 3gp was 7478kbps while the mp4 was 20350kbps. Total bitrate increased from 7574kbps to 20446kbps. Frame rate dropped from 28fps to 24fps. file size increased to 93MB from 33.7MB. I noticed a small improvement in quality at full screen on my monitor, it was a slow video so I couldn't tell if it had more or less tearing.
more info: You will need to reboot to see any chances. setting any setting the camera can't use will result in the camera app force closing. I tried setting the frame rate to 40 in one profile and the camera app crashed every time I tried to access the rear camera (that profile was already selected so was auto loading). placing the xml with the correct framerate back into the /system/etc folder and rebooting fixed the issue.
Since it is a busy day today for me I just did some quick modifications. If anyone else wants to make a modified file with better changes (specially someone who knows audio/video better) it would probably be appreciated by all.
Placing this file where it needs to go requires root and a file browser that can mount the system folder in read/write.
The XML file should be placed in /system/etc. the full path is /system/etc/media_profiles.xml
changed:
All 3gp encoding to mp4 encoding
Rear Camera 720p quality bitrate from 8,000,000 to 25,000,000
Front Camera high quality bitrate from 4,000,000 to 8,000,000
Changed both "imageencoding quality from 90/80/70/20,000,000 to 100/99/95/250,000,000
Turned off videodecodercap and audiodecodercap
Again thank you to bracken21 for doing the Xoom's profile, which provided a base to go off of.

Resoults from Camera mod

http://www.youtube.com/watch?v=ZExCw-DXuHE&context=C30d783dADOEgsToPDskLoehz8ZrXfucP3ozu-g4_i
http://www.youtube.com/watch?v=e5KcX_RA3bU&context=C30e88e8ADOEgsToPDskL1gyWIJH71CU9HInTgxt4m
These 2 tests are from the thread http://forum.xda-developers.com/showthread.php?t=1314811.
The thread is about improving the X8's camera to record videos on mp4 format.
And so far it records on mp4 format and its laggy and choppy sometimes ill meybe improve it later.
Wasn't it m4v format or something? At least that's what the flashable zip says..
Yes,it is .m4v video format,really improve audio recording,but lags a lot!
In .m4v video format audio quality and Video quality both are best but Audio/Video synchronization is worst.
Video is slow while sound is Fast.
I tried all possible values for best sync but not successful.
I have got 1 sec lag in A/V sync in .m4v.
Try mine
Try this, its had been modified to best ratio by me, no lag when recording, playing, video-audio interleave(either is faster) on my class 4 sdcard. NOTE: Lower class sdcard maybe cannot use this tweak at all because of write speed of the card cannot catch up with the data is being write into it.
Anyway its around 2.8 mbps h264 640 x 480 30fps Vid, 128 kbps 48000 Hz 1 channel (mono) aac audio and in m4v format.
Low profile:
around 1.4 mbps h263 640 x 480 30fps Vid, 64 kbps 48000 Hz 1 channel aac audio and in 3gp format.
I have attached as Flashable CWM zip
P.S: IF you have higher class sdcard you would not be here report this problem feel free to go and modified the value that fit your sdcard speed perfectly. MAKE BACKUP BEFORE MODIFYING THE VALUE, AS GOT ONCE I MODDED "EXTRA" VALUE AND GET SCREW-UP ENDING AS BOOT LOGO STUCK. OR DELETE THE FILES USE ADB AND TRY AGAIN
Thanks button are there =====>

[Q] Video recording bitrate in motorola defy:problems

Hello,
I am running MIUI(2.4.13) on my motorola defy(green lens) with class2 8gb memory card.
the default bitrate for video recording is 2.1mb/sec which is lower than the bitrate of official android 2.2 which had 4.0mb/sec.(its really smooth at 24fps)
the thing is i tried changing the bitrate to 5.0 mb/sec through media_profiles.xml file.but when recording at 5.0 mb/s the video starts to jerk,
showing duplicate frames,stucks and, in whole the video is not smooth.
this happens after 30secs or 1minute of recording.the video is saved ok at 5.0 mb/s but its not smooth.
i saw in the media_profiles that the default bitrate for 720p rec is 10mb/s.
but when i change the video recording to 5.0mb/s at VGA its jerks
Why is that? is it beacuse of the low speed memory card?
or is it the processing power/buffer size.
i read as some guy getting vga recording to work fine at 8mb/s sec,but i can't.
video recording at 2mb/s bitrate sucks
Any help will be greatly appreciated
Thanks

How to record videos at above 20Mbps?

Hi all, I have a Redmi 2 that I'm using as a dashcam. I've played with the media_profiles.xml and got the phone to record 1080p at 20Mbps. However, anything above that value doesn't work. I've increased <ImageDecoding memCap="40000000" /> and also increased VideoEncordercap MaxBitRate="30000000" but to no avail. Anyone with any ideas?
Did 1 day research on this ,rebooted at least 20 times
read my media profiles
high bitrate rec set on "qcif" .
also edits in encodercap
you may copy this instead of yours.
just give it the right permission
BTW what ROM are you on?
mind u I'm on android 6.0.1 by kumarajay (everything is great here, video already recorded at 20 Mbps).
please backup mediaprofiles.xml before editing it
Hi, thanks for the file but I've tried the same edits on my own file and on your attached files but it didn't work. Video record fails whenever bitrate is above 20Mbps. I'm on rooted stock MIUI Developer ROM.

Categories

Resources