Giter Club home page Giter Club logo

linux_bulk_mkv_extract's Introduction

Linux Bulk MKV Extract

A bulk MKV extract utility for Linux using Python and GTK+

Purpose:

I wanted to re-make my original mkv_extractor python application to have a proper GUI. I couldn't find a good mkvextract frontend for Linux, so I decided to make my own. This currently exports all tracks (audio, video, subtitles) as well as chapters and attachments. I have never used mkv [tags, CUE sheets, timestamps, cues], so I'm not going to bother with them here.

Functionality:

  • Point it at a folder and it will display for every .mkv file in that folder the following:
    • file name
    • video tracks
    • audio tracks
    • subtitle tracks
    • chapters
    • attachments
  • Next, choose the output type:
    • Execute Commands: Runs the commands on all mkv files
    • Output Commands: Gives you the command lines to run in a terminal.
  • Next, choose what to extract:
    • Everything
    • Tracks (Video + Audio + Subtitles)
    • Video
    • Audio
    • Subtitles
    • Chapters
    • Attachments
  • Next, click the Process Files button.
  • HINT: I recommend my own Linux File Rename Utility for bulk renaming of files in Linux!

Author:

BSFEMA

Started:

2023-05-15

Screenshot:

screenshot

Prerequisites:

You need to have MKVToolNix installed: https://mkvtoolnix.download/downloads.html Try running "mkvmerge --version" in terminal. If that works, then you are good to go, otherwise install MKVToolNix

Command Line Parameters:

There is just 1. It is the folder path that will be used to start looking at the *.mkv files from. If this value isn't provided, then the starting path will be where this application file is located. The intention is that you can call this application from a context menu from a file browser (e.g. Nemo) and it would automatically load up that folder.

Nemo Action:

You can create a nemo action file so that you can right-click in a folder and launch the linux_bulk_mkv_extract.py application from there.

Example (filename = "linux_bulk_mkv_extract.nemo_action")

[Nemo Action]
Name=Linux Bulk MKV Extract
Quote=double
Exec=python3 "[PATH_TO]/linux_bulk_mkv_extract.py" %F
Selection=any
Extensions=any
Icon-Name=python3

Save the "linux_bulk_mkv_extract.nemo_action" file to "~/.local/share/nemo/actions".

Context menus might be possible for other file managers, but that will be up to you to figure out ;)

Resources:

https://mkvtoolnix.download/doc/mkvextract.html

linux_bulk_mkv_extract's People

Contributors

bsfema avatar

Watchers

 avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.