Register FAQ / Rules Forum Spy Search Today's Posts Mark Forums Read
Go Back   MacRumors Forums > iPhone, iPod and iPad > iOS > Jailbreaks and iOS Hacks

Reply
 
Thread Tools Search this Thread Display Modes
Old Feb 6, 2013, 09:47 AM   #26
jjw141
Thread Starter
macrumors newbie
 
Join Date: Jan 2013
Quote:
Originally Posted by Menneisyys2 View Post
Yup, he must be wrong - the 4S indeed does support true 60 fps under 5.x.
I sent a followup email to the developer explaining that it is not a hardware issue. I got another quick response. The developer is going to contact the folks at SloPro to see if they have any information. I'm not holding my breath, but I'm sure someone will figure this out eventually.

I may have to break down and get a "real" camera instead
jjw141 is offline   0 Reply With Quote
Old Feb 14, 2013, 10:29 PM   #27
okwhatev
macrumors regular
 
Join Date: Oct 2005
Please keep this thread alive! Losing slopro wasn't worth iOS 6.
okwhatev is offline   0 Reply With Quote
Old Feb 15, 2013, 09:14 AM   #28
jjw141
Thread Starter
macrumors newbie
 
Join Date: Jan 2013
Quote:
Originally Posted by okwhatev View Post
Please keep this thread alive! Losing slopro wasn't worth iOS 6.
I'm with you on that! No word back from the developer of CameraTweak. I don't regret jailbreaking my phone at all, but I am disappointed that no one has solved the 60 FPS problem. That was the main reason I considered jailbreaking in the first place.

Each time I see the update badge on the App Store icon, I hope that it's a SloPro fix. (Jeez, that's just sad! I need to get some other interests
jjw141 is offline   0 Reply With Quote
Old Feb 17, 2013, 08:32 AM   #29
lanceuppercut47
macrumors regular
 
Join Date: Feb 2013
Having not seen how SloPro worked in IOS5, did CameraTweak's frame rate setting do a similar thing? Theroetically if whatever broke 60fps recording in IOS6 was fixed somehow, would CameraTweak allow me to do slow motion videos??

As it's not working in IOS6, how does the current implementation of SloPro work?
lanceuppercut47 is offline   0 Reply With Quote
Old Feb 17, 2013, 10:19 AM   #30
Menneisyys2
macrumors 601
 
Join Date: Jun 2011
Quote:
Originally Posted by lanceuppercut47 View Post
Having not seen how SloPro worked in IOS5, did CameraTweak's frame rate setting do a similar thing?
It did - see my prev. Articles here at MR

Quote:

As it's not working in IOS6, how does the current implementation of SloPro work?
It doesn't work either - see my posts in this #.
Menneisyys2 is online now   0 Reply With Quote
Old Feb 20, 2013, 09:51 PM   #31
okwhatev
macrumors regular
 
Join Date: Oct 2005
Quote:
Originally Posted by lanceuppercut47 View Post
Having not seen how SloPro worked in IOS5, did CameraTweak's frame rate setting do a similar thing? Theroetically if whatever broke 60fps recording in IOS6 was fixed somehow, would CameraTweak allow me to do slow motion videos??

