Answers.Body: <p>As an initial approach, <strong>gnome-subtitles</strong> seems to be an interesting option.</p>
  
  <pre><code>sudo apt-get install gnome-subtitles
  </code></pre>
  
  <p>One can marking the beginning and end of each clip as one dialog entry in the subtitle file, which can be saved as srt and later transformed to be used with ffmpeg.</p>
  
Answers.ContentLicense: CC BY-SA 4.0
Answers.CreationDate: 2020-02-25T21:50:15.143Z
Answers.LastActivityDate: 2020-02-25T21:50:15.143Z
Answers.UserDisplayName: Jose Gómez
Body: <p>I very often get videos from which I need to extract about 1 to 5 clips.</p>
  
  <p>Currently I watch those videos in VLC and take note of the start/end times that each of the clips span. I feed that into ffmpeg, which I use to extract the clips to separate video files.</p>
  
  <p>Whereas this works fine, it's kind of tedious to be playing the video and stopping, taking note of the start time, continuing, taking note of the end time, and so on.</p>
  
  <p>I would like to find some tool where I can watch the video and when there is a span of interest, just move to the right frame, press a key and have the start/end time automatically saved for me. I don't mind about the specific output; I can process it later with a script before feeding the start/end times to ffmpeg.</p>
  
  <p>I know with VirtualDub, Avidemux, etc., you can extract the video directly (clip by clip), but what I want to extract is the times of these interesting clips and do the actual extraction all at once with ffmpeg.</p>
  
  <p>Is there any tool, if possible for Linux, that I could use to easily extract these times? Maybe any functionality or plugin for VLC or other player? Or any tool normally used for creating subtitles or some other synchronisation task?</p>
  
Tags: <linux><clipping><video-player>
Title: How to easily extract start/end times of several clips within a video?
UserDisplayName: Jose Gómez
ThreadText: # How to easily extract start/end times of several clips within a video?
  
  (Asked by: username_0 on 2020-02-25)
  
  I very often get videos from which I need to extract about 1 to 5 clips.
  
  Currently I watch those videos in VLC and take note of the start/end times that each of the clips span. I feed that into ffmpeg, which I use to extract the clips to separate video files.
  
  Whereas this works fine, it's kind of tedious to be playing the video and stopping, taking note of the start time, continuing, taking note of the end time, and so on.
  
  I would like to find some tool where I can watch the video and when there is a span of interest, just move to the right frame, press a key and have the start/end time automatically saved for me. I don't mind about the specific output; I can process it later with a script before feeding the start/end times to ffmpeg.
  
  I know with VirtualDub, Avidemux, etc., you can extract the video directly (clip by clip), but what I want to extract is the times of these interesting clips and do the actual extraction all at once with ffmpeg.
  
  Is there any tool, if possible for Linux, that I could use to easily extract these times? Maybe any functionality or plugin for VLC or other player? Or any tool normally used for creating subtitles or some other synchronisation task?
  
  **Tags:** linux, clipping, video-player
  
  
  ---
  
  ## 1 answers
  
  ### Answer by username_0 on 2020-02-25. Score: 0
  
  As an initial approach, **gnome-subtitles** seems to be an interesting option.
  
  ```
  sudo apt-get install gnome-subtitles
  
  ```
  
  One can marking the beginning and end of each clip as one dialog entry in the subtitle file, which can be saved as srt and later transformed to be used with ffmpeg.
  
  
  ---
  
  