Vlcj - How to get the timestamp using Java?
Posted: 29 Mar 2017 11:05
Hi everyone,
Sorry for bothering you but I have a question about vlcj I don't know if I'm in the right place (so sorry if I'm wrong) . I'm a student that for this school project, I need to know how to catch the timestamp of the video that I'm currently playing on my MediaPlayer and add this information to a database.
At the moment I'm using the getTime() method:
The "start" is the column's name (integer type) of my database where this information is stored. It's ok achieve the current play-back time like this but if I can catch the timestamp like a camcorder (where you know when the video was recorded) that would be a big help for what my program is going to be used in the future.
I searched online and the API of the vlcj but I can't find informations. Can you help me?
Thanks in advance for any possible answer and have a nice day.
Sorry for bothering you but I have a question about vlcj I don't know if I'm in the right place (so sorry if I'm wrong) . I'm a student that for this school project, I need to know how to catch the timestamp of the video that I'm currently playing on my MediaPlayer and add this information to a database.
At the moment I'm using the getTime() method:
Code: Select all
start = (int)mediaPlayerComponent.getMediaPlayer().getTime();
I searched online and the API of the vlcj but I can't find informations. Can you help me?
Thanks in advance for any possible answer and have a nice day.