VLC and precise timing information
Posted: 02 Feb 2011 20:02
Hello,
Not sure if this is the right section for this post but here goes.
I need to synchronize an external hardware device to the vlc media player's playback of a video via the parallel port. That is, I need to send out precise timing information about the time of playback (or say, number of frames shown) to the parallel port. I have thought of several ways to do this; for example, keeping track of number of frames shown in conjunction with the frame rate etc.
My questions are:
1) How often does the playback timer get incremented, where is this incrementation display in the source code, and how accurate is this timer?
2) Is there a data structure in the source code which already keeps track of the precise playback time elapsed that I could access and simply send out to the parallel port?
Thanks in advance,
JPD
Not sure if this is the right section for this post but here goes.
I need to synchronize an external hardware device to the vlc media player's playback of a video via the parallel port. That is, I need to send out precise timing information about the time of playback (or say, number of frames shown) to the parallel port. I have thought of several ways to do this; for example, keeping track of number of frames shown in conjunction with the frame rate etc.
My questions are:
1) How often does the playback timer get incremented, where is this incrementation display in the source code, and how accurate is this timer?
2) Is there a data structure in the source code which already keeps track of the precise playback time elapsed that I could access and simply send out to the parallel port?
Thanks in advance,
JPD