As it's not working in IOS6, how does the current implementation of SloPro work?
Basically slopro took advantage of how iOS 5's Quicktime engine captured video. When they designed iOS 6, Apple changed how the Quicktime engine records video, making it optimized but breaking the trick that both CameraTweak and SloPro used to achieve true 60FPS slomo. There certainly isn't any easy way to fix this until someone (c'mon someone...) figures out how the new iOS captures video and can exploit a similar method.

All the existing video apps artificially create slow motion instead of genuinely capturing 60FPS which is night & day smoother and more impressive visually.
__________________
iPhone 5S Gold 64GB 7.0.4 (Jailbroken) :: iPhone 5 64GB iOS 7.0.4 (Jailbroken) :: iPad Air 128GB iOS 7.0.4 (jailbroken) :: 15" Retina Macbook Pro Intel Core i7 quad core 2.6ghz /8GB/256SSD
okwhatev is offline   0 Reply With Quote
Old Mar 14, 2013, 11:30 AM   #32
PrinceGaz
macrumors newbie
 
Join Date: Mar 2013
Please ignore this post if you want to shoot at 60fps as this isn't about that. It is about the results of my modifying the 'AVCaptureSession.plist' on my iPod touch 5g to improve the video capture framesize, low-light performance, and resolution.

Thanks to Werner's posts on iphonelife.com, I've modified the 'AVCaptureSession.plist' file on my iPod touch 5g (the most recent version) running iOS 6.1.2 with very successful results. The iPod5 has a 5MP camera sensor (like the iPhone4), but has the Apple A5 silicon including the 800MHz dual-core Cortex-A9 (like the iPhone4S), and a 1136x640 screen (like the iPhone5), so it combines bits of several iPhone generations.

First off, the folder on the iPod5 is in the same path as on the iPhone5, but it is named N78 instead of N42.

I decided to use the AppStore app ProCam (usually 0.69 / US$0.99, sometimes free for a short period) for my tests as it allows you to choose from four different standard video modes in the app as well as four different frame rates for those modes (30, 24, 15, 5 fps). I did buy CameraTweak from Cydia as well but was very underwhelmed with what it added to the normal Camera app.

The four video modes ProCam offers are: Full HD 1080p (standard 1920x1080 mode using only central area of sensor), HD 720p (standard 1280x720 mode using similar size central area as 1080p mode), VGA 640x480 (gives same full field-of-view as camera mode and is the "best" official video mode using the full area), Low 480x360 (also gives full field-of-view). I left the 1080p and 720p modes alone and tweaked the VGA and Low modes as ProCam already expects a 4:3 aspect ratio with those modes so the preview display will be correct.

After much trial and error with various resolutions, noise reduction, bitrate, framerate etc, I have found that Temporal Noise Reduction is the single most important setting when capturing using the full sensor area of 2592x1936 (it has a 5MP sensor).

With Temporal NR off, it can rescale to any resolution up to the highest the encoder can support at a full 24fps without any dropped or duplicated frames (I videoed Werner's 60fps video file to check every frame captured and all frames were unique). Whereas the limit for his iPhone5 encoding resolution was 1664x1248, the highest my iPod5 could handle was 1656x1242 which worked every time (with TempNR off). while 1664x1248 always failed. I didn't test 1660x1245 though as I don't like the idea of an odd number of pixels!

The actual number of pixels of these resolutions is woth mentioning:
1656x1242: 2,056,752
1664x1248: 2,076,672
1920x1080: 2,073,600 (highest officially supported mode)

Like I say, 1656x1242 worked perfectly at 24fps every time. I assume there is some hardware limitation (or some setting in the plist file I didn't look at) which prevents 30fps from working properly as choosing that caused serious juddering.

Enabling Temporal NR caused a serious slowdown due to I assume the CPU overhead of the extra work needed for each frame. I tested at various resolutions with the following results:

1024x768: 24 fps, no dropped frames in 24fps mode
1088x816: 23.7 fps average, resulting in nasty judders every two or three seconds in 24fps mode
1152x864: 22.2 fps average, frequent judders in 24fps
1280x960: 19.3 fps average, terrible in 24fps mode, perfect in 15fps mode
1440x1080: 16.3 fps average, no dropped frames in 15fps mode, ideal if 15fps is enough
1600x1200: 13.8 fps average, getting too slow to be considered a video now
1632x1224: 13.4 fps average, highest resolution which still worked normally
1640x1230: preview always freezes and ProCam is very slow to respond
1648x1236 and higher: no video is saved

So with Temporal NR enabled, 1024x768 @ 24fps seems like the ideal option. If you're prepared to drop to 15fps then the resolution can be upped to 1440x1080.

The end result is three optimal modes on the iPod5:

a) 1600x1200 @ 24fps with TempNR disabled (I prefer "standard" resolutions)
b) 1440x1080 @ 15fps with TempNR enabled
c) 1024x768 @ 24fps with TempNR enabled

