Viewing milliseconds in VLC media player

vlc media player astronaut glitch video

Learn how to view milliseconds or frames in VLC media player using a simple time extension.

VLC media player

VLC is a free and open source cross-platform multimedia player and framework that plays most multimedia files as well as DVDs, Audio CDs, VCDs, and various streaming protocols.

VLC: Official site – Free multimedia solutions for all OS! – VideoLAN

Time extension

Download the extension from here and unzip it somewhere.

Inside the zip file is a extensions folder and a intf folder.

From the extensions folder, copy the ‘time_ext.lua’ file.

Navigate to where VLC media player is installed on your machine.

On Windows, that might be here:

C:\Program Files\VideoLAN\VLC\lua

Paste the ‘time_ext.lua’ file into this folder:

C:\Program Files\VideoLAN\VLC\lua\extensions

Next copy the ‘time_intf.lua’ file from the unzipped intf folder, and paste it into this folder:

C:\Program Files\VideoLAN\VLC\lua\intf

Open VLC

Open VLC media player. Go to view –> Time 3.2 (intf).

vlc media player view time extension

You should see this screen:

vlc media player save extension

Click save to enable the extension. You will then be prompted to restart VLC media player.

vlc media player save extension restart

Restart VLC media player by closing it and reopening it.

Control panel

Now open a video in VLC media player.

Go to view –> Time 3.2 (intf).

This time you should see this control panel:

vlc media player time control panel

If you click on HELP you can see the supported tags and what they do.

time control panel help

By default it shows the elapsed time in milliseconds, followed by the duration, and the current system time.

vlc media player astronaut glitch video
VLC media player astronaut glitch video

Change tag/s

You can change tags using the drop down. Afterwards you need to click >> USE pattern, then START!

Usage

Now you can see the number of elapsed milliseconds or frames using the horizontal slider. This is useful for finding the exact start and end time you need to make a shorter video, from a longer video.

You could then use your start and end time in something like ffmpeg to create a new video.

For example if I like how my video looks at 3,337 to 9,739 milliseconds. I could then convert and round the numbers to seconds like so:

ffmpeg -ss 3.3 -to 9.7 -i input.mp4 output.mp4

This will create a new video using 3.3 seconds as the start time and 9.7 seconds as the end time.

For more video editing tutorials using ffmpeg, check out:

Conclusion

Thank you for reading this tutorial. Let me know in the comments section if you enjoyed it, or have any questions!

Leave a comment

Blog at WordPress.com.