Commit graph

29 commits

Author SHA1 Message Date
HaveAGitGat
90e2b3923a Plugin update 2021-12-11 19:48:53 +00:00
caiusseverus
2d15e9f7dd
Bugfix: missing hyphen
Missing hyphen in preset for mjpeg decoding line 275.
2021-02-23 00:25:52 +00:00
Migz93
1d4a0113ec Migz Plugins Update
1) Update CPU plugin description as it mentions using a GPU which is incorrect.

2) Update CPU & GPU plugins to remove `\n` and `\\n` from the description fields as the description field doesn't seem to use these as new lines and were instead displaying as text.
2021-01-09 16:53:07 +00:00
HaveAGitGat
f0109f2bfe lint fixes 2020-12-19 10:03:49 +01:00
Migz93
b13ae8cc29 Migz Plugins
1. Update various plugins to correctly compare against numbers.
2020-12-15 11:13:47 +00:00
Migz93
864cf41f1d Migz Plugins
1. Made changes to all plugins following lint testing. There are still various warnings/errors but my very limited knowledge of javascript means I just don't understand what the errors mean. Or in some cases I don't understand how to split the variable across several lines to confirm to the line limits.
I did manage to get it from
952 problems (943 errors, 9 warnings)
down to
37 problems (28 errors, 9 warnings)

2. Fix Flawed logic in FFMPEG plugins which would cause remux conditions to never trigger. Was checking if file was HEVC & VP9 which is impossible as they're both codecs.

3. Fixed a bug with CleanTitle where plugin would fail if a stream in the file didn't have a title.

4. Modify CleanSubtitle plugin to not remove sdh subtitles.

5. Include new plugin to just perform remuxes. Mainly aimed at remuxing to mkv or mp4.
2020-12-14 17:33:17 +00:00
HaveAGitGat
7904647075 lint init 2020-12-10 17:43:41 +01:00
Migz93
6ba398eaf4 Migz Plugins
1) Bug fix for CleanTitle where if the title of an audio/substeam didn't exist it would exit that loop but not increment the Id of the track. Was causing the plugin to loop in some cases.

2) Modify both FFMPEG plugins to treat VP9 codec in a similiar way to HEVC. I.e if a file is already in VP9 codec don't transcode it to HEVC as VP9 is already heavily compressed in a similiar way to HEVC. Plugin itself still outputs files as HEVC
2020-10-27 20:27:54 +00:00
Migz93
4ba83c804b Migz Plugin Updates
1) Update to CleanTitle plugin to allow user input custom matching title, allows to remove more then just the default of something with 3 full stops.

2) Update to both FFMPEG plugins to fix a bug where if the force_conform option was enabled and a stream had no codec_name it would cause the plugin to error out.
2020-10-19 19:48:04 +01:00
Migz93
6901d53feb Migz Plugins Update
1) Add input to enable bframes. - ffmpegGPU plugin

2) Add timed_id3 has codec type to remove for mkv/mp4 if force_conform is enabled. - Both ffmpeg plugins

3) max_muxing_queue_size change to 9999 as this number is still too low in some cases.
2020-09-20 03:08:10 +01:00
Migz93
37ceb99cfb Migz Plugin: Formatting Update
Update formatting on ffmpeg plugin - conform section
2020-06-02 18:04:17 +01:00
Migz93
d9cd80c44b Migz Plugins: Update
1) Update both plugins transcode plugins with new "force_conform" option.

2) Add "png" to codec image types to be removed.

3) Update GPU plugin to check for 10Bit files instead of just HDR.
2020-06-02 18:01:20 +01:00
Migz93
0066d4497c Migz Plugins
Set reQueueAfter back to true after explanation from GitGAt
2020-05-25 01:22:09 +01:00
Migz93
029224f862 Migz Plugins
Updated mkv data check from "" to `` for consistency.
2020-05-23 12:25:26 +01:00
Migz93
8f123d18a2 Migz Plugins
Change both ffmpeg plugins reQueueAfter to false. These plugins should not need to be requeued and worked on again.

