First of all, many thanks Brad Larson for providing this great library.
I am developing a iOS media sharing app which has the video effects using GPUImage.
Everything have been working well, but I found a problem in filtering an existing video file while playing.
I set playAtActualSpeed=Yes and started filtering but playback duration in the app was not accurately same as actual video duration.
Playback duration was different a little every time.
For example, if the duration of a video file is 10.0s and playback time is about 11s.
I want the playback duration will be 10.0s.
I wrote my code as below:
Hi,
First of all, many thanks Brad Larson for providing this great library. I am developing a iOS media sharing app which has the video effects using GPUImage. Everything have been working well, but I found a problem in filtering an existing video file while playing. I set playAtActualSpeed=Yes and started filtering but playback duration in the app was not accurately same as actual video duration. Playback duration was different a little every time. For example, if the duration of a video file is 10.0s and playback time is about 11s. I want the playback duration will be 10.0s. I wrote my code as below:
I tested it with SimpleVideoFileFilter project but the same problem was occurred. Are there any ideas to solve this problem?
Thanks, WangWu