Wayback Machinekoobas.hobune.stream
May JUN Jul
Previous capture 13 Next capture
2021 2022 2023
1 capture
13 Jun 22 - 13 Jun 22
sparklines
Close Help
  • Products
  • Solutions
  • Made with Unity
  • Learning
  • Support & Services
  • Community
  • Asset Store
  • Get Unity

UNITY ACCOUNT

You need a Unity Account to shop in the Online and Asset Stores, participate in the Unity Community and manage your license portfolio. Login Create account
  • Blog
  • Forums
  • Answers
  • Evangelists
  • User Groups
  • Beta Program
  • Advisory Panel

Navigation

  • Home
  • Products
  • Solutions
  • Made with Unity
  • Learning
  • Support & Services
  • Community
    • Blog
    • Forums
    • Answers
    • Evangelists
    • User Groups
    • Beta Program
    • Advisory Panel

Unity account

You need a Unity Account to shop in the Online and Asset Stores, participate in the Unity Community and manage your license portfolio. Login Create account

Language

  • Chinese
  • Spanish
  • Japanese
  • Korean
  • Portuguese
  • Ask a question
  • Spaces
    • Default
    • Help Room
    • META
    • Moderators
    • Topics
    • Questions
    • Users
    • Badges
  • Home /
avatar image
0
Question by dansav · Mar 16, 2012 at 06:16 PM · capturecapturescreenshot

Fastest solution for capturing screens on iphone

Is Application.CaptureScreenshot("Screenshot.png"); The only method to get a screenshot?

I'm trying to captureScreenshot on the iphone 4s and only getting about 3 frames per second. Is there any way to speed this up?

Someone said the main problem is the reading and writing to the disk. Is there any way to save the reading and writing till the end, or use a format that is smaller than png to have less data to read/write?

Is Application.CaptureScreenshot("Screenshot.png"); The fastest method to get a screenshot?

Thanks,

Comment
Add comment · Show 5
10 |3000 characters needed characters left characters exceeded
▼
  • Viewable by all users
  • Viewable by moderators
  • Viewable by moderators and the original poster
  • Advanced visibility
Viewable by all users
avatar image DaveA · Mar 16, 2012 at 08:41 PM 0
Share

At runtime? Cuz I think you can use iTunes or XCode to grab screens too.

avatar image BerggreenDK · Mar 16, 2012 at 09:12 PM 0
Share

are you trying to record a movie?

avatar image dansav · Mar 17, 2012 at 12:07 AM 0
Share

The app is to capture some animation at about 6-12 frames per second. But the best I can get is 2-3. From what I can gather the main slowdown is from writing to the disk. I wonder if it could be sped up by holding the info and writing it all at once?

avatar image BerggreenDK · Mar 19, 2012 at 08:23 AM 0
Share

well, if you are playing the animation, you should be able to slow down the speed you play it too? if there is memory enough, you might be able to squeeze the movie into arrays for a short period. But your question does not show what kinda solution you are ai$$anonymous$$g for.

avatar image dansav · Mar 19, 2012 at 08:21 PM 0
Share

This has to run on the iphone. I tried slowing down the fps to capture at the speed it can capture but the capture speed is so slow that it doesn't seem feasible. Even capturing a blank screen only gets 2 fps. To capture a 30 second video at 24fps is going to take 360 seconds or 6 $$anonymous$$utes just to capture. I've tried the builtin capture and using texture.ReadPixels and EncodeToPng but that's even slower. If I could get it down to 2 $$anonymous$$utes it might work.

2 Replies

· Add your reply
  • Sort: 
avatar image
0

Answer by BerggreenDK · Mar 21, 2012 at 10:50 AM

how about this:

install FRAPS (windows, dont know if there is an Apple version, but similar video-capture program for desktop).. then use Unity Remote to control the game through the real hardware, but simulate the game on the desktop and thereby capture the game.

Its not exactly what you ask about, but I believe this could do the trick, if you have build the application/game you are trying to record.

Comment
Add comment · Share
10 |3000 characters needed characters left characters exceeded
▼
  • Viewable by all users
  • Viewable by moderators
  • Viewable by moderators and the original poster
  • Advanced visibility
Viewable by all users
avatar image
0

Answer by agrygorenko · Jan 09, 2013 at 11:31 PM

Try ScreenRecorder extension, it does video capture on Mac and iOS.

Comment
Add comment · Share
10 |3000 characters needed characters left characters exceeded
▼
  • Viewable by all users
  • Viewable by moderators
  • Viewable by moderators and the original poster
  • Advanced visibility
Viewable by all users

Your answer

Hint: You can notify a user about this post by typing @username

Up to 2 attachments (including images) can be used with a maximum of 524.3 kB each and 1.0 MB total.

Follow this Question

Answers Answers and Comments

6 People are following this question.

avatar image avatar image avatar image avatar image avatar image avatar image

Related Questions

CaptureScreenshot & physical simulation 0 Answers

Application.CaptureScreenshot supersizing doesn't work for Canvas? 1 Answer

Capturing 360 Image causes to darken the image and show ghosting and artifacts 0 Answers

Specifying a camera using ScreenShotMovie and changing capture rate while not affecting playback rate 1 Answer

Capture WebCamtexture in different codec. 0 Answers


Enterprise
Social Q&A

Social
Subscribe on YouTube social-youtube Follow on LinkedIn social-linkedin Follow on Twitter social-twitter Follow on Facebook social-facebook Follow on Instagram social-instagram

Footer

  • Purchase
    • Products
    • Subscription
    • Asset Store
    • Unity Gear
    • Resellers
  • Education
    • Students
    • Educators
    • Certification
    • Learn
    • Center of Excellence
  • Download
    • Unity
    • Beta Program
  • Unity Labs
    • Labs
    • Publications
  • Resources
    • Learn platform
    • Community
    • Documentation
    • Unity QA
    • FAQ
    • Services Status
    • Connect
  • About Unity
    • About Us
    • Blog
    • Events
    • Careers
    • Contact
    • Press
    • Partners
    • Affiliates
    • Security
Copyright © 2020 Unity Technologies
  • Legal
  • Privacy Policy
  • Cookies
  • Do Not Sell My Personal Information
  • Cookies Settings
"Unity", Unity logos, and other Unity trademarks are trademarks or registered trademarks of Unity Technologies or its affiliates in the U.S. and elsewhere (more info here). Other names or brands are trademarks of their respective owners.
  • Anonymous
  • Sign in
  • Create
  • Ask a question
  • Spaces
  • Default
  • Help Room
  • META
  • Moderators
  • Explore
  • Topics
  • Questions
  • Users
  • Badges