Skip to main content
2 of 2
added 147 characters in body
ruby_object
  • 537
  • 2
  • 15

Org mode link to vlc video with start time in minutes:seconds and possible duration

I am beginning to struggle with organizing my videos. I have screen recordings of conversations with my product owner and would like to have convenient links in my org files that would start the video at the right spot.

At the moment I use min_sec script that converts the position of 02:25 to its value in seconds and passes it to a script that starts the video at the right spot.

#+begin_example vlc ~/Videos/simplescreenrecorder-2023-05-15_14.55.22.mkv --start-time=`min_sec 2 25` # or with stop time vlc ~/Videos/simplescreenrecorder-2023-05-15_14.55.22.mkv --start-time=`min_sec 2 09` --stop-time=`min_sec 5 50` #+end_example 

Is there a way to do it in Emacs?

ruby_object
  • 537
  • 2
  • 15