How to add a millisecond timestamp to the text overlay?

For questions and discussion that is NOT (I repeat NOT) specific to a certain Operating System.
gerlos
New Cone
New Cone
Posts: 3
Joined: 24 Jun 2009 01:25
Operating System: Linux
Contact:

How to add a millisecond timestamp to the text overlay?

Postby gerlos » 24 Jun 2009 01:40

Hello everyone,
We are using a webcam on a telescope to get the timing of some astronomical phenomena.

I've seen that I can use something like:

Code: Select all

vlc v4l2:///dev/video0:width=640:height=480:fps=5 --sub-filter 'marq{marquee="%F %T",position=8}'
to add an overlay to each frame with the current date and time.

For our measurements, we need that the time is recorded on each frame, and we need a timestamp more precise than one second. We need tenths of seconds.

I've seen that this thing is possible in Linux with the date command (using the %N specifier I can get nanoseconds), but not with the stfrtime function.

Does anybody know how could we add a sub-second precision timestamp to our movies?

thanks in advance
gerlos

Return to “General VLC media player Troubleshooting”

Who is online

Users browsing this forum: No registered users and 26 guests