Skip to content

Commit

Permalink
Allow processing of videos in MKV containers (DeepLabCut#2701)
Browse files Browse the repository at this point in the history
Co-authored-by: Mackenzie Mathis <[email protected]>
  • Loading branch information
ximion and MMathisLab authored Aug 26, 2024
1 parent dd0ef5a commit 2fc50b7
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 2 deletions.
1 change: 1 addition & 0 deletions deeplabcut/gui/dlc_params.py
Original file line number Diff line number Diff line change
Expand Up @@ -13,6 +13,7 @@ class DLCParams:
"",
"avi",
"mp4",
"mkv",
"mov",
]

Expand Down
2 changes: 1 addition & 1 deletion docs/beginner-guides/beginners-guide.md
Original file line number Diff line number Diff line change
Expand Up @@ -120,7 +120,7 @@ When you first launch the GUI, you'll find three primary main options:
- First, click on **`Browse Videos`** button on the right side of the window, to search for the video contents.
- Once the media selection tool opens, navigate and select the folder with your videos.

> **💡 Tip:** DeepLabCut supports **`.mp4`**, **`.avi`**, and **`.mov`** files.
> **💡 Tip:** DeepLabCut supports **`.mp4`**, **`.avi`**, **`.mkv`** and **`.mov`** files.
- A list will be created with all the videos inside this folder.
- Unselect the videos you wish to remove from the project.

Expand Down
2 changes: 1 addition & 1 deletion docs/beginner-guides/video-analysis.md
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ After training and evaluating your model, the next step is to apply it to your v

1. **Navigate to the 'Analyze Videos' Tab:** Begin applying your trained model to video data here.
2. **Select Your Video Format and Files:**
- **Choose Video Format:** Pick the format of your video (`.mp4`, `.avi`, or `.mov`).
- **Choose Video Format:** Pick the format of your video (`.mp4`, `.avi`, `.mkv`, or `.mov`).
- **Select Videos:** Click **`Select Videos`** to find and open your video file.
3. **Start Analysis:** Click **`Analyze`**. The analysis time depends on video length and resolution. Track progress in the terminal or Anaconda prompt.

Expand Down

0 comments on commit 2fc50b7

Please sign in to comment.