Hello, I can't get the duration time of video file.
I use VideoInputFrameGrabber open webcam.
The FFmpegFrameRecorder also call setTimestamp() function.
But FFmpegFrameGrabber.getLengthInTime() can't get duration of video file , which FFmpegFrameRecorder generating.
Could you help me ?
Not all video files come with that information, that's normal. To have
FFmpegFrameRecorder write that information, you'll need to call stop().
Not all video files come with that information, that's normal. To have FFmpegFrameRecorder write that information, you'll need to call stop().
can I use close() for the same purpose?
Thanks, it took effect after I changed my code.