iphone - Save video of last 30 second -


i want develop program in user can capture , save last 30 sec of video after stop button pressed.

1) have control on video recording?

2) how can last 30 sec of video?

if can manage images @ rate of 15/fps using uiimagepickercontroller.

then make buffer of size 15*30.

make queue nsmutablearray remove first frame new frame , add new frame @ end of queue.

at end when user press stop button. create video(using custom codac).

i not sure can helpful.


Comments

Popular posts from this blog

ruby - When to use an ORM (Sequel, Datamapper, AR, etc.) vs. pure SQL for querying -

php - PHPDoc: @return void necessary? -

c++ - Convert big endian to little endian when reading from a binary file -