capture device clock reset

*nix specific usage questions
airmanwrinkle
New Cone
New Cone
Posts: 3
Joined: 26 Jul 2013 17:38

capture device clock reset

Postby airmanwrinkle » 05 Aug 2013 17:59

Is there a way to reset the elapsed time count VLC shows for a capture device, such as a webcam, opened via the menu item Media-->Open Capture Device...? I would like VLC to restart the elapsed time at 0 each time I open a new stream.

Since I first began monitoring a USB webcam this way, I've noticed that the elapsed time does not begin at 0 each time I open the capture device or even each time I start VLC, but instead continues from a preexisting value. That preexisting value is greater each time, running up into the hundreds of hours, much longer than the time I've actually been streaming the captured video feed and much longer than I've had VLC open (unless, that is, a background process remains open even when I think I've completely exited VLC).

I can't say whether the clock will count up forever, into the thousands of hours and beyond, because the most recent time I opened this capture device I found the elapsed time at "just" 16 hours, suggesting that either some event reset the clock or it ran into a display limit and started over at 0 like an automobile odometer. The computer in question isn't restarted very often, and the user in question isn't logged out and back in very often, and those would seem reasonable events to suppose responsible for resetting the clock--but restarting does not reset the clock.

Thanks ahead for any help!

p.s.: This problem is also known in the Windows version of VLC, see viewtopic.php?f=14&t=108243

Rémi Denis-Courmont
Developer
Developer
Posts: 15328
Joined: 07 Jun 2004 16:01
VLC version: master
Operating System: Linux
Contact:

Re: capture device clock reset

Postby Rémi Denis-Courmont » 05 Aug 2013 18:05

In VLC 2.0, the V4L time is the system uptime. In VLC 2.1, it was "corrected" to the time since starting the current capture.
Rémi Denis-Courmont
https://www.remlab.net/
Private messages soliciting support will be systematically discarded

airmanwrinkle
New Cone
New Cone
Posts: 3
Joined: 26 Jul 2013 17:38

Re: capture device clock reset

Postby airmanwrinkle » 05 Aug 2013 20:45

Aha, well I've got version 2.0.8 installed, so I'm delighted to learn I'll no longer have this issue when I upgrade to 2.1.

Very glad someone was aware of how it worked--thanks, Remi!


Return to “VLC media player for Linux and friends Troubleshooting”

Who is online

Users browsing this forum: No registered users and 33 guests