how to get/set frame position in vlcj?
How to - 1.get the current frame position of an audio/video track ?? 2.how to go to a specific frame position of a track ?? using vlcj sdk . any code snippets would be highly appreciated ! Actually you can do this with a little math. It's not the cleanest way but it is kind of easy to understand. VLCj allows you to get the length of your media using .getLength() . However, note that this returns the length of the media in milliseconds. Moreover, you can get the frames/second of your media using .getFPS() . So now you can get the total number of frames as: total_frames = .getFPS * .getLength()