forked from Unmanic/unmanic-plugins
-
Notifications
You must be signed in to change notification settings - Fork 2
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
b142d89
commit 8067739
Showing
12 changed files
with
1,067 additions
and
0 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,4 @@ | ||
**/__pycache__ | ||
*.py[cod] | ||
**/site-packages | ||
settings.json |
Large diffs are not rendered by default.
Oops, something went wrong.
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,9 @@ | ||
# ASAD Audio Encoder | ||
Plugin for [Unmanic](https://github.com/Unmanic) | ||
|
||
--- | ||
|
||
### Information: | ||
|
||
- [Description](description.md) | ||
- [Changelog](changelog.md) |
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,3 @@ | ||
|
||
**<span style="color:#56adda">0.0.1</span>** | ||
- initial version |
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,41 @@ | ||
|
||
--- | ||
|
||
##### Links: | ||
|
||
- [Support](https://unmanic.app/discord) | ||
|
||
--- | ||
|
||
##### Description: | ||
|
||
This plugin is for use on Audio files - not video files. | ||
|
||
It will transcode all audio streams in the file to the encoder specified in the plugin configuration. | ||
|
||
If any stream has greater than 6 channels, it will be encoded to have only 6 channels - this is a current limitation of ffmpeg. | ||
|
||
This Plugin will set the bit rate for each stream based on the channel rate specified and number of channels in the stream OR optionally it will use the bit rate of the original stream | ||
|
||
As a rule of thumb, for audible transparency, use 64 kBit/s for each channel (so 128 kBit/s for stereo, 384 kBit/s for 5.1 surround sound). | ||
|
||
This Plugin will detect the number of channels in each stream and apply a bitrate in accordance with this rule. | ||
|
||
--- | ||
|
||
##### Documentation: | ||
|
||
For information on the available encoder settings: | ||
- [High Quality Lossy Audio Encoding](https://trac.ffmpeg.org/wiki/Encode/HighQualityAudio) | ||
|
||
--- | ||
|
||
### Config description: | ||
|
||
#### <span style="color:blue">Select Encoder</span> | ||
|
||
- Select the desired encoder: libmp3lame, libfdk_aac, flac, alac, libopus, vorbis. | ||
- Select the desired channel rate: 64k, 128k 192k, 384k or "keep each stream's existing rate". | ||
- Select the customize box if you wish to add custom audio encoder options or specifiy a custom file suffix. | ||
- Text Areas for custom audio options and custom suffix will appear if check box is checked otherwise these fields are hidden. | ||
|
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
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,19 @@ | ||
{ | ||
"author": "yajrendrag", | ||
"compatibility": [ | ||
2 | ||
], | ||
"description": "Encode all audio streams in an audio file based on the configured encoder and options", | ||
"icon": "https://raw.githubusercontent.com/Unmanic/plugin.encoder_audio_aac/master/icon.png", | ||
"id": "asad_audio_encoder", | ||
"name": "ASAD Audio Encoder", | ||
"platform": [ | ||
"all" | ||
], | ||
"priorities": { | ||
"on_library_management_file_test": 99, | ||
"on_worker_process": 0 | ||
}, | ||
"tags": "audio,encoder,ffmpeg,library file test", | ||
"version": "0.0.1" | ||
} |
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,23 @@ | ||
#!/usr/bin/env python3 | ||
# -*- coding: utf-8 -*- | ||
|
||
""" | ||
plugins.__init__.py | ||
Written by: Josh.5 <[email protected]> | ||
Date: 23 Aug 2021, (20:38 PM) | ||
Copyright: | ||
Copyright (C) 2021 Josh Sunnex | ||
This program is free software: you can redistribute it and/or modify it under the terms of the GNU General | ||
Public License as published by the Free Software Foundation, version 3. | ||
This program is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the | ||
implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License | ||
for more details. | ||
You should have received a copy of the GNU General Public License along with this program. | ||
If not, see <https://www.gnu.org/licenses/>. | ||
""" |
Oops, something went wrong.