how to get frames from recorded video
i want to get frames and convert to image for processing
please help
how to get frames from recorded video
i want to get frames and convert to image for processing
please help
If you are recording something live, say a barcode reading app; you may use getSnapshot from the Camera for capturing frames.
If its a precorded video, then you need to read the video file and decode its data based on its codec to find image data for each frame.
thanks,
~Amitabh
I am looking to extract frames from a pre-recorded video. Could you please elaborate on how to read the video file (its in mp4).
Thanks
Another way, try to get the VideoControl from your player and then use getSnapshot("encoding=jpeg") and you will get the required frame (tested on N95).
thanks,
~Amitabh
I think there are two threads in which we are discussing the same method. But Amitabh I am unable to make it work. Could you please provide the sample code?