libVLC does not show all frames
Posted: 21 Sep 2020 13:38
I am using libVLC within an JavaFX application. I am controlling the video milliseconds-wise, i.e. jumping from millisecond to millisecond.
With ffmpeg I read the PTS times and according to this a frame should by presented for example at 100ms. But this and other frames are skipped (approx. every second frame). When I extract all frame with OpenCV, all frames are extracted.
Could someony explain this behaviour? Is there an easy solution to this? But more importand for me would be an explanation why this occurs.
Thanks!
With ffmpeg I read the PTS times and according to this a frame should by presented for example at 100ms. But this and other frames are skipped (approx. every second frame). When I extract all frame with OpenCV, all frames are extracted.
Could someony explain this behaviour? Is there an easy solution to this? But more importand for me would be an explanation why this occurs.
Thanks!