Sunset Lake Software - Comments for "Recording HD video with filtered screen preview" http://www.sunsetlakesoftware.com/forum/recording-hd-video-filtered-screen-preview Comments for "Recording HD video with filtered screen preview" en Thank you for the fast http://www.sunsetlakesoftware.com/forum/recording-hd-video-filtered-screen-preview#comment-1419 <p>Thank you for the fast response. I will try this....seems like a great idea. I missed forceProcessingAtSizeRespectingAspectRatio before! ;-)</p> pubDate Wed, 30 May 2012 15:54:52 +0000 dc:creator badelappen guid false comment 1419 at http://www.sunsetlakesoftware.com The most performant approach http://www.sunsetlakesoftware.com/forum/recording-hd-video-filtered-screen-preview#comment-1416 <p>The most performant approach would probably be to set up a video camera input at 720p, add both the movie writer and your display filter to that, and then add the view as the target for the filter. With the filter, use -forceProcessingAtSizeRespectingAspectRatio: to cause it to only process at the resolution you want to display (for performance). This is effectively</p> <p>Camera -&gt; Filter -&gt; View<br /> |-&gt; Writer</p> <p>This way, you record the untouched 720p video while displaying the filtered video to the screen at a lower resolution. You should be able to approach 20 FPS with this on an iPhone 4, but I haven't benchmarked things lately since I optimized part of the pipeline.</p> pubDate Tue, 29 May 2012 21:10:00 +0000 dc:creator Brad Larson guid false comment 1416 at http://www.sunsetlakesoftware.com Since this thread is more or http://www.sunsetlakesoftware.com/forum/recording-hd-video-filtered-screen-preview#comment-1415 <p>Since this thread is more or less about the question i have i didn't start a new one:</p> <p>What would be the best way to show a live filtered preview but recording the unfiltered video at full resolution (just 720p in my case) for post processing? </p> <p>I tried to add a second output AVCaptureMovieFileOutput but didn't receive any video on the AVCaptureVideoDataOutput. Is this the right way to go or am i on the wrong track anyway.</p> <p>What i try to accomplish is to present a live preview of the filtered video but not use the GPUImageMovieWriter due to performance "issues" of not being able to record filtered 720p video on iPhone 4. I would then like to post process the video file as shown in the SimpleVideoFileFilter project.</p> <p>Camera -&gt; Filter -&gt; Preview &amp; Camera -&gt; File at the same time</p> <p>Do you have any hints for this?</p> pubDate Tue, 29 May 2012 20:36:43 +0000 dc:creator badelappen guid false comment 1415 at http://www.sunsetlakesoftware.com Awesome, thanks for the reply http://www.sunsetlakesoftware.com/forum/recording-hd-video-filtered-screen-preview#comment-1389 <p>Awesome, thanks for the reply Brad. </p> <p>Yes, sorry if I wasn't clear, definitely talking about the 4s+. I must have mis-read (or made a poor assumption based upon) the documentation where it states:</p> <p><cite><br /> GPUImageMovieWriter is also fast enough to record video in realtime from an iPhone 4's camera at 640x480<br /> </cite></p> <p>Thanks again for the timely response!</p> pubDate Tue, 15 May 2012 07:32:43 +0000 dc:creator codeslaw guid false comment 1389 at http://www.sunsetlakesoftware.com Given that you're talking http://www.sunsetlakesoftware.com/forum/recording-hd-video-filtered-screen-preview#comment-1384 <p>Given that you're talking about 1080p video, I assume you're referring to doing this on the iPhone 4S and / or new iPad. In my benchmarks, those devices are fully capable of filtering, displaying, and recording 1080p video at 30 FPS. You can tweak the SimpleVideoFilter example to see this in action.</p> <p>However, certain filters can slow this down because of how demanding they are in terms of processing resources. Dropping down to 720p might be required to apply certain filters at a solid 30 FPS framerate while recording video.</p> pubDate Mon, 14 May 2012 23:07:36 +0000 dc:creator Brad Larson guid false comment 1384 at http://www.sunsetlakesoftware.com