Stabilize saved video on iOS

asked 2015-02-17 10:33:00 -0500

Rafa gravatar image

updated 2015-02-17 10:33:35 -0500

I'm trying to use the script below to stabilize a saved video in my iOS project:

https://github.com/Itseez/opencv/blob...

However when it attempts to open the video Ptr<VideoFileSource> source = makePtr<VideoFileSource>(inputPath); it throws the following error:

OpenCV Error: No Error (can't open file: file:///private/var/mobile/Containers/Data/Application/D7312D3B-35DD-4292-9781-4C5D04CF62D4/tmp/output.mp4) in reset, file /Users/rafa/projects/opencv/modules/videostab/src/frame_source.cpp, line 71
error: /Users/rafa/projects/opencv/modules/videostab/src/frame_source.cpp:71: error: (0) can't open file: file:///private/var/mobile/Containers/Data/Application/D7312D3B-35DD-4292-9781-4C5D04CF62D4/tmp/output.mp4 in function reset

And I have no clue why, have anyone faced this issue and can help? Thanks

edit retag flag offensive close merge delete