I use AVAssetWriter to record a video for 240FPS to make slow motion, but the frame rate ruduced gradually , at last the frame rate keep about 60FPS, why?
How can I record a video for 240FPS with filters? The time of every frame received in AVCaptureVideoDataOutputSampleBufferDelegate
as below.
{136730920270041/1000000000 = 136730.920}
{136730924439541/1000000000 = 136730.924}
{136730928608833/1000000000 = 136730.929}
{136730932778416/1000000000 = 136730.933}
{136730936947791/1000000000 = 136730.937}
{136730941117166/1000000000 = 136730.941}
{136730945286666/1000000000 = 136730.945}
{136730949456125/1000000000 = 136730.949}
{136730953625416/1000000000 = 136730.954}
{136730957794958/1000000000 = 136730.958}
{136730961964541/1000000000 = 136730.962}
{136730966133833/1000000000 = 136730.966}
{136730970303416/1000000000 = 136730.970}
{136730974472833/1000000000 = 136730.974}
{136731191283708/1000000000 = 136731.191}
{136731207961375/1000000000 = 136731.208}
{136731278841791/1000000000 = 136731.279}
{136731295519625/1000000000 = 136731.296}
{136731316366750/1000000000 = 136731.316}
{136731333044749/1000000000 = 136731.333}
{136731349722290/1000000000 = 136731.350}
{136731366400207/1000000000 = 136731.366}
{136731383077916/1000000000 = 136731.383}
{136731399755750/1000000000 = 136731.400}
{136731416433374/1000000000 = 136731.416}
{136731433111082/1000000000 = 136731.433}
{136731449789000/1000000000 = 136731.450}
{136731466466583/1000000000 = 136731.466}
{136731483144540/1000000000 = 136731.483}
{136731499822207/1000000000 = 136731.500}
{136731516499999/1000000000 = 136731.516}
{136731533177666/1000000000 = 136731.533}
{136731549855500/1000000000 = 136731.550}
{136731566533374/1000000000 = 136731.567}
{136731583211040/1000000000 = 136731.583}
{136731599888833/1000000000 = 136731.600}
{136731616566500/1000000000 = 136731.617}
{136731633244374/1000000000 = 136731.633}