I went with (a) and (c) as I don't particularly like 15fps.

The final modified 'AVCaptureSession.plist' file had these sections changed (I kept 17Mbps for 1600x1200 like the default 1920x1080 as they are very similar size, and chose 7.5Mbps for 1024x768):

Quote:
<key>AVCaptureSessionPreset640x480</key>
<dict>
<key>Description</key>
<string>Back Facing 640x480</string>
<key>LiveSourceOptions</key>
<dict>
<key>Binned</key>
<false/>
<key>Capture</key>
<dict>
<key>Height</key>
<integer>1200</integer>
<key>Width</key>
<integer>1600</integer>
</dict>
<key>ChromaNoiseReduction</key>
<true/>
<key>MinFrameRate</key>
<integer>24</integer>
<key>Preview</key>
<dict>
<key>Height</key>
<integer>640</integer>
<key>Width</key>
<integer>852</integer>
</dict>
<key>Sensor</key>
<dict>
<key>Height</key>
<integer>1936</integer>
<key>Width</key>
<integer>2592</integer>
</dict>
<key>TemporalNoiseReductionMode</key>
<integer>0</integer>
</dict>
<key>VideoCompressionProperties</key>
<dict>
<key>AllowFrameReordering</key>
<false/>
<key>AverageBitRate</key>
<integer>17000000</integer>
<key>H264EntropyMode</key>
<string>CABAC</string>
<key>MaxKeyFrameIntervalDuration</key>
<integer>1</integer>
<key>NumberOfParallelCores</key>
<integer>2</integer>
<key>NumberOfSlices</key>
<integer>2</integer>
<key>Priority</key>
<integer>80</integer>
<key>ProfileLevel</key>
<string>H264_High_4_1</string>
</dict>
</dict>
and also

