-
-
Notifications
You must be signed in to change notification settings - Fork 312
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Use knowit to parse video metadata (frame_rate, duration, subtitles..…
….) (#1154) * use knowit to parse video metadata * add doc about knowit installation
- Loading branch information
Showing
9 changed files
with
345 additions
and
93 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,8 @@ | ||
Use `knowit` to extract information from video file, instead of `enzyme`: | ||
frame rate, duration and subtitles. | ||
`knowit` relies on external programs (`mediainfo`, `ffmpeg`, `mkvmerge`) | ||
and falls back to using `enzyme` if none is installed. | ||
On Windows and MacOS, `libmediainfo` is installed automatically | ||
via the `pymediainfo` python package dependency. | ||
On Linux, the `libmediainfo` or `mediainfo` package needs to be installed | ||
with the package manager of your distribution. |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,30 @@ | ||
Installation | ||
============ | ||
|
||
From Pypi | ||
--------- | ||
|
||
For a better isolation with your system you should use a dedicated virtualenv. | ||
The preferred installation method is to use `pipx <https://github.com/pypa/pipx>`_ that does that for you:: | ||
|
||
$ pipx install subliminal | ||
|
||
Subliminal can be also be installed as a regular python module by running:: | ||
|
||
$ pip install --user subliminal | ||
|
||
From source | ||
----------- | ||
|
||
If you want to modify the code, `fork <https://github.com/Diaoul/subliminal/fork>`_ this repo, | ||
clone your fork locally and install a development version:: | ||
|
||
$ git clone https://github.com/<my-username>/subliminal | ||
$ cd subliminal | ||
$ pip install --user -e '.[dev,test,docs]' | ||
|
||
External dependencies | ||
--------------------- | ||
|
||
To extract information about the video files, `subliminal` uses `knowit <https://github.com/ratoaq2/knowit`. | ||
For better results, make sure one of its provider is installed, for instance `MediaInfo <https://mediaarea.net/en/MediaInfo>`. |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.