Move mkv data stream check to after extraArguments var creation so that it works as intended.
2020-05-23 12:19:57 +01:00
HaveAGitGat
9c8ac98728 tidy 2020-05-15 01:26:35 +01:00
Migz93
91a974824c Migz FFMPEG Plugins
1) Set bufsize at a variable level dependant on bitrate. (Thanks winsome)

2) Add variable to enable transcoding files to 10bit if preferred.

3) Added two options to GPU transcode plugin after extensive testing/research with different options.
*-cq:v 19
*-rc-lookahead:v 32

4) Modify bitrate cutoff check to completely skip file if below cutoff, rather then check if it should be remuxed.

5) Tidy up some wording.
2020-04-23 10:41:23 +01:00
HaveAGitGat
908c212e19
Update Tdarr_Plugin_MC93_Migz1FFMPEG.js 2020-04-20 12:46:49 +01:00
Migz93
20fe6461a1 Update: All Migz Plugins
1) Ran all plugins through javascript formatter to make them look nicer/ have correct javascript formatting.

2) Added comments to all plugins.

3) Modified all plugins that have checks for inputs to check for existance of inputs itself.

4) Modify 5ConvertAudio so that you can just put "true" in a single input, rather then having to put false in the opposing one. If only 1 action is wanted.

5) Fix for 3CleanAudio & 4CleanSubs where if language meta was completely missing then plugins would not set it to the specified tag language.

6) Correct 4CleanSubs input title of "tag_title" to "tag_language"
2020-04-19 20:31:35 +01:00
Migz93
37246dd506 Update: MigzPlguin
Update to Migz1FFMPEG plugins to deal with mjpeg streams. Detect and drop from being mapped.
2020-03-25 22:10:28 +00:00
Migz93
f9124c2368 Update: MigzPlugins
Update to both FFMPEG plugins to fix issue with data streams not being dropped for mkv in certain circumstances. Would cause plugin to fail.
2020-03-23 12:40:16 +00:00
Migz93
5735ae6759 Various Updates
1) New plugin that uses CPU to convert to H265.

2) Change to FFMPEG NVidia plugin to specifiy bitrate cutoff.

3) Fix random infolog "2" in CleanTitle

4) Update descriptive audio check in CleanAudio and CleanSubs to look for "sdh"

5) Correct OrderStreams mentioning that "Audio not first" when audio should be second.
2020-03-14 01:00:16 +00:00
HaveAGitGat
607df7fa63 Clear up tags 2020-02-13 01:16:02 +00:00
HaveAGitGat
180a662ba7 Merge branch 'master' of https://github.com/HaveAGitGat/Tdarr_Plugins 2020-02-13 00:20:34 +00:00
HaveAGitGat
8530618402 tags 2020-02-13 00:20:30 +00:00
Migz93
5ac9c85c06 Migz Plugin: Bug Fix
Resolve bug with Migz1FFMPEG where bitrate transcode targets were always displayed, even if the file already meets h265/container and isn't used.
2020-02-09 21:58:05 +00:00
Migz93
c97fdeff98 Migz Plugins: Bug Fixes
1) Fixed bug with Migz1FFMPEG where sometimes duration was not available, get duration from stream 0, if duration still not available then exit plugin.

2) Fixed bug with Migz1FFMPEG where it would fail if using mkv and source has a data stream (mkv does not support data streams).

3) Fixed bug with Migz2CleanTitle where if title info did not exist at all it would fail rather then skip.
2020-02-09 02:31:10 +00:00
Migz93
ae9f51731d Migz Plugin:
Change plugin to work via bitrate related targets instead of filesize related target.
2020-02-09 00:56:44 +00:00
Migz93
7b84114d83 Migz Plugin Additions
1) Transcode plugin using nvidia GPU.

2) Plugin to clean title metadata from video if detected. This only cleans the title, the current plugin cleans all metadata if title is detected.

3) Plugin to clean audio, remove unwanted languages & tag unknown language tracks.

4) Plugin to clean subtitles, remove unwanted languages & tag unknown language tracks.

5) Plugin to convert stereo tracks to AAC and/or create downmix audio tracks.

6) Organise streams into order.
2020-02-07 22:15:09 +00:00