Advertise Mobile SDKs Books Events Forum News Social Networking Support Us
Follow @iphonedevsdk on Twitter

Interface 2, Advanced iOS
Mockup & Code Gen
($9.99)

Make your own iPhone apps
and run them live!
(free)

Pic Frame Dynamo: Photo Editing
($0.99)

Abiliator
($1.99)

Want your application or service advertised on iPhone Dev SDK?

Go Back   iPhone Dev SDK Forum > iPhone SDK Development Forums > iPhone SDK Development > iPhone SDK Development - Advanced Discussion

Reply
 
LinkBack Thread Tools Display Modes
Old 04-21-2011, 04:50 PM   #1 (permalink)
Registered Member
 
Join Date: May 2010
Posts: 1
IGoldwin is on a distinguished road
Default Play Movie frame by frame

I have made an application which plays a movie from my library.
I have added start, pause and continue functionality.
Now I would like to add a PlayFrame function. Since videos are recorded at 24 fps one solution would be to play video for 1/24 sec and then pause again. Another solution would be to break video down to frames and play one at a time.
For the first solution I tried with a simple:
[theMovie play];
sleep(100);
[theMovie pause];

This made the simulator continuously play the movie and freeze both simulator and xcode.
Should I use threading or what? Please advice.
IGoldwin is offline   Reply With Quote
Reply

Bookmarks

Tags
frame, move

Thread Tools
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
Trackbacks are On
Pingbacks are On
Refbacks are On



» Advertisements
» Online Users: 365
16 members and 349 guests
AyClass, baja_yu, checkright, dre, epaga, fvisticot, givensur, jPuzzle, Meoz, Newbie123, Objective Zero, Punkjumper, sacha1996, skrew88, tomtom100
Most users ever online was 1,387, 04-10-2012 at 04:21 AM.
» Stats
Members: 175,642
Threads: 94,110
Posts: 402,857
Top Poster: BrianSlick (7,990)
Welcome to our newest member, pinacate
Powered by vBadvanced CMPS v3.1.0

All times are GMT -5. The time now is 04:34 PM.
Powered by vBulletin® Version 3.8.0
Copyright ©2000 - 2012, Jelsoft Enterprises Ltd.
Search Engine Friendly URLs by vBSEO 3.3.0