grabbing timecode or getTime question
Posted: 05 Feb 2015 22:45
Hi all, Im new to the forum.
I am trying to see if it is possible to embed timecode in a video to be retrieved as the video plays.
I saw the vlcj.player.MediaPlayer.getTime() function which returns the video play time in millis
My goal is to get any type of time data from a video so that I can use it to synch up a separate data to it. The sequence in the data file would run the exact length as the video so all I would need to do is to slow keep it flowing by matching timemarkers to the time retrieved from the video.
Im working in java. Is it possible to take the simple example#2 in vlcj and add this functionality?
Would that data be accurate in the case of a streaming video that maybe stalls temporarily due to bad network speeds?
I have been struggling just to understand the libraries and barely got it working playing a simple video. Even knowing how to pull time data from the video into a variable would be a great start. I am hoping to be able to retrieve data in 1/2 second increments or better.... a frame count could probably work just as well for me.
Any help is greatly appreciated...
I am trying to see if it is possible to embed timecode in a video to be retrieved as the video plays.
I saw the vlcj.player.MediaPlayer.getTime() function which returns the video play time in millis
My goal is to get any type of time data from a video so that I can use it to synch up a separate data to it. The sequence in the data file would run the exact length as the video so all I would need to do is to slow keep it flowing by matching timemarkers to the time retrieved from the video.
Im working in java. Is it possible to take the simple example#2 in vlcj and add this functionality?
Would that data be accurate in the case of a streaming video that maybe stalls temporarily due to bad network speeds?
I have been struggling just to understand the libraries and barely got it working playing a simple video. Even knowing how to pull time data from the video into a variable would be a great start. I am hoping to be able to retrieve data in 1/2 second increments or better.... a frame count could probably work just as well for me.
Any help is greatly appreciated...