bababm
11th April 2010, 15:33
Dear Experts,
I am working on text detection in my filter. I keep a sliding window of previous and future frames to detect is there a text region of current frame.
It works on constant frame rate of input video, however I get an empty frame (black image) when the source input is variable frame rate.
Here is the situation I found.
n is current frame, getframe(n+1) works, but getframe(n+2), getframe(n+3) and .. getframe(n+x) returns me a black image.
Does getframe work in variable frame rate?
I am working on text detection in my filter. I keep a sliding window of previous and future frames to detect is there a text region of current frame.
It works on constant frame rate of input video, however I get an empty frame (black image) when the source input is variable frame rate.
Here is the situation I found.
n is current frame, getframe(n+1) works, but getframe(n+2), getframe(n+3) and .. getframe(n+x) returns me a black image.
Does getframe work in variable frame rate?