Quote:
<key>AVCaptureSessionPresetMedium</key>
<dict>
<key>Description</key>
<string>Back Facing Medium Quality Video</string>
<key>LiveSourceOptions</key>
<dict>
<key>Binned</key>
<false/>
<key>Capture</key>
<dict>
<key>Height</key>
<integer>768</integer>
<key>Width</key>
<integer>1024</integer>
</dict>
<key>ChromaNoiseReduction</key>
<true/>
<key>MinFrameRate</key>
<integer>24</integer>
<key>Preview</key>
<dict>
<key>Height</key>
<integer>640</integer>
<key>Width</key>
<integer>852</integer>
</dict>
<key>Sensor</key>
<dict>
<key>Height</key>
<integer>1936</integer>
<key>Width</key>
<integer>2592</integer>
</dict>
<key>TemporalNoiseReductionMode</key>
<integer>1</integer>
</dict>
<key>VideoCompressionProperties</key>
<dict>
<key>AllowFrameReordering</key>
<false/>
<key>AverageBitRate</key>
<integer>7500000</integer>
<key>H264EntropyMode</key>
<string>CABAC</string>
<key>MaxKeyFrameIntervalDuration</key>
<integer>1</integer>
<key>NumberOfParallelCores</key>
<integer>2</integer>
<key>NumberOfSlices</key>
<integer>2</integer>
<key>Priority</key>
<integer>80</integer>
<key>ProfileLevel</key>
<string>H264_High_4_1</string>
</dict>
</dict>
(the indenting has been lost I'm afraid)

With those changes, in ProCam it is easy to switch between the standard (inferior) 1080p and 720p modes at up to 30fps, or choose either of the new full sensor area modes which work at 24fps: "VGA" which is 1600x1200 at 17Mbps with TempNR disabled, and "Low" (actually the Medium section in the plist file) which saves at 1024x768 with TempNR enabled at 7.5Mbps.

The new modes provide the expected much improved low light performance from using the full 2592x1936 sensor area as well as having a much wider field of view than the normal 1080p mode.

Many thanks to Werner for his posts on iphonelife.com for the information needed which allowed me to do the above.
PrinceGaz is offline   0 Reply With Quote
Old Jun 10, 2013, 03:44 PM   #33
hoyboy64
macrumors newbie
 
Join Date: Jun 2013
iOS7 WILL support 60fps video!

Confirmed in the keynote today that iOS 7 will support 60fps video recording for third party applications! Can't wait!

hoyboy64 is offline   0 Reply With Quote
Old Jun 10, 2013, 04:03 PM   #34
Menneisyys2
macrumors 601
 
Join Date: Jun 2011
Quote:
Originally Posted by PrinceGaz View Post
Many thanks to Werner for his posts on iphonelife.com for the information needed which allowed me to do the above.
1, you're welcome

2, it's only now that I've noticed your post. Will definitely link to it in my next video recording-related article.

----------

Quote:
Originally Posted by hoyboy64 View Post
Confirmed in the keynote today that iOS 7 will support 60fps video recording for third party applications! Can't wait!

Image
I really hope it's 1080p60 and not just reintroducing 720p60 fps as a brand new feature. (let's not forget that that 720p60 on the iOS5 4S isn't really 720p: it allows for only half-resolution recording and only at 720p; this means the effective vertical resolution was 360 rows).

I'll very soon test it as soon as I get back my (or a new) iPhone 5 from Apple, assuming it arrives with 6.1.3/4. Will be installing iOS7 on it ASAP.
Menneisyys2 is online now   0 Reply With Quote
Old Jun 21, 2013, 01:17 PM   #35
Menneisyys2
macrumors 601
 
Join Date: Jun 2011
Quote:
Originally Posted by hoyboy64 View Post
Confirmed in the keynote today that iOS 7 will support 60fps video recording for third party applications! Can't wait!

Image
Don't expect miracles: the same crippled (half-res) 720p60 mode as under iOS5. See http://forums.macrumors.com/showthread.php?t=1600113 for my first iPhone 5 report and actual example code.

Last edited by Menneisyys2; Jun 21, 2013 at 04:40 PM.
Menneisyys2 is online now   0 Reply With Quote
Old Jun 26, 2013, 04:36 AM   #36
Menneisyys2
macrumors 601
 
Join Date: Jun 2011
Quote:
Originally Posted by Menneisyys2 View Post
Don't expect miracles: the same crippled (half-res) 720p60 mode as under iOS5. See http://forums.macrumors.com/showthread.php?t=1600113 for my first iPhone 5 report and actual example code.
1. Unfortunately, the currently available 720p60 modes use binned recording in both dimensions, meaning both vertical and horizontal resolution is halved. In this regard, it's definitely inferior to iOS5.

2. The final, full article has been posted, with a working (albeit VERY simple) 60 fps recorder (it'll be GREATLY enhanced in the near future!):

http://forums.macrumors.com/showthread.php?t=1602171

I've been using the recorder on my iPhone 5. Working great. Haven't tested it on the 4S (don't want to sacrifice JB on my 4S) - feedback is really welcome from 4S users!

Note that I'm also giving compilation / deployment advice of the app in the old thread ( http://forums.macrumors.com/showthread.php?t=1600113 ) too, starting with #17. Also feel free to post if you'd want to compile it but don't know how it needs to be done.
Menneisyys2 is online now   0 Reply With Quote

Reply
MacRumors Forums > iPhone, iPod and iPad > iOS > Jailbreaks and iOS Hacks

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT -5. The time now is 01:07 PM.

Mac Rumors | Mac | iPhone | iPhone Game Reviews | iPhone Apps

Mobile Version | Fixed | Fluid | Fluid HD
Copyright 2002-2013, MacRumors.com, LLC