how can I view milliseconds with VLC? (and why is this method not working?)

22

5

Note- This is not a duplicate. This question, as it says in its title, is specific to VLC. The other question is a general question about video playing programs generally. So, not a duplicate

I am trying get milliseconds shown in VLC.

I read that I should download this extension http://addons.videolan.org/content/show.php?content=149618

(there was a download link on that page, not sure if it's quite right, like I don't know if I downloaded some lite version that I shouldn't have but I downloaded this)

http://addons.videolan.org/CONTENT/content-files/149619-time-lite.lua

and put it in "VideoLAN\VLC\lua\extensions" creating the extensions subdirectory if it doesn't exist. I did that.

closed VLC, started it again.

It is listed under the View menu. I notice it doesn't get checked. even when I click it - I don't know if it should. The same is true for the VLSub extension below, it doesn't get checked when clicking it. Maybe that is normal and extensions are already enabled.

But my problem is, it doesn't show miliseconds, which is what i'm after.

VLCnomillisecondsscreenshot

barlop

Posted 2014-02-04T13:04:57.757

Reputation: 18 677

2

Possible duplicate of video player that shows milliseconds. Flagged this question because of this review: https://superuser.com/review/first-posts/670683

– Ramhound – 2017-07-06T22:14:20.060

2AT Ramhoudn And as for the contents of their now deleted post/answer, which you reviewed, It basically says MPC is much better That's subjective and factually wrong. Better at some things, sure. But VLC has always been good at supporting a wide variety of formats, and i've found it open things when MPC can't.. So the idea that MPC is just better full stop in every area leaving no reason to use VLC.. is a)Very subjective by this site's standards, so not considered a fact on this site and b)It's wrong! VLC can be better in some ways, just as MPC can be better in some ways. – barlop – 2017-07-06T23:44:26.233

I can only suggest you email them direct? I'm sorry I can't help, or tell you anything but the obvious :( – Dave – 2014-02-10T09:38:43.270

Answers

5

According to mederi, the author of the Time extension, the var.add_callback( ) and var.del_callback( ) Lua functions are no longer available in VLC 2.1.

Unless VLC is patched to add the removed functions the script will not work as written.

earthsound

Posted 2014-02-04T13:04:57.757

Reputation: 86

3

With VLC, I have found two approaches for determining milliseconds.

Approach 1. Addon: Jump to time (Previous Frame).

  • Install Jump to time Previous Frame via the macOS menu VLC > Addons Manager or the Ubuntu menu Tools > Plugins and extensions > Addons Manager tab > Extensions. In VLC 3, click the "Find more addons online" button. The online install page is here.

  • Restart VLC.

  • Use the menu is under VLC -> Extensions -> Jump to time (Previous frame) to open the dialog below depicted. [Note: older VLC placed the extension under the View menu.] The Jump to time (Previous frame) Get time >> button updates to show HH:MM:SS,mmm. (Note: this is a different dialog then Jump to time in the Playback menu).

enter image description here
enter image description here

Approach 2. Calculate/Estimate . One can estimate milliseconds based the MM:SS that is displayed as follows:

  • Stop slightly more than one second prior to the point of interest.
  • Use the Next frame e hot key to count frames after when the seconds display changes values to the point of interest.
  • Use the Frame rate from the Media Information Window > Codec Details tab to convert to an approximate milliseconds value.
  • frame_count / frame_rate = 0.mmm seconds
    The margin of error will be: 0.5/frame_rate = 0.mmm seconds

l --marc l

Posted 2014-02-04T13:04:57.757

Reputation: 307

1On newer versions of VLC for macOS, the menu is under VLC -> Extensions -> Jump to time (Previous frame) v2.1. – ThomasW – 2019-06-12T06:47:08.903

0

  1. Get the Setup for VLC media player v 2.0.x. It will not work on v2.1.x or v2.2.x. (You are advised to get VLC v2.0.9). After downloading, install the file by following the instructions shown.

  2. Go the VLC media player add-on page and download the time extension. by clicking on this Time Extension

  3. Extract the time extension downloaded, open the Time v2.0 (intf), there are three files:

    Looper_intf.lua
    Time v2.0 (intf).png
    time_ext.lua
    
  4. Go to the location where you installed VLC Media Player (usually C:\Program Files\VideoLAN)

  5. Open the VideoLAN folder, open the VLC folder and then open the Lua folder

  6. In the Lua folder, open the extension folder and paste the time_ext.lua file

  7. Go back to the Lua folder, open the intf folder, paste the looper_intf.lua file

  8. Open VLC Media Player, go to View on the menu bar, and select Time V2.0

  9. Leave the settings the way they are and click on Save. VLC Media Player will request to restart - close and reopen VLC Media Player.

  10. After restarting VLC media player, load a video into the VLC Media Player. Your video should show in the top right hand corner the video time in hr:mm:sec.millisecond format (which represents hours:minutes:seconds.milliseconds)


You can check the complete tutorial here: http://www.latestsolution.com/2016/06/Show-VLC-Timing-In-Millisecond.html

Awojide Oluwamayowa Timothy

Posted 2014-02-04T13:04:57.757

Reputation: 21

The link is no longer valid. – ThomasW – 2019-06-12T07:29:05.723

0

Maybe an alternative solution for some people. Instead of VLC, import the video into avidemux. It shows milliseconds:

enter image description here

and you are able to jump from Keyframe to Keyframe:

enter image description here

mgutt

Posted 2014-02-04T13:04:57.757

Reputation: 433